Update an MCP server
Update an MCP server
Update an MCP server’s URL, credential headers, or auth configuration. Passing headers replaces the entire stored header array — partial diffs are not supported. Use this endpoint to rotate credentials.
PATCH
Update an MCP server
Documentation Index
Fetch the complete documentation index at: https://docs.langchain.com/llms.txt
Use this file to discover all available pages before exploring further.
Authorizations
Path Parameters
MCP server ID.
Body
application/json
All fields are optional. Passing headers replaces the entire stored header array.
Response
MCP server updated.
Credential headers attached to every invocation of this MCP server. Omitted from response bodies when the caller lacks invoke permission on the server.
Whether the caller has invoke permission on this server. Omitted when ambient permissions already imply invoke.

