Create Mcp Server
/v1/mcp-servers/
Add a new MCP server to the Letta MCP server config
Body Parameters
Returns
Create Mcp Server
curl https://api.letta.com/v1/mcp-servers/ \
-H 'Content-Type: application/json' \
-H "Authorization: Bearer $LETTA_API_KEY" \
-d '{
"args": [
"string"
],
"command": "command",
"server_name": "server_name"
}'
{
"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"
}