MockJet MCP Server: Mock APIs from Your AI Assistant
MockJet runs a remote MCP server — connect any AI assistant with one URL, describe the mock APIs you need, and they appear live in seconds. Works with Claude Code, Claude, Codex, Cursor, VS Code, and any MCP client.
Connect MockJet's MCP Server in Under a Minute
Works with any AI app that supports remote MCP servers. One URL, then sign in to MockJet and click Allow.
https://mockjet.io/mcp
Add MockJet to your AI app
Paste the link above into your AI app, or run one command.
Sign in and allow
Log in to MockJet in your browser and click Allow. No API keys needed.
Ask for what you need
For example, "Create a GET /users endpoint". Your AI builds it in MockJet.
Add MockJet to Claude Code
- Run this in your terminal:
claude mcp add --transport http mockjet https://mockjet.io/mcp
- Start
claude, run/mcp, pick mockjet and choose Authenticate. - Sign in to MockJet in the browser window that opens and click Allow.
Add MockJet to Claude desktop or web
- Open Settings → Connectors and click Add custom connector. Name it MockJet and paste the URL:
https://mockjet.io/mcp
- Click Connect, sign in to MockJet and click Allow.
- Make sure MockJet is switched on in the tools menu of your chat. On Team or Enterprise plans an owner may need to add the connector first.
Add MockJet to Codex
- Add the server:
codex mcp add mockjet --url https://mockjet.io/mcp
- Sign in, then click Allow in the browser window that opens:
codex mcp login mockjet
- Using the Codex IDE extension? Open the gear menu → MCP servers → Streamable HTTP, paste the URL, save, then choose Authenticate.
Add MockJet to Cursor
- Open Settings → MCP and add a new server, or put this in
~/.cursor/mcp.json:{ "mcpServers": { "mockjet": { "url": "https://mockjet.io/mcp" } } } - Click Connect (or Needs login) next to MockJet, sign in and click Allow.
Add MockJet to VS Code
- Run MCP: Add Server from the Command Palette and choose HTTP, or put this in
.vscode/mcp.json:{ "servers": { "mockjet": { "type": "http", "url": "https://mockjet.io/mcp" } } } - Start the server, sign in to MockJet when prompted and click Allow.
Add MockJet to any MCP client
- Add a Streamable HTTP (remote) MCP server with this URL:
https://mockjet.io/mcp
- The client discovers MockJet's OAuth sign-in automatically. Log in and click Allow. No keys or headers needed.
What Your AI Can Do with MockJet MCP
The MockJet MCP server gives your AI app the same building blocks as the dashboard, scoped to the projects you can access.
Projects
list_projects and create_project: find the project to work in, or start a new one with its own mock base URL.
Endpoints
list_endpoints, get_endpoint, create_endpoint and update_endpoint: any method, path parameters like /users/:id, and fixed, random, or sequential response modes.
Responses & conditions
add_response, update_response and activate_response: status codes, headers, delays, timeouts, template variables, and rules that match on body, headers, or query params.
Request logs
get_request_logs: your assistant reads what your app actually sent and which response it got, so it can debug the integration with you.
Secure by default
OAuth sign-in with no API keys to leak. The app acts only on projects you can access, and every tool call is rate limited and recorded.
Disconnect anytime
See every AI app connected to your account on the Connect AI page, when it was last active, and revoke its access in one click.
Things you can ask
Once MockJet is connected, try asking your AI app one of these.
- CreateCreate a mock login API with sign-in, token and user profile endpoints, including error cases
- Test dataMock GET /orders with a list of 20 realistic orders, and a 500 error when ?fail=true
- Error casesAdd a "too many requests" (429) response with a Retry-After header to POST /payments
- Fix issuesShow me the last 10 requests my app sent to /login and why they got a 401
MockJet MCP Server — Frequently Asked Questions
claude mcp add --transport http mockjet https://mockjet.io/mcp in your terminal. Then start claude, run /mcp, pick mockjet and choose Authenticate. A browser opens — sign in to MockJet and click Allow. The tools are ready immediately.Let your assistant build the mocks.
Free to start. One URL, no API keys.