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. Takes paths, JSON strings or objects.
packet_validate Validate a TaskPacket against the shipped schema. A packet that fails does not start a pod. Takes a path or the document text.
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.

Every tool accepts the document itself as well as a file path. A path only resolves when the client shares a filesystem with the server; a hosted session or a sandboxed client passes the content instead.

Run it

pip install fdu-team-mcp            # published: https://pypi.org/project/fdu-team-mcp/
fdu-team-mcp                        # no configuration needed

The wheel carries its own data: the policy matrix, schemas, constitution, all 15 role contracts and the real validators, copied from the repository at build time and hash-recorded in data/BUNDLE.json (CI fails if the repository changes and the bundle is not refreshed). Installing the package is the whole setup.

FDU_TEAM_ROOT is a maintainer override: point it at a checkout and the server reads that repository's data instead of the bundled copy. It changes which data is read, never which code runs.

Releasing a new version: docs/PUBLISHING.md.

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 — nothing to do. The plugin ships .mcp.json:

{ "mcpServers": { "team": { "command": "fdu-team-mcp", "args": [] } } }

Registering it by hand is only needed where the plugin is not used, and takes the same two lines.

Codex CLI:

codex mcp add team -- 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.2.3

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.2.3
File Size Uploaded Provenance Actions
fdu_team_mcp-0.2.3.tar.gz 35.9 kB With provenance Details for fdu_team_mcp-0.2.3.tar.gz

Built distribution (wheel)

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

Total release size: 87.1 kB

Release files / fdu_team_mcp-0.2.3.tar.gz

Download URL fdu_team_mcp-0.2.3.tar.gz
Size 35.9 kB
Tags Source
SHA-256 checksum
How to use checksums
c75573d5035261960deb87e7ea25b23f6c66ef5c8b82a19f8ec1d645c87ecad0
BLAKE2b-256 checksum
How to use checksums
5e45816ff86869c023a8d223489e42406f008eb4f621a0deb39a71820f0e10f7
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 24, 2026.

Transparency log

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

Download URL fdu_team_mcp-0.2.3-py3-none-any.whl
Size 51.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
df1343162cc721b53989c899030a164b9aab6309777b0d36fd5d6117d41739f3
BLAKE2b-256 checksum
How to use checksums
7d9048b687b5ee3b209801ceb80b5d0d8ada1068fca44600f37ece7d48df82ba
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 24, 2026.

Transparency log

Security for fdu-team-mcp 0.2.3

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.2.3.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 24, 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