LangSmith Tool Gateway 配置教程:五步接入 MCP 服务器
LangChain 把自家的 MCP 托管网关简化成五步点击配置:加服务器、连账号、挑工具、拿一个 kit URL 就能调。如果你在用 LangSmith 或者 LangGraph 搭智能体,接入第三方工具比手动管 MCP 配置和 API 密钥省事不少,照着做十分钟就能跑通。
LangChain 官方演示了 LangSmith Tool Gateway 的完整配置流程,全程五步:打开 Tools 页面、添加服务器、为每个工具连接账号、勾选智能体所需的工具、把客户端指向 kit URL。整个过程不写代码,通过 LangSmith 控制台即可完成 MCP 服务器的托管与授权管理。
Tool Gateway 的定位是托管式 MCP 网关,开发者把第三方工具(如 SaaS API)注册到 Gateway 后,账号鉴权由平台统一处理,客户端只需连接一个 kit URL 就能调用所有已授权工具,省去逐个维护 API 密钥和 MCP 配置的负担。
对使用 LangSmith 做智能体观测与评估的团队来说,工具接入从分散配置收拢到统一入口,配合 LangChain 生态(LangSmith、LangGraph)可以形成闭环。已在用自建 MCP 服务器的团队可对比托管方案在鉴权和运维上的差异。
Setting up LangSmith Tool Gateway is easy. 1️⃣ Open Tools 2️⃣ Add a server 3️⃣ Connect your account for each tool 4️⃣ Pick the tools your agent needs 5️⃣ Point your client at the kit URL Open tools in LangSmith and add your first server today.
This report is categorized under AITOP's "How-to" desk, focusing on US frontier AI labs and Silicon Valley technology leaders. Within our cross-regional analytical framework, it directly maps to AI developer toolchains, coding agents, and engineering workflows. Key entities and technical topics under continuous tracking include LangSmith, LangChain, MCP and tools, agents.
Source attribution: curated from LangChain (@LangChainAI).