You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CHANGELOG.md
+184-2Lines changed: 184 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,6 +4,188 @@ All notable changes to this project will be documented in this file.
4
4
5
5
This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
6
6
7
+
# [0.9.0] - 2025-09-24
8
+
9
+
## 🚀 Features
10
+
11
+
### Prototype OpenTelemetry Traces in MCP Server - @swcollard PR #274
12
+
13
+
Pulls in new crates and SDKs for prototyping instrumenting the Apollo MCP Server with Open Telemetry Traces.
14
+
15
+
- Adds new rust crates to support OTel
16
+
- Annotates excecute and call_tool functions with trace macro
17
+
- Adds Axum and Tower middleware's for OTel tracing
18
+
- Refactors Logging so that all the tracing_subscribers are set together in a single module.
19
+
20
+
### Add CORS support - @DaleSeo PR #362
21
+
22
+
This PR implements comprehensive CORS support for Apollo MCP Server to enable web-based MCP clients to connect without CORS errors. The implementation and configuration draw heavily from the Router's approach. Similar to other features like health checks and telemetry, CORS is supported only for the StreamableHttp transport, making it a top-level configuration.
23
+
24
+
### Enhance tool descriptions - @DaleSeo PR #350
25
+
26
+
This PR enhances the descriptions of the introspect and search tools to offer clearer guidance for AI models on efficient GraphQL schema exploration patterns.
27
+
28
+
### Telemetry: Trace operations and auth - @swcollard PR #375
29
+
30
+
- Adds traces for the MCP server generating Tools from Operations and performing authorization
31
+
- Includes the HTTP status code to the top level HTTP trace
32
+
33
+
### Implement metrics for mcp tool and operation counts and durations - @swcollard PR #297
34
+
35
+
This PR adds metrics to count and measure request duration to events throughout the MCP server
36
+
37
+
- apollo.mcp.operation.duration
38
+
- apollo.mcp.operation.count
39
+
- apollo.mcp.tool.duration
40
+
- apollo.mcp.tool.count
41
+
- apollo.mcp.initialize.count
42
+
- apollo.mcp.list_tools.count
43
+
- apollo.mcp.get_info.count
44
+
45
+
### Adding ability to omit attributes for traces and metrics - @alocay PR #358
46
+
47
+
Adding ability to configure which attributes are omitted from telemetry traces and metrics.
48
+
49
+
1. Using a Rust build script (`build.rs`) to auto-generate telemetry attribute code based on the data found in `telemetry.toml`.
50
+
2. Utilizing an enum for attributes so typos in the config file raise an error.
51
+
3. Omitting trace attributes by filtering it out in a custom exporter.
52
+
4. Omitting metric attributes by indicating which attributes are allowed via a view.
53
+
5. Created `telemetry_attributes.rs` to map `TelemetryAttribute` enum to a OTEL `Key`.
54
+
55
+
The `telemetry.toml` file includes attributes (both for metrics and traces) as well as list of metrics gathered. An example would look like the following:
56
+
57
+
```
58
+
[attributes.apollo.mcp]
59
+
my_attribute = "Some attribute info"
60
+
61
+
[metrics.apollo.mcp]
62
+
some.count = "Some metric count info"
63
+
```
64
+
65
+
This would generate a file that looks like the following:
A new optional new MCP Server configuration parameter, `transport.auth.disable_auth_token_passthrough`, which is `false` by default, that when true, will no longer pass through validated Auth tokens to the GraphQL API.
Adding configuration option to sample traces. Can use the following options:
128
+
129
+
1. Ratio based samples (ratio >= 1 is always sample)
130
+
2. Always on
131
+
3. Always off
132
+
133
+
Defaults to always on if not provided.
134
+
135
+
## 🐛 Fixes
136
+
137
+
### Update SDL handling in sdl_to_api_schema function - @lennyburdette PR #365
138
+
139
+
Loads supergraph schemas using a function that supports various features, including Apollo Connectors. When supergraph loading failed, it would load it as a standard GraphQL schema, which reveals Federation query planning directives in when using the `search` and `introspection` tools.
140
+
141
+
### Include the cargo feature and TraceContextPropagator to send otel headers downstream - @swcollard PR #307
142
+
143
+
Inside the reqwest middleware, if the global text_map_propagator is not set, it will no op and not send the traceparent and tracestate headers to the Router. Adding this is needed to correlate traces from the mcp server to the router or other downstream APIs
144
+
145
+
### Add support for deprecated directive - @esilverm PR #367
146
+
147
+
Includes any existing `@deprecated` directives in the schema in the minified output of builtin tools. Now operations generated via these tools should take into account deprecated fields when being generated.
We've been seeing errors with state and session handling in the MCP Server. Whether that is requests being sent before the initialized notification is processed. Or running a fleet of MCP Server pods behind a round robin load balancer. A new configuration option under the streamable_http transport `stateful_mode`, allows disabling session handling which appears to fix the race condition issue.
Update the RMCP dependency to the latest version, pulling in newer specification changes.
168
+
169
+
### Pin stable rust version - @nicholascioli PR #287
170
+
171
+
Pins the stable version of Rust to the current latest version to ensure backwards compatibility with future versions.
172
+
173
+
### Add tests for server event and SupergraphSdlQuery - @DaleSeo PR #347
174
+
175
+
This PR adds tests for some uncovered parts of the codebase to check the Codecov integration.
176
+
177
+
### Configure Codecov with coverage targets - @DaleSeo PR #337
178
+
179
+
This PR adds `codecov.yml` to set up Codecov with specific coverage targets and quality standards. It helps define clear expectations for code quality. It also includes some documentation about code coverage in `CONTRIBUTING.md` and adds the Codecov badge to `README.md`.
180
+
181
+
### Implement Test Coverage Measurement and Reporting - @DaleSeo PR #335
182
+
183
+
This PR adds the bare minimum for code coverage reporting using [cargo-llvm-cov](https://crates.io/crates/cargo-llvm-cov) and integrates with [Codecov](https://www.codecov.io/). It adds a new `coverage` job to the CI workflow that generates and uploads coverage reporting in parallel with existing tests. The setup mirrors that of Router, except it uses `nextest` instead of the built-in test runner and CircleCI instead of GitHub Actions.
184
+
185
+
### Fix version on mcp server tester - @alocay PR #374
186
+
187
+
Add a specific version when calling the mcp-server-tester for e2e tests. The current latest (1.4.1) as an issue so to avoid problems now and in the future updating the test script to invoke the testing tool via specific version.
188
+
7
189
# [0.8.0] - 2025-09-12
8
190
9
191
## 🚀 Features
@@ -30,8 +212,6 @@ Update the RMCP dependency to the latest version, pulling in newer specification
30
212
31
213
Pins the stable version of Rust to the current latest version to ensure backwards compatibility with future versions.
32
214
33
-
34
-
35
215
# [0.7.5] - 2025-09-03
36
216
37
217
## 🐛 Fixes
@@ -51,6 +231,7 @@ This change also updates the input schema to the execute tool to make it more cl
51
231
Adding some basic e2e tests using [mcp-server-tester](https://github.com/steviec/mcp-server-tester). Currently, the tool does not always exit (ctrl+c is sometimes needed) so this should be run manually.
52
232
53
233
### How to run tests?
234
+
54
235
Added a script `run_tests.sh` (may need to run `chmod +x` to run it) to run tests. Basic usage found via `./run_tests.sh -h`. The script does the following:
55
236
56
237
1. Builds test/config yaml paths and verifies the files exist.
@@ -60,6 +241,7 @@ Added a script `run_tests.sh` (may need to run `chmod +x` to run it) to run test
60
241
5. On script exit the generated config is cleaned up.
61
242
62
243
### Example run:
244
+
63
245
To run the tests for `local-operations` simply run `./run_tests.sh local-operations`
0 commit comments