Skip to content

Update MCP options for rover dev #2661

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

Merged
merged 3 commits into from
Jul 11, 2025
Merged

Update MCP options for rover dev #2661

merged 3 commits into from
Jul 11, 2025

Conversation

DaleSeo
Copy link
Contributor

@DaleSeo DaleSeo commented Jul 11, 2025

This PR updates the MCP options for rover dev as follows:

  • --mcp-uplink is deprecated in favor of --mcp-uplink-manifest.
  • The missing --mcp-explorer and --mcp-log options have been added.

@DaleSeo DaleSeo self-assigned this Jul 11, 2025
@DaleSeo DaleSeo requested a review from a team as a code owner July 11, 2025 16:54
@apollo-librarian
Copy link
Contributor

apollo-librarian bot commented Jul 11, 2025

✅ Docs preview ready

The preview is ready to be viewed. View the preview

File Changes

0 new, 7 changed, 0 removed
* (developer-tools)/apollo-mcp-server/(latest)/command-reference.mdx
* (developer-tools)/apollo-mcp-server/(latest)/quickstart.mdx
* (developer-tools)/apollo-mcp-server/(latest)/guides/index.mdx
* graphos/routing/(latest)/operations/subscriptions/configuration.mdx
* graphos/routing/(latest)/performance/caching/entity.mdx
* graphos/routing/v1/customization/native-plugins.mdx
* graphos/routing/v1/graphos-reporting.mdx

Build ID: d676400e03a45d58c3cef379

URL: https://www.apollographql.com/docs/deploy-preview/d676400e03a45d58c3cef379

@DaleSeo DaleSeo requested review from Jephuff and pubmodmatt July 11, 2025 17:02
explorer: bool,

/// Change the level at which the MCP Server logs, possible values
#[arg(long = "mcp-log", default_value_t = Level::INFO)]
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't think we need this - it should just pass through the rover log level. IIRC, this is what it does for router.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sorry @pubmodmatt, I'm not familiar with the logging mechanism in Rover. What do I need to do to see the debug logs of the MCP server when I run it using rover dev?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Rover has its own -l DEBUG which should turn on MCP debug and router debug when using rover dev. But I think currently that only works for router - we need to have it pass through that value to the MCP server.

Copy link
Contributor Author

@DaleSeo DaleSeo Jul 11, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That explains why I couldn't see the debug logs! I've removed this. I'll create a backlog ticket.

#[arg(long = "mcp-uplink")]
uplink: bool,
/// Enable use of uplink to get persisted queries (requires APOLLO_KEY and APOLLO_GRAPH_REF)
#[arg(long = "mcp-uplink-manifest")]
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think you'd want to keep the old name but hide it, as is done in apollo-mcp-server, to avoid a breaking change here.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the feedback! I made mcp-uplink-manifest compatible with mcp-uplink.

@DaleSeo DaleSeo requested a review from pubmodmatt July 11, 2025 18:45
@DaleSeo DaleSeo enabled auto-merge (squash) July 11, 2025 18:50
@DaleSeo DaleSeo disabled auto-merge July 11, 2025 18:51
@DaleSeo DaleSeo merged commit 05dac49 into main Jul 11, 2025
32 checks passed
@DaleSeo DaleSeo deleted the GT-298 branch July 11, 2025 19:03
@DaleSeo DaleSeo added this to the v0.35.0 milestone Jul 30, 2025
@DaleSeo DaleSeo added the feature 🎉 new commands, flags, functionality, and improved error messages label Jul 30, 2025
@DaleSeo DaleSeo mentioned this pull request Jul 30, 2025
DaleSeo added a commit that referenced this pull request Jul 30, 2025
# [0.35.0] - 2025-07-30

## ❗ BREAKING ❗

- **use config file for MCP server - @nicholascioli PR #2665**

## 🚀 Features

- **Update MCP options for rover dev - @DaleSeo PR #2661**
- **Add schema name step to Connectors init workflow - @alyssahursh PR
#2647**
- **Allow running rover dev without --supergraph-config if you have a
rover.yaml in the current directory - @dylan-apollo PR #2650**
- **Updating output for init & renaming generated "supergraph.yaml" ->
"rover.yaml" - @tayrrible PR #2651**
- **Adds support for .env file for use with rover dev - @DMallare PR
#2646**
- **Add graph_ref to and remove federation_version from subgraph.yaml -
@alyssahursh PR #2649**
- **Hackathon improvements to supergraph.yaml - @dylan-apollo PR #2648**
- **Adding link to studio for graph & showing each step in creation
process via spinners - @tayrrible PR #2657**
- **Generates .env file with rover init - @DMallare PR #2652**
- **Remove use case guard clause in schema name prompt - @alyssahursh PR
#2655**
- **Set APOLLO_GRAPH_REF from rover.yaml's graph_ref - @dylan-apollo PR
#2653**
- **Adding apollo.config.yaml file for connectors projects - @tayrrible
PR #2658**
- **add a note about the need for APOLLO_KEY and APOLLO_GRAPH_REF when
using router features or connect - @the-gigi-apollo PR #2677**
- **Update Studio Client after loading .env in rover dev - @dylan-apollo
PR #2654**
- **Exposing org selector for all runs of init and changing prompt order
- @tayrrible PR #2656**


## 🛠 Maintenance

- **upgrade schemars and apollo-federation-types - @DaleSeo PR #2676**
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature 🎉 new commands, flags, functionality, and improved error messages
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants