Claude 代码中的远程 MCP 支持
Remote MCP Support in Claude Code

原始链接: https://www.anthropic.com/news/claude-code-remote-mcp?campaignId=13926158&source=i_email&medium=email&content=Oct2024AnalysisTool&messageTypeId=140367

Claude Code 现在支持远程 MCP 服务器,通过直接连接您喜爱的工具和数据源,无需本地服务器管理即可实现个性化的编码体验。这允许 Claude Code 访问来自第三方服务的上下文,例如开发工具、项目管理系统和知识库,从而促进在这些服务中执行操作。 无需管理本地服务器,只需将 Claude Code 与供应商托管的 MCP 服务器集成即可实现无缝访问。与 Sentry 和 Linear 等服务的集成,可以直接在编码环境中立即访问错误报告或项目详细信息。Linear 的 Tom Moor 强调了他们的 MCP 集成如何通过提供实时项目上下文来简化工作流程,从而最大限度地减少上下文切换。 远程 MCP 服务器消除了维护负担;供应商负责更新和扩展。Claude Code 的原生 OAuth 支持确保与现有帐户安全连接,无需管理 API 密钥。远程 MCP 服务器支持现已推出,并提供文档和 MCP 目录来指导用户。

这篇 Hacker News 帖子讨论了 Claude Code 最近添加的远程 MCP(模型上下文协议)支持,允许用户更轻松地将外部工具连接到 AI 模型。讨论重点突出了 MCP 规范的快速发展,一些用户发现很难跟上频繁的更新和缺乏全面的文档。 用户分享了他们使用 MCP 的经验,包括 OAuth 集成挑战、“claudeai”范围要求以及使用 mcp-remote 代理等工具。讨论涉及到与无人值守工具调用(“YOLO 模式”)相关的安全问题以及沙盒和输入验证等潜在解决方案。 帖子还涉及到竞争格局,包括与 ChatGPT、Codex 和 Aider 等其他工具的比较,并提到了添加多代理功能和安全 JavaScript 执行的创新项目。一些用户表达了对 Anthropic 账户封禁和缺乏移动端 MCP 支持的沮丧。最后,讨论推荐了各种用于编码和任务管理的 MCP 服务器和工具,重点介绍了它们的功能和用例。
相关文章

原文

Today, we’re announcing support for remote MCP servers in Claude Code. Connect your favorite tools and data sources to personalize your coding experience without needing to manage local servers.

Using Claude Code as your primary development interface

Claude Code can access both tools and resources exposed by MCP servers, giving it the ability to pull context from your third-party services—such as dev tools, project management systems, and knowledge bases—and take actions within those services.

You can integrate Claude Code with any remote MCP server, and the growing ecosystem of servers means that new capabilities are constantly coming online.

For example, by integrating Claude Code with the Sentry MCP server, you can access errors and issues from Sentry. Then, you can debug using the context of those issues without leaving your terminal.

You can also integrate Claude Code with the Linear MCP server to work with the context of your active projects.

“Linear's MCP integration brings Linear projects and issues directly into Claude Code,” shares Tom Moor, Head of Engineering at Linear. “With structured, real-time context from Linear, Claude Code can pull in issue details and project status—engineers can now stay in flow when moving between planning, writing code, and managing issues. Fewer tabs, less copy-paste. Better software, faster.”

Seamless connections with minimal maintenance

Remote MCP servers offer a lower maintenance alternative to local servers: just add the vendor’s URL to Claude Code—no manual setup required. Vendors handle updates, scaling, and availability, so you can focus on building instead of managing server infrastructure.

Claude Code also features native OAuth support for remote MCP servers, ensuring secure connections to your existing accounts. Simply authenticate to your servers once, and Claude Code handles the rest—no API keys to manage or credentials to store.

Getting started

Remote MCP server support is available now in Claude Code. View the documentation to get started or explore our MCP directory with recommended servers.

联系我们 contact @ memedata.com