MCP Integration

MCP Integration

The substrate exposes a Model Context Protocol JSON-RPC 2.0 server at POST /mcp.

Methods

MethodReturns
list_tokensAll tokens in the active bundle
list_componentsAll component recipe names
list_researchAll research file slugs
describeSubstrate metadata (version, tenant, token count)

Example request

curl -sS -X POST https://design.pointsav.com/mcp \
  -H 'content-type: application/json' \
  -d '{"jsonrpc":"2.0","method":"describe","id":1}' | jq .

AI agent integration

The shadcn registry at /r/registry.json is the recommended integration point for code generators. MCP is the richer endpoint for agents that query design decisions and token rationale alongside component structure.