LangSmith MCP Server
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| LANGSMITH_API_KEY | Yes | Your LangSmith API key | |
| LANGSMITH_ENDPOINT | No | Optional endpoint for on-prem deployments |
Capabilities
Features and capabilities supported by this server
| Capability | Details |
|---|---|
| tools | {
"listChanged": true
} |
| prompts | {
"listChanged": false
} |
| resources | {
"subscribe": false,
"listChanged": false
} |
| experimental | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| ls_list_runsA | List recent runs from LangSmith (root-only by default). Args: project_name: LangSmith project name (required) is_root: Only return root runs when true (default: True) run_type: Filter by run type (e.g., 'llm', 'chain', 'tool') error: Filter by error status - True=failed only, False=successful only, None=all start_minutes_ago: Lookback window in minutes (default: 1440 = 24 hours, min: 1) limit: Maximum runs to return (default: 50, range: 1-200) select: List of fields to return (default: id, name, run_type, start_time, end_time, error, tags, extra) |
| ls_read_runA | Read a single run with optional children hydration. Args: run_id: Run ID to fetch (required) hydrate_children: Include child spans in response (default: False) child_limit: Maximum children to return when hydrate_children=True (default: 100, range: 1-500) |
| ls_get_run_urlA | Generate a shareable LangSmith UI URL for a run. Args: run_id: Run ID to generate URL for (required) Returns: Shareable LangSmith URL (e.g., https://smith.langchain.com/o/.../runs/...) |
| ls_list_childrenA | List child spans for a given parent run. Args: parent_run_id: Parent run ID (required) limit: Maximum children to return (default: 100, range: 1-500) Returns: List of child run objects with id, name, run_type, timing, and error info |
| ls_list_projectsA | List projects from LangSmith workspace. Args: limit: Maximum projects to return (default: 10, range: 1-200) Returns: List of project objects with id, name, start_time, tenant_id, and optional statistics |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/don-aie-cohort8/langsmith-mcp-server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server