Skip to main content
Use Respan’s MCP servers to give your AI coding tools (Cursor, Claude Code, Windsurf, etc.) direct access to documentation and live platform data.

Docs MCP

The Docs MCP gives your AI tool read-only access to all Respan documentation — guides, API references, SDK methods, and code examples. No API key required.
{
  "mcpServers": {
    "respan-docs": {
      "url": "https://docs.respan.ai/mcp"
    }
  }
}

Available tools

ToolDescription
search_docsSearch across all Respan documentation
get_pageRetrieve the full content of a specific page

Platform MCP

The Platform MCP gives your AI tool access to live data — logs, traces, prompts, and customer analytics. Requires authentication.
{
  "mcpServers": {
    "respan": {
      "url": "https://mcp.respan.ai/mcp"
    }
  }
}
Your tool will prompt you to sign in via OAuth automatically. For alternative auth methods (JWT token, API key, local stdio), see the Platform MCP setup guide.

Available tools

ToolDescription
list_logsList and filter LLM request logs
get_log_detailGet complete details of a single log
list_tracesList and filter traces
get_trace_treeGet the full span tree of a trace
list_customersList customers with pagination
get_customer_detailGet customer details and budget usage
list_promptsList all prompts
get_prompt_detailGet detailed prompt information
list_prompt_versionsList all versions of a prompt
get_prompt_version_detailGet specific version details

Use both together

For the best experience, add both MCP servers so your AI tool can reference docs and access your live data at the same time.
{
  "mcpServers": {
    "respan-docs": {
      "url": "https://docs.respan.ai/mcp"
    },
    "respan": {
      "url": "https://mcp.respan.ai/mcp"
    }
  }
}

Example prompts

  • “How do I set up Respan tracing with LangGraph?”
  • “Show me my most expensive requests from the last hour”
  • “What parameters does the span logging API accept?”
  • “Find traces with errors in production”