Configuration File Location

Path: <anythingllm_storage_directory>/plugins/anythingllm_mcp_servers.json

Supported Transport Types

  • StdIO (Default): Requires command and optional args and env.
  • SSE / Streamable: Requires url and optional headers. Specify via "type": "sse" or "type": "streamable".

Configuration Schema & Examples

{
  "mcpServers": {
    "face-generator": {
      "command": "npx",
      "args": [
        "@dasheck0/face-generator"
      ],
      "env": { 
        "MY_ENV_VAR": "my-env-var-value"
      },
      "anythingllm": {
        "autoStart": false
      }
    },
    "mcp-youtube": {
      "command": "uvx",
      "args": [
        "mcp-youtube"
      ]
    },
    "postgres-http": {
      "type": "streamable",
      "url": "https://allm.loca.zone",
      "headers": {
        "X-API-KEY": "api-key"
      }
    }
  }
}

Autostart Prevention

To prevent an MCP server from starting automatically at boot, add the anythingllm.autoStart property set to false inside the server configuration object:

"anythingllm": {
  "autoStart": false
}

Management UI Actions

  • Reload/Restart all MCP Servers from the configuration file.
  • View status and error logs.
  • Start, stop, and delete servers.
  • View all loaded tools.