Skip to content

v0.2.0 — any MCP server behind a token, in one command

Choose a tag to compare

@github-actions github-actions released this 24 Nov 13:41
· 55 commits to main since this release

Any MCP server behind a signed token, in one command — and what the agent reads through one server stops what it can do through another.

curl -fsSL https://github.com/cleitonaugusto/cleimesh/releases/latest/download/install.sh | sh
cleimesh mcp add fetch --taints fetch -- uvx mcp-server-fetch
cleimesh mcp add fs --clean-only write_file -- npx -y @modelcontextprotocol/server-filesystem ~/work

New

  • cleimesh mcp add: creates the keys if missing, asks the server for its tools, issues a token for exactly those, and registers it with Claude Code (--print for Cursor and other clients). Every server added runs behind one cleimesh-mcp entry (mcp wrap --servers): one receipt log and one view of taint across all of them. Tested with the official fetch and filesystem servers in examples/mcp-add.
  • Egress decided on the connection, not the argument: the fetch_url built-in goes through the host's http_fetch, which follows redirects itself, re-checks every hop against the grant (--host name[:port]), pins the resolved address and refuses private, loopback and link-local answers unless --allow-private. cleimesh demo redirect shows an exfiltration through a redirect refused, with receipts.

Fixed

  • Allowance roots are checked against the owner key's issuer (step 3k of the AAT draft); --iss is gone.
  • A server behind mcp wrap --servers is called under its own token only.
  • The allowance spend ledger is kept across restarts by default and locked by one gateway (it reset whenever the MCP client restarted the server).
  • IPv6 forms that embed or reach a private address (6to4, local-use NAT64, Teredo, site-local) are refused like other private answers.
  • Calls to a native MCP server get 60 s (WASM tools keep 5 s).
  • WASI preview2 tool calls are refused instead of reporting a fake success.

Breaking

  • cleimesh allowance grant no longer takes --iss: the issuer is the owner key's RFC 9278 thumbprint. Allowances issued by 0.1.x are refused; issue them again.

Verify a download

Each binary has a .sha256 and signed build provenance:

gh attestation verify cleimesh-x86_64-unknown-linux-musl --repo cleitonaugusto/cleimesh