Skip to content

Commit f3a5da2

Browse files
committed
feat: fixing test and updating docs
1 parent 5085099 commit f3a5da2

File tree

2 files changed

+17
-2
lines changed

2 files changed

+17
-2
lines changed

crates/apollo-mcp-server/src/runtime.rs

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,9 @@ mod test {
165165
},
166166
),
167167
graphos: GraphOSConfig {
168-
apollo_key: None,
168+
apollo_key: Some(
169+
SecretBox<str>([REDACTED]),
170+
),
169171
apollo_graph_ref: None,
170172
apollo_registry_url: None,
171173
apollo_uplink_endpoints: [
@@ -251,6 +253,10 @@ mod test {
251253
},
252254
schema: Uplink,
253255
transport: Stdio,
256+
proxy: ProxyConfig {
257+
enabled: false,
258+
url: None,
259+
},
254260
}
255261
"#);
256262
Ok(())

docs/source/command-reference.mdx

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ operations:
5454
All fields are optional.
5555
5656
| Option | Type | Default | Description |
57-
| :--------------- | :-------------------- | :----------------------- | :------------------------------------------------------------ |
57+
|:-----------------|:----------------------| :----------------------- |:--------------------------------------------------------------|
5858
| `custom_scalars` | `FilePath` | | Path to a custom scalar map |
5959
| `endpoint` | `URL` | `http://localhost:4000/` | The target GraphQL endpoint |
6060
| `graphos` | `GraphOS` | | Apollo-specific credential overrides |
@@ -66,6 +66,7 @@ All fields are optional.
6666
| `overrides` | `Overrides` | | Overrides for server behavior |
6767
| `schema` | `SchemaSource` | | Schema configuration |
6868
| `transport` | `Transport` | | The type of server transport to use |
69+
| `proxy` | `Proxy` | | Proxy configuration |
6970

7071
### GraphOS
7172

@@ -224,6 +225,14 @@ transport:
224225
- mcp
225226
- profile
226227
```
228+
### Proxy
229+
230+
These fields are under the top-level `proxy` key.
231+
232+
| Option | Type | Default | Description |
233+
|:------------------| :---------------------------------- |:--------------------------------------------------|:---------------------------------------------------------------------------------------------------------------------------------|
234+
| `enabled` | `bool` | `false` | Flag indicating whether to enable or disable the proxy client |
235+
| `url` | `bool` | `http://<transport.address>:<transport.port>/mcp` | Where to the proxy client routes requests to |
227236

228237
## Run a local graph with MCP server using `rover dev`
229238

0 commit comments

Comments
 (0)