Skip to content

The Matrix (MCP)

Red Station uses the Model Context Protocol (MCP) to connect agents to the customized tools and data sources they need to do their job. We call this integration layer The Matrix.

Universal Connectivity

Instead of building custom integrations for every tool, Red Station acts as a universal MCP Client. Any standard MCP server can be plugged in to give agents new capabilities.

  • Filesystem: Read/Write files (Built-in).
  • Git: Commit, push, branch (Built-in).
  • GitHub: Create PRs, manage issues (External).
  • Slack: Send notifications (External).
  • Postgres: Query databases (External).

Tool Registry

Tools are namespaced by their MCP server to avoid collisions:

  • filesystem.read_file
  • git.commit
  • github.create_issue

CLI Commands

bash
# List connected MCP servers
pilot mcp servers --json

# List available tools across all servers
pilot mcp tools

# Call a tool directly (useful for testing/debugging)
pilot mcp call filesystem list_directory --args '{"path": "."}'

Configuration

Server connections are defined in ~/.pilot/mcp.yaml.

yaml
servers:
  # Built-in Python implementation
  filesystem:
    transport: builtin
    enabled: true

  # External Node.js implementation
  github:
    command: npx
    args: ["-y", "@modelcontextprotocol/server-github"]
    env:
      GITHUB_TOKEN: "${secrets.GITHUB_TOKEN}"
    enabled: true

Released under the MIT License.