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
+164-2Lines changed: 164 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,6 +4,168 @@ 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:
Adding configuration option to sample traces. Can use the following options:
124
+
125
+
1. Ratio based samples (ratio >= 1 is always sample)
126
+
2. Always on
127
+
3. Always off
128
+
129
+
Defaults to always on if not provided.
130
+
131
+
## 🐛 Fixes
132
+
133
+
### Update SDL handling in sdl_to_api_schema function - @lennyburdette PR #365
134
+
135
+
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.
136
+
137
+
### Include the cargo feature and TraceContextPropagator to send otel headers downstream - @swcollard PR #307
138
+
139
+
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
140
+
141
+
### Add support for deprecated directive - @esilverm PR #367
142
+
143
+
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.
158
+
159
+
## 🛠 Maintenance
160
+
161
+
### Add tests for server event and SupergraphSdlQuery - @DaleSeo PR #347
162
+
163
+
This PR adds tests for some uncovered parts of the codebase to check the Codecov integration.
164
+
165
+
### Fix version on mcp server tester - @alocay PR #374
166
+
167
+
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.
168
+
7
169
# [0.8.0] - 2025-09-12
8
170
9
171
## 🚀 Features
@@ -30,8 +192,6 @@ Update the RMCP dependency to the latest version, pulling in newer specification
30
192
31
193
Pins the stable version of Rust to the current latest version to ensure backwards compatibility with future versions.
32
194
33
-
34
-
35
195
# [0.7.5] - 2025-09-03
36
196
37
197
## 🐛 Fixes
@@ -51,6 +211,7 @@ This change also updates the input schema to the execute tool to make it more cl
51
211
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
212
53
213
### How to run tests?
214
+
54
215
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
216
56
217
1. Builds test/config yaml paths and verifies the files exist.
@@ -60,6 +221,7 @@ Added a script `run_tests.sh` (may need to run `chmod +x` to run it) to run test
60
221
5. On script exit the generated config is cleaned up.
61
222
62
223
### Example run:
224
+
63
225
To run the tests for `local-operations` simply run `./run_tests.sh local-operations`
0 commit comments