feat(loop): print the MCP URL for sign-in; the header key is opt-in - #7
Merged
Merged
Conversation
The API is retiring the ?token= connector URL (robosystems #1268), so the loop stops minting one. up now records and prints the graph's MCP URL — add it in Claude or Claude Code and sign in as the demo account, the graph is preselected — and mints a graph-scoped key only with --connector-key, for clients that cannot sign in. Off by default so CI logs never carry a credential; --no-connector is accepted as a no-op.
…flag Completes the previous commit, which changed mint_connector_key's return shape without updating its caller.
jfrench9
added a commit
that referenced
this pull request
Aug 31, 2026
The `?token=` retirement landed in the code (#7) but left stale copy behind it. The Demo workflow still told operators to "generate the connector URL from the app's Connect page" — a page that now mints a header key, not a URL — and passed the retired `--no-connector` no-op. The README, justfile and package docstring still called the handoff a connector URL. The handoff is now stated once, consistently: `demo-up` prints the per-graph MCP URL, the client adds it and signs in as the demo account, and consent names the tenant because the URL pins the graph. The URL is not a credential, so the CI summary prints it in its own column. `--connector-key` stays. OAuth covers MCP clients only, so a viewer who cannot sign in as the demo account still needs a header key (Claude's "Additional request headers", a Cursor/VS Code mcp.json) — and the loop's own ROBOSYSTEMS_API_KEY is untouched by OAuth either way, since provisioning, loading and teardown are ordinary REST. Both hand-rolled httpx calls move onto typed SDK ops: client 1.12.0 carries `graph_id` on CreateAPIKeyRequest, so the escape hatch that mint_connector_key documented no longer exists. Same endpoints, same error handling as the other calls in the module.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Companion to RoboFinSystems/robosystems#1268 (the
?token=connector URL is retired).uprecordsmcp_urlin the state file and prints it: add it in Claude (custom connector) or Claude Code, sign in as the demo account — the graph is preselected on the consent screen.--connector-key(header-only clients), and stored asconnector_key; the default leaves no credential behind, which is what CI wants.--no-connectoris still accepted as a no-op so old invocations keep working.downstill revokes throughconnector_key_id; a legacyconnector_urlin an existing state file is dropped on the nextup.just test-allgreen.