MCP setup API
The MCP server URLs, tool list and SDK install lines for your org.
Base URL https://api.ndstill.com/v2. Send Authorization: Bearer with a key, Ndstill-Version: 2026-11-01, and an Idempotency-Key on every POST. Conventions, scopes and errors are in the API overview and Errors and decline reasons. Examples come from the mock backend; the shapes are the TypeScript types in packages/api.
Get MCP and SDK setup#
/v2/developers/mcpThe MCP server URLs, OAuth metadata, tool list and SDK install lines for your org.
- object"mcp_setup"
- mcp_urlstring
Remote MCP server (Streamable HTTP, OAuth 2.1 with PKCE).
- mcp_test_urlstring
Same server for test keys (simulations only; no money moves).
- oauth_metadata_urlstring
OAuth discovery document.
- api_base_urlstring
- local_packagestring
The local stdio package, for clients without remote MCP.
- docs_urlstring
- toolsMcpTool[]
McpTool: 4 fields
- namestring
- groupstring enum
"Payments""Control""Credentials and receipts""Pricing""Admin" - descriptionstring
- people_onlyboolean
Only for people's own clients (human-scoped tokens), never agents.
- sdksobject[]
4 fields
- languagestring enum
"typescript""python""go" - packagestring
- installstring
- versionstring
- pluginsobject[]
3 fields
- namestring
- descriptionstring
- hrefstring
- 401authentication
The key or token is missing, expired or revoked.
- 403permission
The key's scopes or the person's role don't allow this.
- 429rate_limited
Slow down; retry after the Retry-After header.
curl -X GET "https://api.ndstill.com/v2/developers/mcp" \
-H "Authorization: Bearer $NDSTILL_API_KEY" \
-H "Ndstill-Version: 2026-11-01"{
"object": "mcp_setup",
"mcp_url": "https://mcp.ndstill.com/mcp",
"mcp_test_url": "https://mcp.ndstill.com/mcp?mode=test",
"oauth_metadata_url": "https://mcp.ndstill.com/.well-known/oauth-authorization-server",
"api_base_url": "https://api.ndstill.com/v2",
"local_package": "@ndstill/mcp",
"docs_url": "https://docs.ndstill.com",
"tools": [
{
"name": "pay",
"group": "Payments",
"description": "Pay a counterparty within the agent's policy and allowance. Returns approved, held (with an approval ID) or declined with reasons.",
"people_only": false
},
{
"name": "simulate_payment",
"group": "Payments",
"description": "Dry-run a payment through the pipeline. No money moves.",
"people_only": false
},
{
"name": "get_payment",
"group": "Payments",
"description": "One payment with its status and trace.",
"people_only": false
}
],
"sdks": [
{
"language": "typescript",
"package": "@ndstill/sdk",
"install": "npm install @ndstill/sdk",
"version": "2.4.1"
},
{
"language": "python",
"package": "ndstill",
"install": "pip install ndstill",
"version": "2.3.0"
},
{
"language": "go",
"package": "github.com/ndstill/ndstill-go",
"install": "go get github.com/ndstill/ndstill-go",
"version": "0.9.0"
}
],
"plugins": [
{
"name": "OpenAI Agents SDK",
"description": "pay and check_budget as function tools, with held payments surfaced as interruptions.",
"href": "https://docs.ndstill.com/plugins/openai-agents"
},
{
"name": "Claude Agent SDK",
"description": "The ndStill tools as an in-process MCP server.",
"href": "https://docs.ndstill.com/plugins/claude-agent-sdk"
},
{
"name": "LangChain and LangGraph",
"description": "A toolkit, plus an interrupt node for approvals.",
"href": "https://docs.ndstill.com/plugins/langchain"
}
]
}Runs against the in-browser mock with a test key. Nothing leaves your browser.