Skip to content

Commit 3d1f5c9

Browse files
authored
Merge pull request #635 from apollographql/release/1.7.0
Release 1.7.0
2 parents b697a8f + 8b52b96 commit 3d1f5c9

15 files changed

+85
-103
lines changed

.changeset/add_configurable_scope_enforcement_via_scope_mode_to_suport_flexible_matching_strategies_require_any_disabled.md

Lines changed: 0 additions & 5 deletions
This file was deleted.

.changeset/added_configurable_server_metadata.md

Lines changed: 0 additions & 17 deletions
This file was deleted.

.changeset/configurable_metrics_export_interval.md

Lines changed: 0 additions & 14 deletions
This file was deleted.

.changeset/custom-introspection-hints.md

Lines changed: 0 additions & 14 deletions
This file was deleted.

.changeset/host_validation.md

Lines changed: 0 additions & 18 deletions
This file was deleted.

.changeset/reject_unknown_config_fields.md

Lines changed: 0 additions & 7 deletions
This file was deleted.

.changeset/sse_resumability.md

Lines changed: 0 additions & 7 deletions
This file was deleted.

.changeset/warn_sensitive_forward_headers.md

Lines changed: 0 additions & 7 deletions
This file was deleted.

CHANGELOG.md

Lines changed: 71 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,77 @@ All notable changes to this project will be documented in this file.
44

55
This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
66

7+
## 1.7.0 (2026-02-10)
8+
9+
### Features
10+
11+
- Add configurable scope enforcement via `scope_mode` to support flexible matching strategies (`require_any`, `disabled`)
12+
13+
#### Added configurable server metadata
14+
15+
The MCP server now supports customizable metadata in the `initialize` response. Configure the server name, version, title, and website URL via the new `server_info` section in your configuration file. This is useful when wrapping or branding Apollo MCP Server for specific use cases.
16+
17+
```yaml
18+
server_info:
19+
name: "Acme Corp GraphQL Server"
20+
version: "2.0.0"
21+
title: "Acme MCP Server"
22+
website_url: "https://acme.com/mcp-docs"
23+
```
24+
25+
All fields are optional and fall back to sensible defaults.
26+
27+
#### Configurable Metrics Export Interval
28+
29+
You can now customize how frequently metrics are exported to your observability backend using the new `export_interval` configuration option. The default remains 30 seconds.
30+
31+
```yaml
32+
telemetry:
33+
exporters:
34+
metrics:
35+
export_interval: 1m # Supports human-readable values such as: 30s, 1m, 1h, 1d
36+
```
37+
38+
#### Added configurable hints for introspection tools
39+
40+
Apollo MCP Server now supports configurable hint text for the built-in introspection tools (`execute`, `introspect`, `search`, and `validate`). These hints are appended to the tool descriptions so you can guide query generation without changing schema descriptions.
41+
42+
```yaml
43+
introspection:
44+
execute:
45+
enabled: true
46+
hint: "Use carts(where: { status: ACTIVE }) for active carts."
47+
```
48+
49+
#### Add host header validation
50+
51+
Add Host header validation to prevent DNS rebinding attacks. Requests with invalid Host headers are now rejected with 403 Forbidden. Enabled by default for StreamableHttp transport.
52+
53+
```yaml
54+
transport:
55+
type: streamable_http
56+
host_validation:
57+
enabled: true # default
58+
allowed_hosts:
59+
- mcp.dev.example.com
60+
- mcp.staging.example.com
61+
- mcp.example.com
62+
```
63+
64+
#### Validate configuration at startup
65+
66+
Validate configuration at startup. Invalid or misplaced configuration options (e.g., `auth` at the top level instead of nested under `transport`) now cause the server to fail with a clear error message listing the valid options, instead of being silently ignored.
67+
68+
### Fixes
69+
70+
#### SSE Resumability Support
71+
72+
Upgraded rmcp to 0.14, which adds support for MCP Spec 2025-11-25 SSE resumability. When using HTTP transport with `stateful_mode: true` (the default), clients can now reconnect to SSE streams after disconnection using the `Last-Event-ID` header. The server automatically sends priming events with event IDs and retry intervals to enable this behavior.
73+
74+
#### Warn when sensitive headers are forwarded
75+
76+
The server now logs a warning when sensitive credential headers such as `Authorization`, `Cookie`, `Proxy-Authorization`, or `X-Api-Key` are forwarded to the upstream GraphQL API. The warning is emitted when the header is actually present in an incoming request.
77+
778
## 1.6.0 (2026-01-23)
879

980
### Features

Cargo.lock

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)