Letta · Schema

CreateStdioMCPServer

Create a new Stdio MCP server

AIAgentsStateful AgentsMemoryMemGPTContinual LearningMCPMulti-AgentRAGOpen Source

Properties

Name Type Description
mcp_server_type string
command string The command to run (MCP 'local' client will run this command)
args array The arguments to pass to the command
env object Environment variables to set
View JSON Schema on GitHub

JSON Schema

letta-createstdiomcpserver-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/CreateStdioMCPServer",
  "title": "CreateStdioMCPServer",
  "properties": {
    "mcp_server_type": {
      "type": "string",
      "const": "stdio",
      "title": "Mcp Server Type",
      "default": "stdio"
    },
    "command": {
      "type": "string",
      "title": "Command",
      "description": "The command to run (MCP 'local' client will run this command)"
    },
    "args": {
      "items": {
        "type": "string"
      },
      "type": "array",
      "title": "Args",
      "description": "The arguments to pass to the command"
    },
    "env": {
      "anyOf": [
        {
          "additionalProperties": {
            "type": "string"
          },
          "type": "object"
        },
        {
          "type": "null"
        }
      ],
      "title": "Env",
      "description": "Environment variables to set"
    }
  },
  "additionalProperties": false,
  "type": "object",
  "required": [
    "command",
    "args"
  ],
  "description": "Create a new Stdio MCP server"
}