How to Use the Beeceptor MCP in Claude Code
Connect Claude Code to your API mocks to automate testing, inspect webhooks, and manage proxy rules from the terminal.
Works with every AI agent you already use
…and any MCP-compatible client
Connect Beeceptor MCP to Claude Code
Create your Vinkius account to connect Beeceptor to Claude Code and route execution through our secure gateway. The platform manages server hosting, runtime updates, and security layers. Configuration requires no manual server provisioning.
Script API Infrastructure from the CLI
The Beeceptor MCP Server turns Claude Code into a headless API manager. You can trigger a shell script that tells Claude to scaffold a complete test environment using `create_rule` and `reorder_rules`. SREs use this to automate staging environments. Claude runs in your CI pipeline, pulls the latest OpenAPI spec, and executes `upload_spec` to ensure your mock endpoints perfectly match production.
Inspect Webhooks in the Terminal
Claude Code reads your intercepted network traffic straight from the command line. When a third-party webhook fails, you ask Claude to pull the payload using `get_request` and pipe the output to your logs. You never have to open a browser to clear out junk data. Claude maintains a clean testing environment by running `delete_requests` or targeting specific logs with `delete_request` between test runs.
Manage mTLS and State with the Beeceptor MCP Server
Backend developers can provision secure endpoints entirely through the terminal. Claude Code reads local pem files and pushes them to your proxy using `add_certificate` or removes expired ones with `delete_certificate`. Testing stateful workflows happens directly in your terminal session. Claude verifies session variables by calling `list_state` and modifies them with `upsert_state` to simulate complex user journeys.
Set up Beeceptor MCP in Claude Code
Prerequisites
- Claude Code CLI installed (
npm install -g @anthropic-ai/claude-code) - Active Vinkius subscription with a valid endpoint token
- 1
Run the add command
Open your terminal and run the command shown on the right. Replace
[YOUR_TOKEN_HERE]with your endpoint token from cloud.vinkius.com. Use--scope userto make it available across all projects. - 2
Verify the connection
Start a Claude Code session and type
/mcpto list connected servers. You should seebeeceptor-mcpwith a green status indicator. - 3
Start using tools
Ask Claude Code something like "Check my latest Beeceptor transactions." It will automatically discover and invoke the available Beeceptor tools.
claude mcp add --transport http beeceptor-mcp https://edge.vinkius.com/[YOUR_TOKEN_HERE]/mcp Why Choose Vinkius
Vinkius connects your tools to AI with real-time monitoring and automatic cost savings — all from one dashboard.
Real-time monitoring
Live
visibility into every interaction
Connect your favorite tools to your AI and see exactly what's happening — every request, every response, in real time.
Built-in savings
60%
lower AI costs
Vinkius compresses data between your apps and your AI automatically. Lower bills every month — no configuration required.
Single dashboard
One
place for every integration
Every tool your AI connects to, managed from a single screen. One account, complete control.
Common questions about Beeceptor MCP in Claude Code
Use it with your favorite AI tools
Connect this server to Cursor, Claude, VS Code, and more.
Start using the Beeceptor MCP today
We host it, we monitor it, we maintain it. You just paste one token.