mcp-auth-fixture
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@mcp-auth-fixturetest dynamic auth with API key"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
MCP Auth Fixture
Minimal mock MCP server for testing auth (dynamic API key + username/password). Deployable on Vercel.
Endpoints
Method | Path | Purpose |
|
| Liveness + current mode |
|
| Recent request audit trail |
|
| Read / set failure mode |
|
| Clear events |
|
| MCP JSON-RPC |
Modes
success— auth ok, tool returns payloadbusiness_403— ordinary business 403structured_invalid_403— structured invalid credential 403
Expected credentials (defaults)
Dynamic header:
X-E2E-Key: local-e2e-secretUsername / password:
local-user/local-password
Override via env: EXPECTED_DYNAMIC_KEY, EXPECTED_USERNAME, EXPECTED_PASSWORD.
Related MCP server: openapi-to-mcp
Deploy to Vercel
Import this repo in Vercel.
Framework: Other / no build command.
Optional: set the three env vars above.
MCP URL after deploy:
https://<your-deployment>.vercel.app/mcpLocal
node server.mjs
# -> http://127.0.0.1:8788/mcp
# Or
npx vercel devSmoke
curl -s "$BASE/health"
curl -s -X POST "$BASE/mcp" -H 'content-type: application/json' \
-d '{"jsonrpc":"2.0","id":1,"method":"initialize","params":{"protocolVersion":"2025-03-26"}}'
curl -s -X POST "$BASE/mcp" -H 'content-type: application/json' -H 'X-E2E-Key: local-e2e-secret' \
-d '{"jsonrpc":"2.0","id":2,"method":"tools/call","params":{"name":"check_dynamic_auth","arguments":{"message":"hi"}}}'Notes
mode/eventslive in process memory and reset on cold start. Fine for fixtures; not durable multi-instance audit.
This server cannot be deployed
Maintenance
Related MCP Connectors
Cloudflare Workers MCP server: api-mock-server
Minimal streamable HTTP MCP server used for owned-account registry connectivity tests.
AI-native mock API server with MCP. Create REST/SOAP mocks from Claude, Cursor, or Windsurf.
Related MCP Servers
- FlicenseNot gradedqualityDmaintenanceA minimal, containerized MCP server that exposes a Streamable HTTP transport with API key authentication, allowing secure access to MCP endpoints.-
- AlicenseNot gradedqualityDmaintenanceA minimal MCP server that auto-generates tools from your OpenAPI spec, optimized for Vercel.19 npm8MIT
- AlicenseNot gradedqualityDmaintenanceA lightweight MCP server that simulates financial data interactions with dummy authentication and static JSON datasets for testing financial applications.2MIT
- AlicenseNot gradedqualityFmaintenanceNext.js-based MCP server with OAuth 2.1 authentication, deployable on Vercel, supporting SSE and Streamable HTTP transports for various clients.10 npm88MIT