macp-mcp

v0.3.0
macp-mcp Checked 12 hours ago Published 24 days ago

MCP 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.

ParameterTypeDescription
intent *stringWhat the group is deciding, in one sentence.
participants *arrayMACP agent ids allowed to act in the session. This agent is added automatically if missing.
context_idstringOptional opaque reference to external context.
ttl_msintegerSession time-to-live in milliseconds; 0 uses the server default.

propose

Put an option up for decision in a session.

ParameterTypeDescription
option *stringThe option being proposed.
proposal_id *stringShort identifier for the proposal, unique within the session.
session_id *stringThe MACP session id (from start_session).
rationalestringWhy this option.

evaluate

Record a scored assessment of a proposal before voting (optional step).

ParameterTypeDescription
confidence *numberConfidence from 0.0 to 1.0.
proposal_id *stringShort identifier for the proposal, unique within the session.
recommendation *stringYour assessment of the proposal.
session_id *stringThe MACP session id (from start_session).
reasonstringWhy.

vote

Cast this agent's vote on a proposal. One vote per agent per proposal.

ParameterTypeDescription
proposal_id *stringShort identifier for the proposal, unique within the session.
session_id *stringThe MACP session id (from start_session).
vote *stringYour vote.
reasonstringWhy.

commit

Resolve the session with a binding Commitment (normally the initiator). After this the session is RESOLVED and accepts no further messages.

ParameterTypeDescription
action *stringThe decided action, e.g. 'deployment.approved'.
authority_scope *stringThe scope of authority the decision binds, e.g. 'release'.
reason *stringWhy, e.g. which proposal won the vote.
session_id *stringThe MACP session id (from start_session).
outcome_positivebooleanFalse 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.

ParameterTypeDescription
session_id *stringThe 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.

ParameterTypeDescription
session_id *stringThe 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).

ParameterTypeDescription
commitment_hash *stringThe claimed hash, 'sha256:' followed by 64 hex digits.
payload_b64stringOr: base64 Commitment payload bytes you already hold.
session_idstringRe-fetch the Commitment from this session's runtime history.