Approval Workflow
How to review and approve server changes
The approval workflow is the human element of MCPTrust.
- Developer makes changes: Modifies server code.
- Developer runs lock: `mcptrust lock -- "npx -y @modelcontextprotocol/server-filesystem /tmp"` updates the lockfile.
- Developer commits: Pushes code + lockfile to a Pull Request.
- Approver reviews:
- Checks the code changes.
- Checks `git diff mcp-lock.json` to see capability changes.
- Approver signs:
- `mcptrust sign` (using the private key).
- Commits `mcp-lock.json.sig`.
- Merge: The PR is merged.
In this model, the signature is the proof that a human review occurred.