20 pages for addmcpserver.
Titles and paths first, then pages whose text carries it. Each row opens that page as this site last read it.
mcp-connector
Claude Developer Platform · in the page
agents-and-tools/mcp-connector
….addUserMessage("What tools do you have available?") .addMcpServer(BetaRequestMcpServerUrlDefinition.builder() .url("https://example-server.modelcontextprotocol.io/sse")…
overview
Claude Developer Platform · in the page
agents-and-tools/mcp-tunnels/overview
….addUserMessage("Use the hello tool to greet tunnel.") .addMcpServer(BetaRequestMcpServerUrlDefinition.builder() .url("https://echo.YOUR_TUNNEL_DOMAIN_HERE/mcp")…
mid-conversation-system-messages
Claude Developer Platform · in the page
build-with-claude/mid-conversation-system-messages
…5) .addBeta(AnthropicBeta.MCP_CLIENT_2026_09_15) .addMcpServer(BetaRequestMcpServerUrlDefinition.builder() .url("https://mcp.example.com/calendar") .nam…
github
Claude Developer Platform · in the page
managed-agents/github
…stem("You are a code review assistant with access to GitHub.") .addMcpServer(BetaManagedAgentsUrlMcpServerParams.builder() .name("github") .url("https://api.githubcopilot.com…
mcp-connector
Claude Developer Platform · in the page
managed-agents/mcp-connector
…) .model(BetaManagedAgentsModel.CLAUDE_OPUS_5_5) .addMcpServer( BetaManagedAgentsUrlMcpServerParams.builder() .name("github") .url…
multiagent-orchestration
Claude Developer Platform · in the page
managed-agents/multiagent-orchestration
….model(BetaManagedAgentsModel.CLAUDE_HAIKU_5_5) .addMcpServer(BetaManagedAgentsUrlMcpServerParams.builder() .name("github") .url("https://api.githubcop…
permission-policies
Claude Developer Platform · in the page
managed-agents/permission-policies
…) .model(BetaManagedAgentsModel.CLAUDE_OPUS_5_5) .addMcpServer( BetaManagedAgentsUrlMcpServerParams.builder() .name("github") .url…
session-operations
Claude Developer Platform · in the page
managed-agents/session-operations
….mcpServerName("linear") .build()) .addMcpServer(BetaManagedAgentsUrlMcpServerParams.builder() .name("linear") .url("https://mcp.l…
Build an MCP server
Model Context Protocol · in the page
docs/2024-11-05/develop/build-server
…t.CreateEmptyApplicationBuilder(settings: null); > > builder.Services.AddMcpServer() > .WithStdioServerTransport() > .WithToolsFromAssembly(); > > builder.Services.AddSingleton(_ => > { >…
Understanding Authorization in MCP
Model Context Protocol · in the page
docs/2024-11-05/tutorials/security/authorization
…(); > > builder.Services.AddHttpContextAccessor(); > builder.Services.AddMcpServer() > .WithTools<MathTools>() > .WithHttpTransport(); > > var app = builder.Build(); > > app.UseAuthentication(…
Build an MCP server
Model Context Protocol · in the page
docs/2025-03-26/develop/build-server
…t.CreateEmptyApplicationBuilder(settings: null); > > builder.Services.AddMcpServer() > .WithStdioServerTransport() > .WithToolsFromAssembly(); > > builder.Services.AddSingleton(_ => > { >…
Understanding Authorization in MCP
Model Context Protocol · in the page
docs/2025-03-26/tutorials/security/authorization
…(); > > builder.Services.AddHttpContextAccessor(); > builder.Services.AddMcpServer() > .WithTools<MathTools>() > .WithHttpTransport(); > > var app = builder.Build(); > > app.UseAuthentication(…
Build an MCP server
Model Context Protocol · in the page
docs/2025-06-18/develop/build-server
…t.CreateEmptyApplicationBuilder(settings: null); > > builder.Services.AddMcpServer() > .WithStdioServerTransport() > .WithToolsFromAssembly(); > > builder.Services.AddSingleton(_ => > { >…
Understanding Authorization in MCP
Model Context Protocol · in the page
docs/2025-06-18/tutorials/security/authorization
…(); > > builder.Services.AddHttpContextAccessor(); > builder.Services.AddMcpServer() > .WithTools<MathTools>() > .WithHttpTransport(); > > var app = builder.Build(); > > app.UseAuthentication(…
Build an MCP server
Model Context Protocol · in the page
docs/2025-11-25/develop/build-server
…t.CreateEmptyApplicationBuilder(settings: null); > > builder.Services.AddMcpServer() > .WithStdioServerTransport() > .WithToolsFromAssembly(); > > builder.Services.AddSingleton(_ => > { >…
Understanding Authorization in MCP
Model Context Protocol · in the page
docs/2025-11-25/tutorials/security/authorization
…(); > > builder.Services.AddHttpContextAccessor(); > builder.Services.AddMcpServer() > .WithTools<MathTools>() > .WithHttpTransport(); > > var app = builder.Build(); > > app.UseAuthentication(…
Build an MCP server
Model Context Protocol · in the page
docs/2026-07-28/develop/build-server
…t.CreateEmptyApplicationBuilder(settings: null); > > builder.Services.AddMcpServer() > .WithStdioServerTransport() > .WithToolsFromAssembly(); > > builder.Services.AddSingleton(_ => > { >…
Understanding Authorization in MCP
Model Context Protocol · in the page
docs/2026-07-28/tutorials/security/authorization
…it(' ')) > .Contains("mcp:tools"))); > > builder.Services.AddMcpServer() > .WithHttpTransport() > .WithTools<MathTools>(); > > var app = builder.Build(); > > // Reject browser requ…
Build an MCP server
Model Context Protocol · in the page
docs/draft/develop/build-server
…t.CreateEmptyApplicationBuilder(settings: null); > > builder.Services.AddMcpServer() > .WithStdioServerTransport() > .WithToolsFromAssembly(); > > builder.Services.AddSingleton(_ => > { >…
Understanding Authorization in MCP
Model Context Protocol · in the page
docs/draft/tutorials/security/authorization
…it(' ')) > .Contains("mcp:tools"))); > > builder.Services.AddMcpServer() > .WithHttpTransport() > .WithTools<MathTools>(); > > var app = builder.Build(); > > // Reject browser requ…