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.Google, Slack, Linear, GitHub, and LinkedIn use OAuth. Exa, Tavily, Pylon, and Twitter/X use workspace secrets (API keys).
Gmail
Read and send email
- Read emails (optionally include body, filter with search)
- Send email or reply to an existing message
- Create draft emails
- Mark messages as read
- Get a conversation thread
- Apply or create labels
- List mailbox labels
Google Calendar
Manage events
- List events for a date
- Get event details
- Create new events
Google Sheets
Spreadsheets
- Create spreadsheets
- Read ranges
BigQuery
Analytics
- Execute SQL queries
Slack
Send and read messages
- Send a direct message to a user
- Post a message to a channel
- Reply in a thread
- Read channel history
- Read thread messages
Post to profile
- Publish a post with optional image or link
Twitter/X
- Read a tweet by ID
- Read recent posts from a list
GitHub
PRs, issues, and content
- List pull requests
- Get pull request details
- Create issues and pull requests
- Comment on issues and pull requests
- Read repository files and list directories
Linear
Manage issues and teams
- List teams and team members
- List issues with filters
- Get issue details
- Create, update, or delete issues
Pylon
Issue management
- List issues
- Get issue details
- Update issues
Search
- Exa web search (optionally fetch page contents)
- Exa LinkedIn profile search
- Tavily web search
Web utilities
- Read webpage text content
- Extract image URLs and metadata
- Notify user (for confirmations/updates)
Remote MCP server tools
An MCP (Model Context Protocol) server exposes tools that an agent can call at runtime. A remote MCP server:- Runs outside of LangSmith (usually over HTTPS).
- Owns its own authentication and authorization.
- Acts as a bridge between your agent and an external system.
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. Headers are key-value pairs sent with every HTTP request to your MCP server. They’re commonly used for authentication (like API keys or bearer tokens), but can also provide configuration information, content types, or custom metadata.
- Tools from remote servers are available alongside built-in tools in Agent Builder.
- General configuration: Step-by-step instructions for connecting any remote MCP server with authentication headers. Use this if you’re familiar with MCP servers and want a quick reference.
- Example: Connecting a custom MCP server: A detailed walkthrough using a GitHub-based MCP server as an example. Use this if you want to see a complete end-to-end example with specific authentication details.
General configuration
Configure remote MCP servers in your LangSmith workspace:1
Navigate to MCP Server settings
In the LangSmith UI, select Settings in the lower left corner, then choose MCP Servers from the left-hand navigation.
2
Add your MCP server
Click Add server and enter the URL of your remote MCP server (for example,
https://mcp.example.com).3
Configure authentication headers (if required)
If your MCP server requires authentication, add headers to authenticate requests. The most common pattern is using an Authorization bearer token:
- Key:
Authorization - Value:
Bearer {{SECRET_NAME}}
- The
{{SECRET_NAME}}placeholder references a workspace secret that stores your actual token value. - At runtime, Agent Builder automatically replaces
{{SECRET_NAME}}with the secret’s value. - The header is attached to all requests to your MCP server.
MCP_TOKEN with value sk_abc123xyz, configure:- Key:
Authorization - Value:
Bearer {{MCP_TOKEN}}
Authorization: Bearer sk_abc123xyzYou can add multiple headers if your MCP server requires additional authentication or configuration parameters. Each header key-value pair is sent with every request to the server.
4
Save and verify
Save your configuration. Agent Builder will automatically discover available tools from your MCP server and make them available in your agents. The configured headers are applied to both tool discovery requests and tool execution requests.
Always use workspace secret placeholders (e.g.,
{{MCP_TOKEN}}) rather than hardcoding sensitive values directly in headers. Secrets are stored securely and resolved at runtime.Example: Connecting a custom MCP server
Here’s a practical example of connecting Agent Builder to a GitHub MCP server that requires authentication:1
Create a GitHub Authorization Token
The MCP server needs permission to access GitHub on your behalf. You’ll do this using a GitHub Personal Access Token (PAT).
- Go to GitHub → Settings → Developer settings.
- Open Personal access tokens.
- Create a Fine-grained token (recommended).
- Contents: Read
- Issues: Read
- Pull requests: Read
2
Understand the Required Headers
Remote MCP servers typically authenticate using HTTP headers.For the GitHub MCP server, the required headers look like this:
- Authorization proves who you are.
- The MCP server validates the token.
- Every tool call from the agent includes these headers.
3
Store the token as a workspace secret
In the LangSmith UI:
- Navigate to Settings > Workspaces > Secrets.
- Click Add secret.
- Name:
GITHUB_TOKEN(or any descriptive name). - Value: Your authentication token.
- Save the secret.
4
Configure the MCP server
In Settings > MCP Servers:
- Click Add server.
- Add a Name for the MCP server.
- URL: Enter your MCP server URL (e.g.,
https://mcp-github.example.com) - Add authentication header:
- Key:
Authorization - Value:
Bearer {{GITHUB_TOKEN}}
- Key:
- Save the configuration.
5
Use tools in your agent
The tools from your MCP server are now available in Agent Builder. When you create or edit an agent, you’ll see these tools alongside the built-in tools. All requests to your MCP server will include the authentication header automatically.Once connected, the workflow for this example looks like this:
- The agent decides it needs GitHub data.
- It selects a tool exposed by the MCP server.
- LangSmith forwards the request to the remote MCP server.
- The server authenticates using your token.
- GitHub data is fetched and returned.
- The agent receives structured results and continues reasoning.
Different MCP servers may use different authentication methods:
Authorization: Bearer {{TOKEN}}(most common)X-API-Key: {{API_KEY}}- Custom headers specific to your implementation
- Multiple headers for authentication