Skip to main content

MCP server that exposes a CognOS agent system as a machine-readable graph

Project description

Conductor Graph MCP Server

Conductor-Graph-MCP

An MCP server that exposes a CognOS agent system as a machine-readable JSON graph. The conductor (Claude) calls a single tool and gets an immediate full system snapshot.

Built on the FNC architecture: Field (agents) → Node (processing) → Cockpit (oversight)


Installation

# From PyPI (recommended)
pip install conductor-graph-mcp

# Or from source
git clone https://github.com/base76-research-lab/conductor-graph-mcp
cd conductor-graph-mcp
pip install -e .

Usage with Claude Code

Add to ~/.claude/settings.json under mcpServers:

{
  "mcpServers": {
    "cognos-graph": {
      "command": "python3",
      "args": ["-m", "conductor_graph_mcp"],
      "env": {
        "COGNOS_BASE_URL": "http://127.0.0.1:8788",
        "COGNOS_API_KEY": "your-key"
      }
    }
  }
}

Or with uvx:

{
  "mcpServers": {
    "cognos-graph": {
      "command": "uvx",
      "args": ["conductor-graph-mcp"],
      "env": {
        "COGNOS_BASE_URL": "http://127.0.0.1:8788",
        "COGNOS_API_KEY": "your-key"
      }
    }
  }
}

Restart Claude Code — the server activates automatically.

Note: Requires MCP SDK ≥ 1.0 (mcp on PyPI).


Tools

Tool Description
get_agent_graph Full graph — nodes + edges + summary
get_node_status(node_id) Live status for a specific node
get_edges Only edges (communication flow)
get_blocked_nodes Shortcut: what is broken right now?

Known Node IDs

conductor
trustplane-gateway
token-compressor
session-memory
armada-bus
agent-critic
agent-curator
agent-ethics
agent-synth
agent-self
agent-srt
agent-indexer

Examples

get_agent_graph()                        # Full system overview
get_node_status("trustplane-gateway")    # One specific node
get_blocked_nodes()                      # What is broken?
get_edges()                              # Communication flow

Node Status — Data Sources

Node Source
trustplane-gateway HTTP GET /healthz + /v1/providers/health
token-compressor /tmp/b76_compress.log
session-memory /tmp/b76_save.log + SQLite traces.sqlite3
armada-bus /tmp/b76_armada_bus.json + /tmp/b76_armada_bus.log
agent-* psutil — is the process running?
conductor Always active (the conductor itself)

Environment Variables

Variable Default Description
COGNOS_BASE_URL http://127.0.0.1:8788 TrustPlane gateway URL
COGNOS_API_KEY (empty) API key for gateway auth

Verification

# Test that the server starts
python3 -m conductor_graph_mcp

# Stop the gateway → trustplane-gateway.status = "error"
# get_blocked_nodes() should return trustplane-gateway

# Run a /save → session-memory.metrics.entries increases
# get_node_status("session-memory") shows new count

License

MIT — Base76 Research Lab

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

conductor_graph_mcp-0.1.0.tar.gz (941.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

conductor_graph_mcp-0.1.0-py3-none-any.whl (8.2 kB view details)

Uploaded Python 3

File details

Details for the file conductor_graph_mcp-0.1.0.tar.gz.

File metadata

  • Download URL: conductor_graph_mcp-0.1.0.tar.gz
  • Upload date:
  • Size: 941.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.3

File hashes

Hashes for conductor_graph_mcp-0.1.0.tar.gz
Algorithm Hash digest
SHA256 535a72b40635c4e1b7239fa6b7d01c56ef5dad4e14e0ca2dd8b1031a6c3da3b4
MD5 04ec210f0c8ac6286e0fa6af048959bc
BLAKE2b-256 d87bdb2ef22a8151b475c2b5d3c25cb3a7ef8b7d7679edd7ae2af0e2f536a517

See more details on using hashes here.

File details

Details for the file conductor_graph_mcp-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for conductor_graph_mcp-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 7b7ae92aa8c7fac9f62fc7a30e779cfcb3b568416cc10ae2c42b60cf9b287b0a
MD5 db1e02d95baca163c3a42bc08eab692a
BLAKE2b-256 088e74000513c973847e1a5d8187a57d2be2faa89b53113833c465d6618df664

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page