Building custom connectors - Claude.ai Documentation (original) (raw)

Getting started

Not sure whether to build an MCP server, a plugin, or both? See what to build.

Key resources

Transport & authentication

Supported transports

Claude supports both Streamable HTTP and the legacy HTTP+SSE transport. The legacy HTTP+SSE transport is being deprecated in favor of Streamable HTTP.

Authentication features

Protocol features

Supported

Not yet supported

Technical specifications

Constraint Limit
Claude.ai/Desktop max tool result size ~150,000 characters
Claude Code max tool result size 25,000 tokens (configurable via MAX_MCP_OUTPUT_TOKENS)
Claude Code timeout Configurable via MCP_TOOL_TIMEOUT
Claude.ai/Desktop timeout 300 seconds (5 minutes)
Transport protocol Streamable HTTP (legacy HTTP+SSE being deprecated)

Testing your server

  1. Add directly to Claude via Settings > Connectors
  2. Use the MCP inspector tool to validate auth flows