This repo provides a minimal MCP-over-HTTP JSON-RPC server that works with SnapTask Relay.
SnapTask Relay tests connectivity using MCP-standard calls:
initializetools/list
And it runs task actions via:
tools/callwith tool names likelist_tasks,create_task,update_task,complete_task.
This server exposes those via:
- POST
/mcp(JSON-RPC)
- If
MCP_API_KEYis set, then/mcprequires header:x-api-key: <MCP_API_KEY>
- If
MCP_API_KEYis empty,/mcpis open.
Important: only /mcp is protected. The / route is just health info.
npm install
cp .env.example .env
npm run dev