Commit bd0097d
authored
Merge pull request #30 from influxdata/release/v1.3.0
## Release v1.3.0
This is the first official release under the @influxdata scope and contains breaking changes, including the package name change to `@influxdata/influxdb3-mcp-server`. However, the MCP tools, resources, and prompts are unchanged.
### Added
- **E2E test suite**: Protocol compliance tests (vitest) — 10 tests verifying server startup, MCP handshake, tool/resource/prompt registration, and error handling. No InfluxDB required.
- **Integration tests**: Live InfluxDB tests for `health_check`, `list_databases`, and `execute_query`, gated behind `INFLUX_TEST_ENABLED`
- **Error-path unit tests**: 7 tests with recorded error fixtures from live Core and Cloud Serverless covering JSON, plain-text, and `{code, message}` error formats
- **CI workflow**: GitHub Actions with protocol tests on every PR, integration tests against Core via Docker, and Cloud Serverless tests via GitHub environment secrets
- **Docker test infrastructure**: `docker-compose.test.yml` for local Core testing with preconfigured admin token
- **Version consistency CI check**: Fails if `package.json`, `config.ts`, and `CHANGELOG.md` versions disagree
- **CLAUDE.md**: Architecture overview and codebase conventions for Claude Code
- **Claude Code skills**: Build/run workflow for Core/Enterprise and testing workflow
### Fixed
- Server-level error catch now sets `isError: true`, consistent with handler-level error responses
- Plain-text error responses from InfluxDB Core (HTTP 500) surfaced in all 4 services
- Query error handler now checks `data.message` for Cloud Serverless `{code, message}` JSON errors
- Query error handler extraction order aligned with other services (`data.message` before `data.error`)
### Changed
- npm package renamed from `influxdb-mcp-server` to `@influxdata/influxdb3-mcp-server`
- Minimum Node.js version raised to v20.11 (Node 18 is EOL)
- `@modelcontextprotocol/sdk` updated from `^1.12.1` to `1.27.1`
- All dependencies updated and pinned to exact versions (no caret ranges)
- Version aligned to 1.3.0 across `package.json`, `config.ts`, and `CHANGELOG.md`
## Verified against live instances
| Target | Tests | Result |
|---|---|---|
| Protocol (no InfluxDB) | 10 protocol + 7 error-path unit | All pass |
| InfluxDB 3 Core (Docker) | 3 happy-path + 2 error-path | All pass |
| InfluxDB Cloud Serverless | 3 happy-path | All pass |
## PRs included
- #29 — E2E test suite, CLAUDE.md, Claude Code skills (merged)
- #31 — fix: add data.message check to query error handler, add error-path tests (merged)
- #24 — fix(query): surface plain-text error responses from InfluxDB Core
- #20 — Bump axios from 1.12.2 to 1.13.5
- #10 — Bump js-yaml from 4.1.0 to 4.1.1
- #26 — Bump flatted from 3.3.3 to 3.4.2
- Dependency updates within semver ranges, then pinned to exact versions
- Version alignment to 1.3.0
- npm package rename to `@influxdata/influxdb3-mcp-server`
- CI workflow with version check, Core integration, and Cloud Serverless integration16 files changed
Lines changed: 1094 additions & 794 deletions
File tree
- .claude/skills/build-run-core-enterprise/references
- .github/workflows
- src/services
- tests
- fixtures
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
36 | 36 | | |
37 | 37 | | |
38 | 38 | | |
39 | | - | |
| 39 | + | |
40 | 40 | | |
41 | 41 | | |
42 | 42 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
| 8 | + | |
8 | 9 | | |
9 | 10 | | |
10 | 11 | | |
| |||
101 | 102 | | |
102 | 103 | | |
103 | 104 | | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
104 | 136 | | |
105 | 137 | | |
106 | 138 | | |
107 | | - | |
| 139 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
8 | | - | |
| 8 | + | |
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
14 | | - | |
| 14 | + | |
| 15 | + | |
15 | 16 | | |
| 17 | + | |
16 | 18 | | |
17 | 19 | | |
18 | 20 | | |
19 | 21 | | |
20 | 22 | | |
21 | 23 | | |
| 24 | + | |
| 25 | + | |
22 | 26 | | |
23 | 27 | | |
24 | 28 | | |
25 | 29 | | |
26 | | - | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
27 | 37 | | |
28 | 38 | | |
29 | 39 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
3 | 8 | | |
4 | 9 | | |
5 | 10 | | |
| |||
200 | 205 | | |
201 | 206 | | |
202 | 207 | | |
203 | | - | |
| 208 | + | |
204 | 209 | | |
205 | 210 | | |
206 | 211 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
| 5 | + | |
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| |||
0 commit comments