Skip to content

Access the documentation MCP server

Our documentation exposes a Model Context Protocol (MCP) server. Connect it to an MCP-capable AI assistant (Cursor, Claude Code, Claude Desktop, VS Code, Codex CLI, ChatGPT) and the assistant can search our guides and API reference and answer questions using current, authoritative content.

Endpoints

We publish two endpoints. Choose based on whether you have an account for our documentation portal.

EndpointURLAuthenticationContent served
Publichttps://docs.upvest.co/mcp-publicNo credentials requiredPublic documentation only.
Authenticatedhttps://docs.upvest.co/mcpRequired — sign in when your client prompts youEverything your account is entitled to see, including custom client content.

Opening either URL in a browser shows a setup page with copy-ready connection snippets. The two pages link to each other.

Both endpoints use the streamable HTTP transport. Use the authenticated endpoint if you have a portal login; use the public endpoint if you do not, or if your client cannot complete a browser sign-in flow.

Connect your client

Replace <URL> with the endpoint you chose from the table above.

Cursor

1

Open MCP settings

Open the command palette (Cmd+Shift+P on macOS, Ctrl+Shift+P on Windows/Linux) and run Open MCP settings.

2

Add a custom MCP server

Select Add custom MCP. Cursor opens mcp.json.

3

Add the server and save

Add the server and save:

{
  "mcpServers": {
    "upvest-docs": {
      "url": "<URL>"
    }
  }
}
4

Sign in to finish

Return to MCP settings. If prompted, select Needs login and complete sign-in. Cursor then lists the available tools.

Claude Code

claude mcp add --transport http upvest-docs <URL>

Type /mcp in the CLI and complete authentication if prompted.

Claude Desktop

1

Open the connector settings

Go to Customize → Connectors → Add custom connector.

2

Add the endpoint

Paste <URL> and click Add.

3

Sign in to finish

Sign in if prompted.

VS Code

1

Add an MCP server

Open the command palette and run MCP: Add Server.

2

Configure the connection

Select HTTP, enter <URL>, and name the connection.

3

Sign in to finish

If prompted, complete sign-in in the browser.

4

Confirm the tools appear

In Chat (Agent mode), select the Tools icon to confirm the server and its tools appear.

Codex CLI

codex mcp add upvest-docs --url <URL>
codex mcp login upvest-docs   # authenticated endpoint only
codex mcp list

ChatGPT desktop app

1

Open the MCP settings

Go to Settings → Plugins → MCPs.

2

Add the server

Add a server of type Streamable HTTP with <URL>.

3

Restart the app

Restart the app.

Verify the connection

In your assistant's chat (agent mode where applicable), ask a question that requires our documentation, for example: "Which endpoint creates an order, and what fields are required?"

The assistant should call a tool from the upvest-docs server before answering.

Automated discovery

Agents can discover the server without manual configuration through the MCP server card:

GET https://docs.upvest.co/.well-known/mcp/server-card.json

The card lists the transport endpoint, capabilities, authentication requirements, and available tools.

Troubleshooting

SymptomCauseFix
401 Unauthorized from /mcpYou are not signed inComplete the sign-in flow in your client, or switch to /mcp-public (the 401 response body includes the URL).
403 Forbidden from /mcpYour account does not have MCP accessContact your Upvest representative.
Tools appear but answers omit content you can see in the portalAI agent is connected to /mcp-publicReconnect using /mcp and sign in.
AI agent cannot open a browser for sign-inHeadless or restricted environmentUse /mcp-public, or pass an Authorization header in the client configuration where supported.