-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Move remote MCP server section to overall agent builder tool documentation #1917
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,6 +1,5 @@ | ||
| --- | ||
| title: LangSmith Tool Server | ||
| sidebarTitle: MCP framework | ||
| --- | ||
|
|
||
| The LangSmith Tool Server is our MCP Framework that powers the tools available in the LangSmith Agent Builder. This framework enables you to build and deploy custom tools that can be integrated with your agents. It provides a standardized way to create, deploy, and manage tools with built-in authentication and authorization. | ||
|
|
@@ -169,25 +168,3 @@ async def authenticate(authorization: str = None) -> dict: | |
| ``` | ||
|
|
||
| The handler runs on every request and must return a dict with `identity` (and optionally `permissions`). | ||
|
|
||
| ## Using remote MCP servers | ||
|
Collaborator
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I think there should still probably be a link to the MCP server config info. Maybe there should be a new section here? Like the following: |
||
|
|
||
| Agent Builder can discover and use tools from remote [Model Context Protocol (MCP)](https://modelcontextprotocol.io/) servers. This lets you connect to external MCP servers and use their tools in your agents. | ||
|
|
||
| ### Configuration | ||
|
|
||
| Configure remote MCP servers in your LangSmith [workspace](/langsmith/administration-overview#workspaces): | ||
|
|
||
| 1. Navigate to your workspace settings in the [LangSmith UI](https://smith.langchain.com). | ||
| 2. Add your MCP server URL and any required headers (for example, `Authorization: Bearer {{MCP_TOKEN}}`). | ||
| 3. Agent Builder automatically discovers tools from the server and applies the configured headers when calling tools. | ||
|
|
||
| <Note> | ||
| Use workspace secret placeholders like `{{MCP_TOKEN}}` in headers. The platform resolves these from your workspace secrets at runtime. | ||
| </Note> | ||
|
|
||
| ### How it works | ||
|
|
||
| - Agent Builder discovers tools from remote MCP servers via the standard MCP protocol. | ||
| - Headers configured in your workspace are automatically attached when fetching tools or calling them. | ||
| - Tools from remote servers are available alongside built-in tools in Agent Builder. | ||
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
| @@ -1,7 +1,8 @@ | ||||||
| --- | ||||||
| title: Supported tools | ||||||
| title: Tools | ||||||
| sidebarTitle: Tools | ||||||
| --- | ||||||
| ## Built-in Tools | ||||||
|
Collaborator
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Need to add an intro sentence/section above Built-in Tools |
||||||
|
|
||||||
| Use these built-in tools to give your agents access to email, calendars, chat, project management, code hosting, spreadsheets/BI, search, social, and general web utilities. | ||||||
|
|
||||||
|
|
@@ -132,3 +133,25 @@ Use these built-in tools to give your agents access to email, calendars, chat, p | |||||
| </ul> | ||||||
| </Card> | ||||||
| </CardGroup> | ||||||
|
|
||||||
| ## Using remote MCP servers | ||||||
|
Collaborator
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
? |
||||||
|
|
||||||
| Agent Builder can discover and use tools from remote [Model Context Protocol (MCP)](https://modelcontextprotocol.io/) servers. This lets you connect to external MCP servers and use their tools in your agents. | ||||||
|
|
||||||
| ### Configuration | ||||||
|
|
||||||
| Configure remote MCP servers in your LangSmith [workspace](/langsmith/administration-overview#workspaces): | ||||||
|
|
||||||
| 1. Navigate to your workspace settings in the [LangSmith UI](https://smith.langchain.com). | ||||||
| 2. Add your MCP server URL and any required headers (for example, `Authorization: Bearer {{MCP_TOKEN}}`). | ||||||
| 3. Agent Builder automatically discovers tools from the server and applies the configured headers when calling tools. | ||||||
|
|
||||||
| <Note> | ||||||
| Use workspace secret placeholders like `{{MCP_TOKEN}}` in headers. The platform resolves these from your workspace secrets at runtime. | ||||||
| </Note> | ||||||
|
|
||||||
| ### How it works | ||||||
|
|
||||||
| - Agent Builder discovers tools from remote MCP servers via the standard MCP protocol. | ||||||
| - Headers configured in your workspace are automatically attached when fetching tools or calling them. | ||||||
| - Tools from remote servers are available alongside built-in tools in Agent Builder. | ||||||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.