Claude Code
Live-proven with an API key OAuth: built and tested, not run live
What Zyx serves and which gates apply: Use Zyx from your AI tool.
With an API key
Section titled “With an API key”-
In Zyx, open Manage, API & MCP and make a key for the person Claude Code acts as. Tick
read, andtoolsif it may change things. -
Paste the line the screen shows:
Terminal window claude mcp add --transport http zyx https://zyx.example.com/api/mcp \--header "Authorization: Bearer <key>"To work inside one folder, add
?folder=<folder>to the URL and give the server its own name, for examplezyx-client.A staff member who wants their own mail, Notion or other own sign-ins to answer adds
?private=1instead, for example aszyx-private. The calls then run in their private chat: only they read it, and every approval it asks for is theirs alone. -
In Claude Code,
/mcplistszyxas connected, and its tools appear asmcp__zyx__<tool>.
With OAuth
Section titled “With OAuth”This needs the operator to publish Zyx’s MCP and OAuth paths (see the
overview). Add the server without a header, then sign in from /mcp:
claude mcp add --transport http zyx https://zyx.example.com/api/mcpZyx’s consent screen asks for your Zyx sign-in and the scopes. The grant shows on the keys screen labelled OAuth; revoke it there.
Zyx’s screens inside Claude Code
Section titled “Zyx’s screens inside Claude Code”An optional Claude Code mod, zyx-screens, adds a status line (waiting, working, failed, session
cost) and a /zyx pane with the waiting cards, the files touched and the sources cited. A person can
press Approve or Reject there with a separate key that has only the approve scope. That key never
goes into the MCP config, so Claude Code itself can never approve.
What was proven
Section titled “What was proven”- A Claude Code session with the API key setup above called a Zyx tool against an installed Zyx and got the answer back.
- The OAuth path is proven by an automated test with the MCP SDK’s own OAuth client, not from a Claude Code session over a public address.