MCP Client Config
The SDK’sgetMcpConfig() generates a URL + headers that work with any MCP client supporting HTTP transport.
SDK Usage (Programmatic)
For apps that create MCP connections dynamically:Claude Desktop
Add to your Claude Desktop config (~/.claude/claude_desktop_config.json):
Cursor
Add to.cursor/mcp.json in your project:
Claude Code
Add to~/.claude.json or .mcp.json:
VS Code
Add to.vscode/mcp.json:
Multiple Connections
You can use multiple connections — each points to a different upstream MCP server:Self-Hosted
For self-hosted Igris deployments, set thebaseUrl:
https://igris.your-company.internal/v1/mcp/vk_github_prod