-
Notifications
You must be signed in to change notification settings - Fork 45
Change default port from 5000 to 8000 #417
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
Changes from 1 commit
1899899
47c1367
4bd07ba
373b34d
93e607b
bf4cba2
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change | ||||||
---|---|---|---|---|---|---|---|---|
|
@@ -38,28 +38,22 @@ Here is an example configuration you can use _(Note: you must provide your fill | |||||||
"thespacedevs": { | ||||||||
"command": "/Users/michaelwatson/Documents/GitHub/apollographql/apollo-mcp-server/target/debug/apollo-mcp-server", | ||||||||
"args": [ | ||||||||
"--directory", | ||||||||
"/Users/michaelwatson/Documents/GitHub/apollographql/apollo-mcp-server/graphql/TheSpaceDevs", | ||||||||
"--schema", | ||||||||
"api.graphql", | ||||||||
"--operations", | ||||||||
"operations", | ||||||||
"--endpoint", | ||||||||
"https://thespacedevs-production.up.railway.app/", | ||||||||
"--introspection" | ||||||||
"graphql/TheSpaceDevs/config.yaml" | ||||||||
] | ||||||||
} | ||||||||
} | ||||||||
} | ||||||||
``` | ||||||||
|
||||||||
## Using Server-Side-Events (SSE) with Apollo MCP server | ||||||||
## Using Streamable HTTP with Apollo MCP server | ||||||||
|
||||||||
There are operations located at `./operations/*.graphql` for you to use in your configuration. You can provide a set of operations in your MCP configuration along with the `--introspection` option that enables the LLM to generate a dynamic operation along with the ability to execute it. | ||||||||
There are operations located at `./operations/*.graphql` for you to use in your configuration. You can provide a set of operations in your MCP configuration that enables the LLM to generate a dynamic operation along with the ability to execute it. | ||||||||
|
||||||||
### Running SSE with `rover dev` | ||||||||
### Running with `rover dev` | ||||||||
|
||||||||
**_Coming soon_** | ||||||||
```BASH | ||||||||
rover dev --supergraph-config supergraph.yaml --mcp config.yaml | ||||||||
``` | ||||||||
|
||||||||
### Running Apollo MCP server Docker image | ||||||||
|
||||||||
|
@@ -70,24 +64,24 @@ docker run \ | |||||||
-it --rm \ | ||||||||
--name apollo-mcp-server \ | ||||||||
-p 8000:8000 \ | ||||||||
-v $PWD/graphql/TheSpaceDevs/config.yaml \ | ||||||||
|
-v $PWD/graphql/TheSpaceDevs/config.yaml \ | |
-v $PWD/graphql/TheSpaceDevs/config.yaml:/config.yaml \ |
I forget, does this need the path on the other side to tell docker where to mount the file?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You're right and I copied that from our deploy docs! 😂 Will fix it in both places.
apollo-mcp-server/docs/source/deploy.mdx
Line 75 in 93e607b
-v <path/to>/mcp_config.yaml \ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I also didn't realize this path was hardcoded to
/Users/michaelwatson
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It really shows how long ago this README.md was written. We should probably delete it and just use the official docs instead.