Update Mcp Server
mcp_servers.modify(strmcp_server_id, McpServerModifyParams**kwargs) -> McpServerModifyResponse
/v1/mcp-servers/{mcp_server_id}
Update an existing MCP server configuration
Parameters
mcp_server_id: str
Returns
Update Mcp Server
from letta_client import Letta
client = Letta(
api_key="My API Key",
)
response = client.mcp_servers.modify(
mcp_server_id="mcp_server_id",
)
print(response)
{
"args": [
"string"
],
"command": "command",
"server_name": "server_name",
"id": "mcp_server-123e4567-e89b-12d3-a456-426614174000",
"env": {
"foo": "string"
},
"type": "sse"
}Returns Examples
{
"args": [
"string"
],
"command": "command",
"server_name": "server_name",
"id": "mcp_server-123e4567-e89b-12d3-a456-426614174000",
"env": {
"foo": "string"
},
"type": "sse"
}