Skip to content
Last updated

MCP Server (Docs)

MCP Server (Docs) lets AI tools search Treasure AI documentation and discover API references directly, so agents answer with current, accurate information instead of relying on training data that may be outdated. Use it when an agent needs to look up a concept, check an API parameter, or find the right documentation page while you work.

The server is registered at: https://docs.treasure.ai/mcp

Available Tools

Documentation Tools

ToolParametersDescription
list-apisname?: stringLists available APIs with their context and purpose.
get-endpointsname: stringReturns all endpoints and their descriptions for a specific API.
get-endpoint-infoname: string, path: string, method: stringReturns comprehensive information about a specific endpoint, including parameters, security, and examples.
get-security-schemesname: stringGets the security schemes for a specific API.
get-full-api-descriptionname: stringReturns the complete OpenAPI description.

Search Tools

ToolParametersDescription
searchquery: stringSearches documentation and returns relevant content for a query.

Connect Your Tool

Claude Code, VS Code, and Cursor can all connect to MCP Server (Docs). See Connect Your AI Coding Tool for tool-specific setup steps.

OpenAI Codex

Documentation search over HTTP is not currently documented for Codex. See Connecting OpenAI Codex to Treasure AI for the platform-operations setup that is supported.

Next Steps