API REFERENCE
REST API
Base URL: https://app.digitalpipe.net/api
Authentication
Include your API key in all requests:
Authorization: Bearer dp_live_your-api-key
Beta: Some endpoints are marked beta and may change. Authentication and server registration are stable.
Hosted MCPs
/api/hosted-mcp/catalogList all available Hosted MCPs that can be installed (petstore, github, stripe, espn, sentry)
/api/hosted-mcp/:id/installInstall a Hosted MCP for the authenticated user. Set manifoldEnabled=true to use DigitalPipe Manifold (sandboxed code execution) instead of N raw tool schemas.
/api/hosted-mcp/installedList all MCPs installed by the authenticated user, with status and toolCount
/api/hosted-mcp/:id/killKill, hold, or restore a Hosted MCP. Kill returns 503 on next tool call within ~300ms.
/api/hosted-mcp/:id/proxyProxy a JSON-RPC tool call to a Hosted MCP. Returns 503 if killed, 403 if held.
DigitalPipe Manifold (sandboxed execution)
/api/manifold/:id/tools/listReturns 4 meta-tools instead of the underlying MCP's tool catalog: list_servers, get_tool_signature, get_tool_docs, execute_code. Reduces per-request tool-definition tokens by 80-95%.
/api/manifold/:id/tools/callExecute orchestration code in a sandboxed interpreter. Inside the code: mcp_call(server_id, tool_name, **kwargs), list_servers(), get_tool_signature(), get_tool_docs(). Each mcp_call routes through the existing DP proxy (kill switch, audit, inspect all apply). Set result = ... at the end to return a value. Timeout 30s.
Metrics
/api/metrics/manifoldAggregate Manifold token savings across all your Hosted MCPs. Shows cumulative savings %, total executions, per-install breakdown, and Cloudflare/Anthropic benchmark comparison.
Inspect Layer
/api/audit/flaggedList recent flagged events (secrets, PII, prompt injection, exfil URLs) detected by the runtime inspect layer on every hosted MCP call. Per-user, scoped to installed MCPs.
Authentication
/api/auth/registerRegister a new account
/api/auth/loginSign in to existing account
/api/auth/refreshRefresh access token
/api/auth/meGet current user info
Server Registry
/api/serversRegister a new MCP server through the proxy
/api/serversList all registered servers
/api/servers/:idGet server details and status
/api/servers/:idRemove server from registry
Connection Control
/api/connections/:id/killKill an active connection immediately
/api/connections/:id/restoreRestore a killed connection
/api/connectionsList active connections
Audit & Export
/api/audit/logsExport audit log entries
/api/audit/summaryGet call summary statistics
For questions or to report issues with the API, contact [email protected]
