@winstonsayno/mcp-gateway 4.6.0 → 4.7.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +15 -0
- package/README.md +13 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -9,6 +9,21 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
9
9
|
|
|
10
10
|
## [Unreleased]
|
|
11
11
|
|
|
12
|
+
## [4.7.0] - 2026-10-08
|
|
13
|
+
|
|
14
|
+
### Added
|
|
15
|
+
- **Python SDK** (`clients/python`, package `mcp-gateway-client`): stdlib-only (`urllib`), Python ≥ 3.9, typed
|
|
16
|
+
`health` / `ready` / `metrics`, `servers`, `list_tools`, `tool_schemas` + `call_llm_tool`, `call_tool`, resources,
|
|
17
|
+
prompts, approvals; `GatewayError` with `status`, `code`, `retry_after`, `is_policy_error`. `py.typed`.
|
|
18
|
+
- **Go SDK** (`clients/go`, module `github.com/HarrisonCN/mcp-gateway/clients/go`): `net/http` only, Go ≥ 1.21,
|
|
19
|
+
context-aware `Health`, `Ready`, `Servers`, `ListTools`, `ToolSchemas` + `CallLLMTool`, `CallTool`, `Approve` / `Deny`;
|
|
20
|
+
`*mcpgateway.Error` with `Code()`, `IsPolicyError()`, `RetryAfter`.
|
|
21
|
+
- **Swift SDK** (`clients/swift`, SwiftPM `MCPGateway`): async/await, `URLSession` by default with a pluggable
|
|
22
|
+
transport, macOS 12 / iOS 15 / Linux; `GatewayError.isPolicyError`.
|
|
23
|
+
- New **SDKs** CI workflow (`.github/workflows/sdks.yml`): Python 3.9 / 3.12 / 3.13 tests + sdist/wheel build,
|
|
24
|
+
Go 1.21 / stable `vet` + `test -race`, Swift 6.0 `build` + `test` on Linux. Package-registry publishing (PyPI, Go
|
|
25
|
+
module tags, Swift Package Index) is not automated yet.
|
|
26
|
+
|
|
12
27
|
## [4.6.0] - 2026-10-08
|
|
13
28
|
|
|
14
29
|
### Added
|
package/README.md
CHANGED
|
@@ -84,7 +84,7 @@ As [MCP](https://modelcontextprotocol.io) becomes the standard protocol for AI a
|
|
|
84
84
|
- **YAML/JSON config** — simple, declarative configuration with env var overrides
|
|
85
85
|
- **Docker-ready** — official Docker image, Compose examples included
|
|
86
86
|
- **TypeScript SDK** — embed the gateway as a library in your own project
|
|
87
|
-
- **Client libraries** — a dependency-free TypeScript client ([`clients/js`](clients/js), browser + Node)
|
|
87
|
+
- **Client libraries** — a dependency-free TypeScript client ([`clients/js`](clients/js), browser + Node) a Kotlin/JVM/Android client ([`clients/kotlin`](clients/kotlin)), and Python, Go and Swift SDKs ([`clients/python`](clients/python), [`clients/go`](clients/go), [`clients/swift`](clients/swift))
|
|
88
88
|
- **LLM tool schemas** — `GET /api/v1/tools?format=openai|anthropic` returns ready-to-use function-calling definitions
|
|
89
89
|
|
|
90
90
|
## Quick Start
|
|
@@ -267,6 +267,9 @@ Names follow `mcp.toolNaming`, are sanitised to `^[a-zA-Z0-9_-]{1,64}$` and de-d
|
|
|
267
267
|
|---|---|
|
|
268
268
|
| **TypeScript / JavaScript** — [`clients/js`](clients/js) | `@winstonsayno/mcp-gateway-client`: zero dependencies, `fetch`-based (browser, Node 18+, Deno, Bun, React Native), typed `health`, `servers`, `listTools`, `toolSchemas`, `callTool`, `callLlmTool`, plus a small MCP-over-`/mcp` session helper |
|
|
269
269
|
| **Kotlin / JVM / Android** — [`clients/kotlin`](clients/kotlin) | OkHttp + kotlinx.serialization, Java 11 bytecode; same API surface, `McpSession` for `/mcp` |
|
|
270
|
+
| **Python** — [`clients/python`](clients/python) | `mcp-gateway-client`: stdlib only, Python ≥ 3.9, typed `health`, `list_tools`, `tool_schemas`, `call_tool`, `call_llm_tool`, approvals, `GatewayError.is_policy_error` |
|
|
271
|
+
| **Go** — [`clients/go`](clients/go) | `github.com/HarrisonCN/mcp-gateway/clients/go`: `net/http` only, Go ≥ 1.21, context-aware, `*mcpgateway.Error` with `IsPolicyError()` |
|
|
272
|
+
| **Swift** — [`clients/swift`](clients/swift) | SwiftPM `MCPGateway`: async/await, `URLSession` (pluggable transport), macOS 12 / iOS 15 / Linux |
|
|
270
273
|
|
|
271
274
|
Both are in this repository and not yet published to npm / Maven Central.
|
|
272
275
|
|
|
@@ -583,6 +586,15 @@ await gateway.start();
|
|
|
583
586
|
process.on('SIGTERM', () => gateway.stop());
|
|
584
587
|
```
|
|
585
588
|
|
|
589
|
+
## What's New in v4.7
|
|
590
|
+
|
|
591
|
+
| Feature | Description |
|
|
592
|
+
|---------|-------------|
|
|
593
|
+
| **Python SDK** | `clients/python` — stdlib only, typed, policy-aware errors |
|
|
594
|
+
| **Go SDK** | `clients/go` — `net/http` only, context-aware |
|
|
595
|
+
| **Swift SDK** | `clients/swift` — async/await, macOS / iOS / Linux |
|
|
596
|
+
| **SDK CI** | New `sdks.yml` workflow builds and tests all three |
|
|
597
|
+
|
|
586
598
|
## What's New in v4.6
|
|
587
599
|
|
|
588
600
|
| Feature | Description |
|
package/package.json
CHANGED