-
Notifications
You must be signed in to change notification settings - Fork 1
cursor: BYOA slice 3 — Claude Code adapter (topology A, headless) #508
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,11 +1,13 @@ | ||
| # Codex ── mupot MCP server (EXAMPLE) | ||
| # Merge into ~/.codex/config.toml. Replace the host with your pot, and the token | ||
| # with the raw member token your pot minted (channel: workspace). Never commit the | ||
| # filled-in file — this placeholder version is the only one that belongs in git. | ||
| # Merge into ~/.codex/config.toml. Replace the host with your pot. | ||
| # Set the env var named below to the raw member token your pot minted | ||
| # (channel: workspace). Never commit the filled-in token — this placeholder | ||
| # version is the only one that belongs in git. | ||
| # | ||
| # Streamable-HTTP ONLY. Do NOT set type="sse" / transport=sse — Codex does not | ||
| # support SSE for remote MCP (see docs/connect-mcp-client.md). | ||
|
|
||
| [mcp_servers.mupot] | ||
| type = "sse" | ||
| url = "https://YOUR-POT.example.workers.dev/mcp" | ||
|
|
||
| [mcp_servers.mupot.headers] | ||
| Authorization = "Bearer <MUPOT_MEMBER_TOKEN>" | ||
| bearer_token_env_var = "MUPOT_MCP_TOKEN" | ||
| # then: export MUPOT_MCP_TOKEN=<MEMBER_TOKEN> (one line, no quotes/newline) |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,12 +1,12 @@ | ||
| { | ||
| "//": "Flock agent pack — Claude Code. Connects this agent to a mupot flock over the SOS bus.", | ||
| "//token": "Replace <SCOPED_BUS_TOKEN> with the project-scoped, agent-bound token your operator minted (project=<slug>, agent=<your-agent-name>). NEVER commit this file with a real token — it is gitignored.", | ||
| "//": "Flock agent pack — Claude Code (BYOA topology A). Connects this agent to mupot over remote HTTP MCP.", | ||
| "//token": "Replace <MUPOT_MEMBER_TOKEN> with the project-scoped, agent-bound token your operator minted. NEVER commit this file with a real token — it is gitignored.", | ||
| "mcpServers": { | ||
| "mumega-bus": { | ||
| "type": "sse", | ||
| "url": "https://mcp.mumega.com/sse", | ||
| "mupot": { | ||
| "type": "http", | ||
| "url": "https://YOUR-POT.example.workers.dev/mcp", | ||
| "headers": { | ||
| "Authorization": "Bearer <SCOPED_BUS_TOKEN>" | ||
| "Authorization": "Bearer <MUPOT_MEMBER_TOKEN>" | ||
|
Comment on lines
+5
to
+9
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
After following this new configuration and minting a Mupot member token, the pack still directs users to its unchanged Useful? React with 👍 / 👎. |
||
| } | ||
| } | ||
| } | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The prescribed
mint_agent_tokencredential is not project-scoped:mintAgentBoundTokengrantsmemberon the agent's entire squad, andtask_listdefaults to that squad unless aproject_idis explicitly supplied. When a squad contains multiple projects, an agent installed from this pack can therefore read and mutate tasks outside its purported project boundary, despite the template and skill telling operators that the token enforces project isolation.Useful? React with 👍 / 👎.