LangSmith MCP API

The mcp API from LangSmith — 2 operation(s) for mcp.

GitHub OpenAPI

Operations 4

Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay

GET /api/v1/mcp/tools Get MCP tools for a server · Get Tools #
Ask an LLM
“How do I fetch the MCP tools for a remote server URL?”
“Does the MCP tools call try the manifest before the full handshake?”
Tell an agent
Get MCP tools for {url}.
Fetch MCP tools for {url} from the remote server, bypassing the cache.
DELETE /api/v1/mcp/tools Invalidate MCP tools cache · Invalidate Tools Cache #
Ask an LLM
“What should I call when a tool call fails with a stale-tools error?”
“Can I clear the cached MCP tools for one server URL?”
Tell an agent destructive · confirm first
Invalidate the MCP tools cache for {url}.
Clear cached tools for {url} so the next request fetches fresh ones.
GET /api/v1/mcp/proxy Proxy a GET request to an MCP server · Proxy Get #
Ask an LLM
“How do I fetch an MCP resource through the proxy?”
“Can the MCP proxy stream a response back?”
Tell an agent
Proxy a GET request to {url}.
Fetch {url} through the MCP proxy with a {timeout} timeout.
POST /api/v1/mcp/proxy Proxy a request to an MCP server · Proxy #
Ask an LLM
“How do I send a POST body to an MCP server through the proxy?”
“Can I proxy a request with custom headers to an MCP server?”
Tell an agent
Proxy a {method} request to {url} with body {body}.
Send headers {headers} to {url} through the MCP proxy.

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/langsmith:langsmith-mcp-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

langsmith-mcp-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: LangSmith MCP API
  description: 'The LangSmith API is used to programmatically create and manage LangSmith resources.


    ## Host

    https://api.smith.langchain.com


    ## Authentication

    To authenticate with the LangSmith API, set the `X-Api-Key` header

    to a valid LangSmith API key.'
  version: 0.1.0
servers:
- url: /
tags:
- name: MCP
paths:
  /api/v1/mcp/tools:
    get:
      tags:
      - MCP
      summary: Get Tools
      description: 'Return MCP tools — from cache if fresh, otherwise by fetching from remote.


        On cache miss, tries manifest fetch first (fast), then falls back to full

        MCP handshake. Caches the result before returning.


        Pass force_refresh=true to bypass the cache and always fetch from the

        remote server (the result is still cached via upsert for future requests).


        The ls_user_id query parameter allows service-key callers (which don''t carry

        ls_user_id in auth) to specify the user for per-user OAuth cache lookups.'
      operationId: get_tools_api_v1_mcp_tools_get
      security:
      - API Key: []
      - Tenant ID: []
      - Bearer Auth: []
      parameters:
      - name: url
        in: query
        required: true
        schema:
          type: string
          title: Url
      - name: oauth_provider_id
        in: query
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: Oauth Provider Id
      - name: ls_user_id
        in: query
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: Ls User Id
      - name: force_refresh
        in: query
        required: false
        schema:
          type: boolean
          default: false
          title: Force Refresh
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
    delete:
      tags:
      - MCP
      summary: Invalidate Tools Cache
      description: 'Invalidate cached MCP tools for a given server URL.


        Called when a tool call fails with a stale-tools error, so subsequent

        requests to GET /mcp/tools will re-fetch from the remote server.'
      operationId: invalidate_tools_cache_api_v1_mcp_tools_delete
      security:
      - API Key: []
      - Tenant ID: []
      - Bearer Auth: []
      parameters:
      - name: url
        in: query
        required: true
        schema:
          type: string
          title: Url
      - name: oauth_provider_id
        in: query
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: Oauth Provider Id
      - name: ls_user_id
        in: query
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: Ls User Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/v1/mcp/proxy:
    get:
      tags:
      - MCP
      summary: Proxy Get
      operationId: proxy_get_api_v1_mcp_proxy_get
      security:
      - API Key: []
      - Tenant ID: []
      - Bearer Auth: []
      parameters:
      - name: url
        in: query
        required: true
        schema:
          type: string
          title: Url
      - name: accept_stream
        in: query
        required: false
        schema:
          type: boolean
          default: true
          title: Accept Stream
      - name: timeout
        in: query
        required: false
        schema:
          type: integer
          default: 60
          title: Timeout
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
    post:
      tags:
      - MCP
      summary: Proxy
      operationId: proxy_api_v1_mcp_proxy_post
      security:
      - API Key: []
      - Tenant ID: []
      - Bearer Auth: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ProxyRequest'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
            - type: string
            - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
      type: object
      required:
      - loc
      - msg
      - type
      title: ValidationError
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    ProxyRequest:
      properties:
        url:
          type: string
          title: Url
        method:
          type: string
          enum:
          - GET
          - POST
          - PUT
          - DELETE
          - PATCH
          - HEAD
          - OPTIONS
          title: Method
          default: GET
        headers:
          anyOf:
          - additionalProperties:
              type: string
            type: object
          - type: 'null'
          title: Headers
          default: {}
        timeout:
          anyOf:
          - type: integer
          - type: 'null'
          title: Timeout
          default: 120
        body:
          anyOf:
          - {}
          - type: 'null'
          title: Body
        oauth_provider_id:
          anyOf:
          - type: string
          - type: 'null'
          title: Oauth Provider Id
      type: object
      required:
      - url
      title: ProxyRequest
  securitySchemes:
    API_Key:
      type: apiKey
      in: header
      name: X-API-Key
    Tenant_ID:
      type: apiKey
      in: header
      name: X-Tenant-Id
    Bearer_Auth:
      type: http
      description: Bearer tokens are used to authenticate from the UI. Must also specify x-tenant-id or x-organization-id (for org scoped apis).
      scheme: bearer
    Organization_ID:
      type: apiKey
      in: header
      name: X-Organization-Id