Skip to content

Commit a482691

Browse files
authored
Fix and simplify the rover dev example commands (#66)
1 parent c6ff678 commit a482691

File tree

3 files changed

+7
-4
lines changed

3 files changed

+7
-4
lines changed

.github/CODEOWNERS

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
1-
* @apollographql/graph-tooling
1+
* @apollographql/graph-tooling
2+
docs @apollographql/docs @apollographql/graph-tooling

CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,9 @@ This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.htm
2323
- Log to stdout, not stderr (#59)
2424
- The `--directory` argument is now optional. When using the stdio transport, it is recommended to either set this option or use absolute paths for other arguments. (#64)
2525

26+
### 📚 Documentation
27+
- Fix and simplify the example `rover dev --mcp` commands
28+
2629
## [0.1.0] - 2025-05-15
2730

2831
### 🚀 Features

docs/source/quickstart.mdx

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -55,12 +55,11 @@ You can run the Apollo MCP Server together with a graph in a local development e
5555

5656
```sh showLineNumbers=false
5757
rover dev --supergraph-config ./graphql/TheSpaceDevs/supergraph.yaml \
58-
--mcp --sse-port 5000 \
58+
--mcp \
5959
--mcp-operations ./graphql/TheSpaceDevs/operations/ExploreCelestialBodies.graphql ./graphql/TheSpaceDevs/operations/GetAstronautDetails.graphql ./graphql/TheSpaceDevs/operations/GetAstronautsCurrentlyInSpace.graphql ./graphql/TheSpaceDevs/operations/SearchUpcomingLaunches.graphql
6060
```
6161

6262
- `--mcp` starts an Apollo MCP Server
63-
- `--sse-port` sets the port of the server's SSE transport
6463
- `--mcp-operations` sets the list of operations
6564

6665
1. Start MCP Inspector, then open a browser and go to [`http://127.0.0.1:6274`](http://127.0.0.1:6274):
@@ -71,7 +70,7 @@ You can run the Apollo MCP Server together with a graph in a local development e
7170

7271
1. Fill in the details in Inspector:
7372
- **Transport Type**: Select `SSE`
74-
- **URL**: Enter `http://localhost:5000/sse` (its port must match the `--mcp-port` of the server)
73+
- **URL**: Enter `http://localhost:5000/sse` (5000 is the default port of the MCP server)
7574

7675
1. Click **Connect**, then click **List Tool**. Inspector should show the tools from your server.
7776

0 commit comments

Comments
 (0)