macp-mcp
v0.3.0MCP server that lets any MCP client run or join a MACP Decision session
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
start_session
Start a new MACP Decision session with this agent as initiator. Returns the new session_id; share it with the other participants so they can join.
| Parameter | Type | Description |
|---|---|---|
intent * | string | What the group is deciding, in one sentence. |
participants * | array | MACP agent ids allowed to act in the session. This agent is added automatically if missing. |
context_id | string | Optional opaque reference to external context. |
ttl_ms | integer | Session time-to-live in milliseconds; 0 uses the server default. |
propose
Put an option up for decision in a session.
| Parameter | Type | Description |
|---|---|---|
option * | string | The option being proposed. |
proposal_id * | string | Short identifier for the proposal, unique within the session. |
session_id * | string | The MACP session id (from start_session). |
rationale | string | Why this option. |
evaluate
Record a scored assessment of a proposal before voting (optional step).
| Parameter | Type | Description |
|---|---|---|
confidence * | number | Confidence from 0.0 to 1.0. |
proposal_id * | string | Short identifier for the proposal, unique within the session. |
recommendation * | string | Your assessment of the proposal. |
session_id * | string | The MACP session id (from start_session). |
reason | string | Why. |
vote
Cast this agent's vote on a proposal. One vote per agent per proposal.
| Parameter | Type | Description |
|---|---|---|
proposal_id * | string | Short identifier for the proposal, unique within the session. |
session_id * | string | The MACP session id (from start_session). |
vote * | string | Your vote. |
reason | string | Why. |
commit
Resolve the session with a binding Commitment (normally the initiator). After this the session is RESOLVED and accepts no further messages.
| Parameter | Type | Description |
|---|---|---|
action * | string | The decided action, e.g. 'deployment.approved'. |
authority_scope * | string | The scope of authority the decision binds, e.g. 'release'. |
reason * | string | Why, e.g. which proposal won the vote. |
session_id * | string | The MACP session id (from start_session). |
outcome_positive | boolean | False when the decision is a rejection. |
get_session
Show a session's state, participants, proposals, evaluations, votes and winner. Reads the runtime's session history, so it includes every participant's messages.
| Parameter | Type | Description |
|---|---|---|
session_id * | string | The MACP session id (from start_session). |
get_commitment
Return a resolved session's binding Commitment and its RFC-MACP-0013 hash. `found` is false while the session is still open. `payload_b64` is the exact Commitment payload bytes the runtime recorded; `commitment_hash` is computed over them.
| Parameter | Type | Description |
|---|---|---|
session_id * | string | The MACP session id (from start_session). |
verify
Check a commitment hash by recomputing it (RFC-MACP-0013). Pass exactly one of session_id or payload_b64. `outcome` is `match`, `mismatch`, or `cannot_verify` (the payload itself is not hashable under the label).
| Parameter | Type | Description |
|---|---|---|
commitment_hash * | string | The claimed hash, 'sha256:' followed by 64 hex digits. |
payload_b64 | string | Or: base64 Commitment payload bytes you already hold. |
session_id | string | Re-fetch the Commitment from this session's runtime history. |