LangChain · Capability
LangSmith — mcp
LangSmith — mcp. 4 operations. Lead operation: Proxy Get. Self-contained Naftiko capability covering one Langchain business surface.
What You Can Do
GET
Proxygetapiv1mcpproxyget
— Proxy Get
/v1/api/v1/mcp/proxy
POST
Proxyapiv1mcpproxypost
— Proxy
/v1/api/v1/mcp/proxy
GET
Gettoolsapiv1mcptoolsget
— Get Tools
/v1/api/v1/mcp/tools
DELETE
Invalidatetoolscacheapiv1mcptoolsdelete
— Invalidate Tools Cache
/v1/api/v1/mcp/tools
MCP Tools
proxy-get
Proxy Get
read-only
idempotent
proxy
Proxy
get-tools
Get Tools
read-only
idempotent
invalidate-tools-cache
Invalidate Tools Cache
idempotent
Capability Spec
naftiko: 1.0.0-alpha2
info:
label: LangSmith — mcp
description: 'LangSmith — mcp. 4 operations. Lead operation: Proxy Get. Self-contained Naftiko capability covering one Langchain
business surface.'
tags:
- Langchain
- mcp
created: '2026-05-19'
modified: '2026-05-19'
binds:
- namespace: env
keys:
LANGCHAIN_API_KEY: LANGCHAIN_API_KEY
capability:
consumes:
- type: http
namespace: langchain-mcp
baseUri: ''
description: LangSmith — mcp business capability. Self-contained, no shared references.
resources:
- name: api-v1-mcp-proxy
path: /api/v1/mcp/proxy
operations:
- name: proxygetapiv1mcpproxyget
method: GET
description: Proxy Get
outputRawFormat: json
outputParameters:
- name: result
type: object
value: $.
inputParameters:
- name: url
in: query
type: string
required: true
- name: accept_stream
in: query
type: boolean
- name: timeout
in: query
type: integer
- name: proxyapiv1mcpproxypost
method: POST
description: Proxy
outputRawFormat: json
outputParameters:
- name: result
type: object
value: $.
inputParameters:
- name: body
in: body
type: object
description: Request body (JSON).
required: true
- name: api-v1-mcp-tools
path: /api/v1/mcp/tools
operations:
- name: gettoolsapiv1mcptoolsget
method: GET
description: Get Tools
outputRawFormat: json
outputParameters:
- name: result
type: object
value: $.
inputParameters:
- name: url
in: query
type: string
required: true
- name: oauth_provider_id
in: query
type: string
- name: ls_user_id
in: query
type: string
- name: force_refresh
in: query
type: boolean
- name: invalidatetoolscacheapiv1mcptoolsdelete
method: DELETE
description: Invalidate Tools Cache
outputRawFormat: json
outputParameters:
- name: result
type: object
value: $.
inputParameters:
- name: url
in: query
type: string
required: true
- name: oauth_provider_id
in: query
type: string
- name: ls_user_id
in: query
type: string
authentication:
type: bearer
token: '{{env.LANGCHAIN_API_KEY}}'
exposes:
- type: rest
namespace: langchain-mcp-rest
port: 8080
description: REST adapter for LangSmith — mcp. One Spectral-compliant resource per consumed operation, prefixed with /v1.
resources:
- path: /v1/api/v1/mcp/proxy
name: api-v1-mcp-proxy
description: REST surface for api-v1-mcp-proxy.
operations:
- method: GET
name: proxygetapiv1mcpproxyget
description: Proxy Get
call: langchain-mcp.proxygetapiv1mcpproxyget
with:
url: rest.url
accept_stream: rest.accept_stream
timeout: rest.timeout
outputParameters:
- type: object
mapping: $.
- method: POST
name: proxyapiv1mcpproxypost
description: Proxy
call: langchain-mcp.proxyapiv1mcpproxypost
with:
body: rest.body
outputParameters:
- type: object
mapping: $.
- path: /v1/api/v1/mcp/tools
name: api-v1-mcp-tools
description: REST surface for api-v1-mcp-tools.
operations:
- method: GET
name: gettoolsapiv1mcptoolsget
description: Get Tools
call: langchain-mcp.gettoolsapiv1mcptoolsget
with:
url: rest.url
oauth_provider_id: rest.oauth_provider_id
ls_user_id: rest.ls_user_id
force_refresh: rest.force_refresh
outputParameters:
- type: object
mapping: $.
- method: DELETE
name: invalidatetoolscacheapiv1mcptoolsdelete
description: Invalidate Tools Cache
call: langchain-mcp.invalidatetoolscacheapiv1mcptoolsdelete
with:
url: rest.url
oauth_provider_id: rest.oauth_provider_id
ls_user_id: rest.ls_user_id
outputParameters:
- type: object
mapping: $.
- type: mcp
namespace: langchain-mcp-mcp
port: 9090
transport: http
description: MCP adapter for LangSmith — mcp. One tool per consumed operation, routed inline through this capability's
consumes block.
tools:
- name: proxy-get
description: Proxy Get
hints:
readOnly: true
destructive: false
idempotent: true
call: langchain-mcp.proxygetapiv1mcpproxyget
with:
url: tools.url
accept_stream: tools.accept_stream
timeout: tools.timeout
outputParameters:
- type: object
mapping: $.
- name: proxy
description: Proxy
hints:
readOnly: false
destructive: false
idempotent: false
call: langchain-mcp.proxyapiv1mcpproxypost
with:
body: tools.body
outputParameters:
- type: object
mapping: $.
- name: get-tools
description: Get Tools
hints:
readOnly: true
destructive: false
idempotent: true
call: langchain-mcp.gettoolsapiv1mcptoolsget
with:
url: tools.url
oauth_provider_id: tools.oauth_provider_id
ls_user_id: tools.ls_user_id
force_refresh: tools.force_refresh
outputParameters:
- type: object
mapping: $.
- name: invalidate-tools-cache
description: Invalidate Tools Cache
hints:
readOnly: false
destructive: true
idempotent: true
call: langchain-mcp.invalidatetoolscacheapiv1mcptoolsdelete
with:
url: tools.url
oauth_provider_id: tools.oauth_provider_id
ls_user_id: tools.ls_user_id
outputParameters:
- type: object
mapping: $.