Letta · Schema

StreamableHTTPMCPServer

A Streamable HTTP MCP server

AIAgentsStateful AgentsMemoryMemGPTContinual LearningMCPMulti-AgentRAGOpen Source

Properties

Name Type Description
mcp_server_type string
server_url string The URL of the server
auth_header object The name of the authentication header (e.g., 'Authorization')
auth_token object The authentication token or API key value
custom_headers object Custom HTTP headers to include with requests
id string The human-friendly ID of the Mcp_server
server_name string The name of the MCP server
View JSON Schema on GitHub

JSON Schema

letta-streamablehttpmcpserver-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/StreamableHTTPMCPServer",
  "title": "StreamableHTTPMCPServer",
  "properties": {
    "mcp_server_type": {
      "type": "string",
      "const": "streamable_http",
      "title": "Mcp Server Type",
      "default": "streamable_http"
    },
    "server_url": {
      "type": "string",
      "title": "Server Url",
      "description": "The URL of the server"
    },
    "auth_header": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Auth Header",
      "description": "The name of the authentication header (e.g., 'Authorization')"
    },
    "auth_token": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Auth Token",
      "description": "The authentication token or API key value"
    },
    "custom_headers": {
      "anyOf": [
        {
          "additionalProperties": {
            "type": "string"
          },
          "type": "object"
        },
        {
          "type": "null"
        }
      ],
      "title": "Custom Headers",
      "description": "Custom HTTP headers to include with requests"
    },
    "id": {
      "type": "string",
      "pattern": "^mcp_server-[a-fA-F0-9]{8}",
      "title": "Id",
      "description": "The human-friendly ID of the Mcp_server",
      "examples": [
        "mcp_server-123e4567-e89b-12d3-a456-426614174000"
      ]
    },
    "server_name": {
      "type": "string",
      "title": "Server Name",
      "description": "The name of the MCP server"
    }
  },
  "additionalProperties": false,
  "type": "object",
  "required": [
    "server_url",
    "server_name"
  ],
  "description": "A Streamable HTTP MCP server"
}