Repository navigation
Add configure-mcp command for coding agents - #184
Merged
Merged
Conversation
Contributor
|
I'll fix CI failures and address comments from users with write access that start with 'Devin'.
|
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.
Summary
Adds
parallel-cli configure-mcpto set up the Parallel MCP in Codex, Claude Code, Antigravity, Pi and OpenCode.https://mcp.parallel.ai/mcp?loginwith no auth header. It creates one user-owned API key (POST /service/v1/apps/{app_id}/keyson theparallel-cli Usersapp) and merges aparallelentry with that key into each agent's own MCP credential store:$CODEX_HOME/.credentials.json(file mode only)~/.claude/.credentials.jsonon other platformsmcp_oauth_tokens.json~/.pi/agent/mcp-auth.json, using the format for the installed Pi versionmcp-auth.jsoncodex-desktop(shares~/.codex/config.toml, written once with the CLI) andantigravity-desktop(~/.gemini/config/mcp_config.json) get a?loginentry plus the app's Authenticate steps.claude-desktoponly takes stdio in its JSON config, so the command prints the Customize → Connectors steps. Desktop-only runs never create a key.claude mcp login parallel. Codex inautoorkeyringmode prints its own sign-in command.?loginauthenticates without an OAuth challenge. When a store is unreadable or unsupported, no key is written and the agent's sign-in command is printed. No key is created if no selected agent can take one./mcp(free MCP) without copying the key, and prints a warning to runparallel-cli loginand rerun with--force.0600. Use--forceto replace an existingparallelentry. OpenCode updates keep existing comments and substitutions. If several files defineparallel, the CLI lists them so you can keep the entry in one place before retrying. If a config key uses a substitution, setup asks you to edit it in OpenCode or use a literal key. WhenOPENCODE_CONFIG_CONTENTis set, setup leaves OpenCode files alone and prints how to proceed.docs/configure-mcp.md, linked from the README.Verification
Live on Linux: real
parallel-cli loginon the test account, thenconfigure-mcp --allin a tempHOMEwith all five agent CLIs installed. Each agent connected through its credential store with authenticated tools (web_researchpresent). The test key was deleted afterwards. Free mode was verified earlier with all five agents. That Linux run predates the latest credential and OpenCode changes. Pi 0.99.0 and 1.7.0 connected in both modes against a local test server. OpenCode 1.19.6 resolved the updated layered config in both modes. The macOS sign-in paths were checked with synthetic credentials. Desktop steps were checked against vendor docs.Check output