Conductor Graph Mcp

io.github.base76-research-lab由 GitHub 账号 base76-research-lab 发布v0.1.1更新于 Oct 24, 2026

Exposes a CognOS agent system as a machine-readable graph. Full system snapshot with one tool call.

已验证STDIO仅桌面安全与监控AI 与机器学习

概览

AI 生成的概览

把本地 CognOS 智能体系统以 JSON 图形式暴露出来,让助手一次调用即可获取节点、边和状态的完整快照。

可以做什么
  • 获取完整智能体图,包含节点、边和摘要
  • 查询指定节点的实时状态
  • 只列出表示通信流向的边
  • 快速列出当前被阻塞或故障的节点
  • 状态数据来自网关健康检查接口、日志文件、SQLite 追踪数据库和进程检查
适用场景
适合在本地运行 CognOS/TrustPlane 智能体栈时使用,让助手查看系统拓扑、梳理通信流向,或快速判断哪些节点宕机或被阻塞。
运行要求
以本地 Python 包方式运行(pip install conductor-graph-mcp 或 uvx),需要 MCP SDK 1.0 及以上。需要可访问的 TrustPlane/CognOS 网关,通过 COGNOS_BASE_URL 配置(默认 COGNOS_API_KEY 用于网关认证。会读取本机日志文件和 SQLite 数据库。
安装前请注意
COGNOS_API_KEY 是通过环境变量传入的密钥,不要写入共享配置文件。服务器会读取 /tmp 下的日志文件和 SQLite 追踪数据库,因而能看到其中的内容。按文档所述工具为只读,但会访问所配置的网关地址,请只指向可信端点。

安装

在 SourceWeft 中

  1. 打开 控制台中的 Conductor Graph Mcp,将其添加到工作区。
  2. 为需要使用其工具的对话启用该服务。

Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。

其他 MCP 客户端

参照 仓库 中的启动说明。

README

Conductor Graph MCP Server

mcp-name: io.github.base76-research-lab/conductor-graph-mcp

[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

bash
# From PyPI (recommended)pip install conductor-graph-mcp
# Or from sourcegit clone https://github.com/base76-research-lab/conductor-graph-mcpcd conductor-graph-mcppip install -e .

Usage with Claude Code

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

json
{  "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:

json
{  "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

ToolDescription
get_agent_graphFull graph — nodes + edges + summary
get_node_status(node_id)Live status for a specific node
get_edgesOnly edges (communication flow)
get_blocked_nodesShortcut: what is broken right now?

Known Node IDs

conductortrustplane-gatewaytoken-compressorsession-memoryarmada-busagent-criticagent-curatoragent-ethicsagent-synthagent-selfagent-srtagent-indexer

Examples

get_agent_graph()                        # Full system overviewget_node_status("trustplane-gateway")    # One specific nodeget_blocked_nodes()                      # What is broken?get_edges()                              # Communication flow

Node Status — Data Sources

NodeSource
trustplane-gatewayHTTP 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?
conductorAlways active (the conductor itself)

Environment Variables

VariableDefaultDescription
COGNOS_BASE_URLhttp://127.0.0.1:8788TrustPlane gateway URL
COGNOS_API_KEY(empty)API key for gateway auth

Verification

bash
# Test that the server startspython3 -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

来源:README.md,提交 cb3b581

工具

0
SourceWeft 尚未在沙箱中启动过该软件包,因此其工具未知。

版本历史

1
  1. v0.1.1最新Sep 16, 2026

评分

已满足适用检查项的 40%

该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。

  • 近 30 天内可连通25 分

    请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。

  • 已声明认证方式10 分

    请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。

  • 已列出工具15 分

    请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。

  • 描述必需15 分
  • 图标10 分
  • 文档15 分
  • 许可证10 分

    请在仓库或注册中心条目中声明许可证。