Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

README.md

MCP Server Example

This example shows the governance seam for an MCP-style tool call.

It does not require the MCP SDK to run. The reviewPlannedToolCall handler is transport-neutral so it can be adapted to any MCP server implementation.

node src/server.js --smoke

Flow

  1. A client asks to run a tool.
  2. The server builds an action envelope from the tool name and input.
  3. A mock reviewer issues an approval lease for read-only actions.
  4. The tool executes only if the lease is valid.
  5. The server records an outcome receipt and proof bundle.

Production OSuite users can replace the mock reviewer with osuite.review(...) or an OSuite MCP connector.