Lean setup for Cursor, Claude Code, VS Code, or any streamable-http MCP client.
https://agentstack.tech/mcp
{
"mcpServers": {
"agentstack": {
"type": "streamable-http",
"url": "https://agentstack.tech/mcp",
"headers": {
"Content-Type": "application/json"
}
}
}
}- Cursor: use plugin Connect (OAuth) or
/agentstack-authorize(Device Code) — do not ship a staticAuthorizationin the plugin bundle. - API key: add
"X-API-Key": "ask_..."toheaderswhen not using OAuth.
curl -s https://agentstack.tech/mcp/health | jq .
curl -s https://agentstack.tech/mcp/actions/summary | jq .Optional authenticated probe (from monorepo):
node provided_plugins/cursor-plugin/scripts/verify-mcp-surface-e2e.mjsList tools (JSON-RPC):
curl -s -X POST https://agentstack.tech/mcp \
-H "Content-Type: application/json" \
-H "X-API-Key: YOUR_KEY" \
-d '{"jsonrpc":"2.0","method":"tools/list","params":{},"id":1}'Execute one step:
curl -s -X POST https://agentstack.tech/mcp \
-H "Content-Type: application/json" \
-H "X-API-Key: YOUR_KEY" \
-d '{
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"name": "agentstack.execute",
"arguments": {
"steps": [{ "id": "1", "action": "discovery.list", "params": {} }]
}
},
"id": 2
}'curl -s -X POST https://agentstack.tech/mcp/tools/projects.create_project_anonymous \
-H "Content-Type: application/json" \
-d '{"params": {"name": "My AI Project"}}'Save user_api_key from the response for subsequent calls. Configure your client headers once — see plugins/MCP_SETUP_QUICKSTART.md §6.
- Full API: api/mcp.md
- Client matrix: plugins/MCP_CLIENT_COMPATIBILITY_MATRIX.md
- Overview: MCP_OVERVIEW.md