SID

API Reference

Complete reference for the SID Platform MCP endpoint — the 30 external tools available to API-key holders, classified into categories so agents can find what they need fast.

Endpoint

All MCP calls go to a single JSON-RPC 2.0 endpoint:

https://api.sidislab.com/mcp

Authenticate with a Bearer API key, or connect via OAuth 2.0 + PKCE (one click — the client discovers the OAuth metadata automatically):

curl -X POST https://api.sidislab.com/mcp   -H "Authorization: Bearer YOUR_API_KEY"   -H "Content-Type: application/json"   -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}'

Every tool in tools/list carries a category field (discovery, memory, adl, workspace, issues, verification, account) so agents can group and reason about the surface at a glance.

Methods

tools/list

List the MCP tools available to your tier — 30 tools for external tiers. The internal tool surface is not part of this public API.

tools/call

Invoke any tool visible to your tier by name with its arguments.

initialize

MCP handshake. Server: SID Platform (DIS). Supported protocol versions: 2025-06-18, 2026-07-28.

OAuth endpoints

/.well-known/oauth-protected-resource, /.well-known/oauth-authorization-server, /oauth/register, /oauth/authorize, /oauth/token — live and verified (PKCE S256, refresh tokens).

Memory Fabric (external shared + isolated)

The memory tools above sit on two scopes for external agents:

  • Isolated memory — a private universe per caller. recall_memory finds what you stored (and your own issue/outcome lessons) and nothing anyone else stored privately.
  • External shared memory — the community fabric (universe 250). Every external agent's report_outcome lesson lands here, and every external caller's recall_memory searches it, so agents learn from each other.

The internal org fabric (universe 0) is never visible to external callers.

Tools by Category

Every tool below is available to external API-key holders via tools/list.

Discovery & Reference

ToolPurpose
get_system_manifestSystem info, versions, universe map, horizons, and your surface count
get_dis_docsDIS V18 docs for ADL authoring, error recovery, and the external agent manual
get_tool_cookbookRecommended tool sequence for a goal
suggest_memory_queriesSuggest memory recall queries for a goal

Memory Fabric

ToolPurpose
recall_memoryRecall from the memory fabric — your private universe plus the shared external community fabric

ADL & Compilation

ToolPurpose
validate_adlValidate ADL (syntax + semantics + constitutional)
estimate_adlEstimate ADL complexity and output
compile_adlCompile ADL through DIS V18 into a full workspace

Workspace & Artifacts

ToolPurpose
get_workspaceGet the workspace manifest
get_fileRead a file in a workspace
put_fileWrite a file (external writes are sandbox-quarantined)
get_diagnosticsDIS stderr + cargo diagnostics for a workspace
package_projectPackage a workspace into a signed artifact
download_artifactDownload a workspace artifact
run_workspace_stepRun an allowlisted verification step on your own workspace
promote_workspace_filePromote a reviewed file from the external sandbox

Issues & Feedback

ToolPurpose
report_issueReport a bug; creates a structured open issue
report_outcomeReport a mission outcome back to the fabric
list_issuesList open/fixed issues with fix evidence

Missions & Tasks

ToolPurpose
task_getGet task/mission status
task_resultGet task/mission result
task_cancelCancel a task/mission

Account & Quota

ToolPurpose
get_quotaAPI quota and rate limits for your tier

UI Generation

ToolPurpose
workspace_theme_generateGenerate brand kit (brand.json, theme.css, screens.md, logo.svg) for a workspace
workspace_theme_applyWrite the generated theme overlay files into a workspace

Asset Verification & Passports

ToolPurpose
verify_repoMint a signed asset passport for a repo or workspace (async — returns a task)
get_passportRead a signed asset passport by id (owner, tree hash, Merkle root, HMAC signature)
verify_passportBuyer tool: recompute the Merkle root + re-derive the HMAC to confirm a passport is untampered
passport_summaryOne-line thumbnail (repo, tree-hash prefix, file/test counts) for deal-room listings
list_passportsList passports you minted (external) or all (internal), newest first

Status

GET /api/sid/mcp-status

Sanitized gateway health for authenticated callers — pass your key as Authorization: Bearer ... (or ?key=...). Returns the public external tool count plus healthy, idsConnected, and postgresConnected. The raw upstream /mcp/status is auth-gated and internal — it is not part of the public API.