Skip to main content

team-mcp

The team's control plane as an MCP server, so the gates stop belonging to one harness.

Every host that speaks MCP — Claude Code, Codex CLI, Hermes, OpenClaw — can call the same implementations, which means an approval means the same thing everywhere instead of meaning "OpenClaw checked it".

It reimplements no rule. Each tool shells out to the repository's own checkers, so the evaluation suite in pod/evaluation/ remains the definition of correct behaviour.

Tools

Tool Purpose
gate_check Gate A: verify a human ApprovalRecord against a DeliveryContract by content hash. Returns APPROVED or BLOCKED with reasons.
packet_validate Validate a TaskPacket against the shipped schema. A packet that fails does not start a pod.
report_validate Validate a CompletionReport.
ledger_append Append one timestamped, tamper-evident line to an engagement ledger.
roles_list The team as data: role, team, tier, exec posture, spawn list.
constitution The rules (C1–C8) every role obeys.

Tools only — no prompts, no resources — because a tool is the one primitive every host implements the same way.

Run it

pip install fdu-team-mcp            # or: uvx fdu-team-mcp
FDU_TEAM_ROOT=/path/to/team-repo fdu-team-mcp

FDU_TEAM_ROOT must point at a checkout of this repository: that is where the checkers, schemas and manifest live. Without it the server refuses to start rather than guessing.

Wire it into a harness

Claude Code — in .mcp.json (or the plugin's MCP block):

{ "mcpServers": { "team": {
    "command": "fdu-team-mcp",
    "env": { "FDU_TEAM_ROOT": "/path/to/team-repo" } } } }

Codex CLI:

codex mcp add team --env FDU_TEAM_ROOT=/path/to/team-repo -- fdu-team-mcp

Hermes / OpenClaw — both configure MCP servers in their own settings; point the command at fdu-team-mcp with the same env var.

Verify it works

python3 mcp/selftest_client.py

That spawns the server the way a harness does and speaks real stdio JSON-RPC at it: handshake, tool discovery, an approval that passes, an edited contract that is refused, a ledger append, a packet that validates and a template that does not. Eleven checks, all executed — see the run in the repository's CI.

What it does not do

  • It cannot prove authorship. gate_check proves a record matches the approved hash and that the approver identity differs from the requester. It cannot prove a human typed it. Sign the record if that matters.
  • It cannot enforce anything by itself. A host that ignores a BLOCKED result is a host that ignores it. The gate is a control only where the role contract says the role must call it before spawning — the constitution's C6 and C7.
  • It does not ship on npm. The control plane is Python because the validators are Python; an npm package would only hide that requirement, not remove it. pip install fdu-team-mcp and uvx fdu-team-mcp are the supported paths, and MCP hosts accept any command, so nothing downstream needs a Node package.

Metadata

Release files for fdu-team-mcp 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for fdu-team-mcp 0.1.0
File Size Uploaded Provenance Actions
fdu_team_mcp-0.1.0.tar.gz 9.8 kB With provenance Details for fdu_team_mcp-0.1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for fdu-team-mcp 0.1.0
File Interpreter ABI Platform Actions
fdu_team_mcp-0.1.0-py3-none-any.whl Python 3 none any Details for fdu_team_mcp-0.1.0-py3-none-any.whl

Total release size: 20.9 kB

Release files / fdu_team_mcp-0.1.0.tar.gz

Download URL fdu_team_mcp-0.1.0.tar.gz
Size 9.8 kB
Tags Source
SHA-256 checksum
How to use checksums
fd6ec7bc1f6b2096e7e68ef3d561f5e9b3374bad7382e0d8f2239dff76e5c45d
BLAKE2b-256 checksum
How to use checksums
173fcd5845088c2877cfd6b060a9a0e2cb4b0b00370b31cc57fb9cb247fbbb3e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 23, 2026.

Transparency log

Release files / fdu_team_mcp-0.1.0-py3-none-any.whl

Download URL fdu_team_mcp-0.1.0-py3-none-any.whl
Size 11.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
0c98922a09d59c2a729b2a9b10f0a48f88a029894e9d1672c5b8863a1caca6f2
BLAKE2b-256 checksum
How to use checksums
7d35ca3cef18056f3b60bbe3f6342e2564154bcead8903a9c687d286107b623c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 23, 2026.

Transparency log

Security for fdu-team-mcp 0.1.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for fdu_team_mcp-0.1.0.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 23, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page