Skip to content

Commit e110890

Browse files
authored
feat: update apollo-mcp-server to v0.5.2 (#26)
1 parent ab7fc1b commit e110890

File tree

3 files changed

+6
-9
lines changed

3 files changed

+6
-9
lines changed

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ ARG S6_OVERLAY_VERSION=3.2.1.0
66
# renovate: datasource=github-releases depName=apollographql/router
77
ARG APOLLO_ROUTER_VERSION=2.3.0
88
# renovate: datasource=github-releases depName=apollographql/apollo-mcp-server
9-
ARG APOLLO_MCP_SERVER_VERSION=0.4.2
9+
ARG APOLLO_MCP_SERVER_VERSION=0.5.2
1010

1111
LABEL org.opencontainers.image.version=0.0.5
1212
LABEL org.opencontainers.image.vendor="Apollo GraphQL"

README.md

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,6 @@ docker run \
2828
--env APOLLO_GRAPH_REF="your graph here" \
2929
--env APOLLO_KEY="your key here" \
3030
--env MCP_ENABLE=1 \
31-
--env MCP_UPLINK=1 \
3231
--rm \
3332
-p 4000:4000 \
3433
-p 5050:5000 \
@@ -43,13 +42,11 @@ We open two ports in the above command:
4342
The MCP Server included in this container is currently experimental and as such **should not be used in a production
4443
environment**. For more information see [here](https://www.apollographql.com/docs/graphos/resources/feature-launch-stages#experimental)
4544

46-
If you wish to enable it for testing purposes then set the environment variables `MCP_ENABLE` and `MCP_UPLINK` when running the
47-
container.
45+
If you wish to enable it for testing purposes then set the environment variable `MCP_ENABLE` when running the container.
4846

4947
```shell
5048
...
5149
--env MCP_ENABLE=1 \
52-
--env MCP_UPLINK=1 \
5350
...
5451
```
5552

@@ -153,7 +150,7 @@ these are as follows:
153150
| `APOLLO_KEY` | A valid API Key for Apollo Studio |
154151
| `APOLLO_GRAPH_REF` | The Graph Ref in Apollo Studio referenced by the Router and MCP Server |
155152
| `MCP_ALLOW_MUTATIONS` | Possible values: `none`, don't allow any mutations, `explicit` allow explicit mutations, but don't allow the LLM to build them, `all` Allow the LLM to build mutations |
156-
| `MCP_COLLECTION` | The ID of an operation collection to use as the source for operations |
153+
| `MCP_COLLECTION` | The ID of an operation collection to use as the source for operations (requires `APOLLO_KEY`). |
157154
| `MCP_DISABLE_TYPE_DESCRIPTION` | Disable operation root field types in tool description |
158155
| `MCP_DISABLE_SCHEMA_DESCRIPTION` | Disable schema type definitions referenced by all fields returned by the operation in the tool description |
159156
| `MCP_ENABLE` | Enable the MCP Server |
@@ -162,4 +159,4 @@ these are as follows:
162159
| `MCP_INTROSPECTION` | Enable the `--introspection` option for the MCP Server |
163160
| `MCP_LOG_LEVEL` | Change the level at which the MCP Server logs, possible values: `ERROR`, `WARN`, `INFO`, `DEBUG`, `TRACE` |
164161
| `MCP_SSE` | Use SSE as the transport protocol rather than streamable HTTP |
165-
| `MCP_UPLINK` | Enable use of Uplink to get the schema and persisted queries (Requires `APOLLO_KEY` and `APOLLO_GRAPH_REF`) |
162+
| `MCP_UPLINK_MANIFEST` | Enable use of Uplink to get the persisted queries (Requires `APOLLO_KEY` and `APOLLO_GRAPH_REF`) |

s6_service_definitions/mcp/run

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,8 @@ if [ -v MCP_ENABLE ]; then
3030
ARGS+=(--introspection)
3131
fi
3232

33-
if [[ -v MCP_UPLINK ]]; then
34-
ARGS+=(--uplink)
33+
if [[ -v MCP_UPLINK_MANIFEST ]]; then
34+
ARGS+=(--uplink-manifest)
3535
fi
3636

3737
if [[ -v MCP_COLLECTION ]]; then

0 commit comments

Comments
 (0)