mcp-auth-fixture
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
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.
Related MCP Connectors
Cloudflare Workers MCP server: api-mock-server
Minimal streamable HTTP MCP server used for owned-account registry connectivity tests.
A public MCP honeypot: a fake ops console with fake secrets. Every call is shown on decoy.day.
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 gradedqualityCmaintenanceA minimal MCP server that auto-generates tools from your OpenAPI spec, optimized for Vercel.10 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