docs: document per-call projectKey on MCP tools and fix parameter drift - #1003
Merged
Merged
Conversation
jonathannorris
marked this pull request as ready for review
September 24, 2026 19:01
jonathannorris
requested review from
cdruxerman,
kaushalkapasi and
leslie-lau
and
a lite review from Copilot
and removed request for
Copilot
September 24, 2026 19:01
Deploying devcycle-docs with
|
| Latest commit: |
1def868
|
| Status: | ✅ Deploy successful! |
| Preview URL: | https://115c753d.devcycle-docs.pages.dev |
| Branch Preview URL: | https://docs-mcp-project-key.devcycle-docs.pages.dev |
Contributor
There was a problem hiding this comment.
Copilot review overview
🔵 Needs a closer look
Two documentation inaccuracies remain regarding local project persistence and the unsupported summary parameter.
Review effort: Lite
Findings: None
What changed in this PR
Documents per-call projectKey support and updates MCP tool documentation to match current schemas.
Changes:
- Adds project-targeting guidance and session behavior.
- Corrects tool parameters and removes invalid evaluation filters.
- Removes the unregistered
list_projectstool.
| File | Summary |
|---|---|
docs/cli-mcp/mcp-reference.md |
Updates the MCP tool reference and project-targeting guidance. |
docs/cli-mcp/mcp-getting-started.md |
Removes list_projects from the tool overview. |
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
jonathannorris
enabled auto-merge (squash)
September 25, 2026 13:19
kaushalkapasi
approved these changes
Sep 25, 2026
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
projectKeyparameter on all 18 project-scoped MCP tools, added in DevCycleHQ/cli#589. It takes precedence over the project set byselect_project, and is how stateless MCP hosts that start a new session per request can target a project.select_projectthat its selection is session-scoped.update_featurewas missingconfigurationsandsummary;list_variableswas missingsortBy,sortOrder,feature,typeandstatus;create_variableandupdate_variablewere each missingpersistentandtags.platformandvariablefromget_project_total_evaluations; those only exist onget_feature_total_evaluations.list_projects, which is disabled in the server and registered nowhere, so it cannot be called.Related Issues
Relates to: DevCycleHQ/cli#589