Skip to content

Commit f34c11b

Browse files
committed
chore: fixing config and adding comments after rebase
1 parent 7a3fc4c commit f34c11b

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

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

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,8 @@ use url::Url;
88

99
use super::{
1010
OperationSource, SchemaSource, endpoint::Endpoint, graphos::GraphOSConfig,
11-
introspection::Introspection, logging::Logging, overrides::Overrides,
11+
introspection::Introspection, logging::Logging, overrides::Overrides, proxy::ProxyConfig,
1212
};
13-
use crate::runtime::proxy::ProxyConfig;
1413

1514
/// Configuration for the MCP server
1615
#[derive(Debug, Default, Deserialize, JsonSchema)]

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

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,17 @@ use serde::Deserialize;
33
use std::net::IpAddr;
44
use url::Url;
55

6-
/// Logging related options
6+
/// Proxy client related config options
7+
/// Note: only supported for Streamable HTTP
78
#[derive(Debug, Deserialize, JsonSchema, Default)]
89
#[serde(default)]
910
pub struct ProxyConfig {
1011
/// Flag indicating whether the proxy client is enabled or not
1112
#[serde(default)]
1213
pub enabled: bool,
1314

15+
/// Proxy url address
16+
/// [default: http://<transport.address>:<transport.port>/mcp]
1417
#[serde(default)]
1518
pub url: Option<Url>,
1619
}

0 commit comments

Comments
 (0)