Open PluginsSupported Agents

For Plugin Builders

For Agent Builders

MCP Servers

Bundle Model Context Protocol servers to provide agents with additional tools and data sources.

Plugins can bundle Model Context Protocol (MCP) servers to provide the agent with additional tools and data sources.

Configuration Format

MCP servers are configured in .mcp.json at the plugin root.

{
  "mcpServers": {
    "plugin-database": {
      "command": "${PLUGIN_ROOT}/servers/db-server",
      "args": ["--config", "${PLUGIN_ROOT}/config.json"],
      "env": {
        "DB_PATH": "${PLUGIN_ROOT}/data"
      }
    },
    "plugin-api": {
      "command": "npx",
      "args": ["@company/mcp-server", "--plugin-mode"],
      "cwd": "${PLUGIN_ROOT}"
    }
  }
}

Server Configuration Schema

FieldRequiredTypeDescription
commandYesstringThe executable to run. Supports ${PLUGIN_ROOT}.
argsNostring[]Command-line arguments. ${PLUGIN_ROOT} is expanded.
envNoobjectEnvironment variables. Values support ${PLUGIN_ROOT}.
cwdNostringWorking directory. Supports ${PLUGIN_ROOT}.

Lifecycle

  • MCP servers MUST start automatically when the plugin is enabled.
  • MCP servers MUST stop when the plugin is disabled or the session ends.
  • If a server fails to start, the tool SHOULD log the error and continue.

Discovery

Tools MUST discover MCP server configurations in:

  1. .mcp.json at the plugin root
  2. Inline in the manifest's mcpServers field
  3. Any additional paths declared in the manifest

Compatibility

This spec does not redefine the MCP protocol. Plugin MCP servers MUST implement the Model Context Protocol as specified by that project.

On this page

GitHubEdit this page on GitHub