Skip to content

Never stop coding. Free MIT AI gateway: one endpoint, 375 providers (150+ free), 1,400+ models Kimi, Claude, GPT, Gemini, GLM, DeepSeek, MiniMax. Works with Claude Code, Codex, Cursor, OpenCode, Cline & Copilot. Quota-aware auto-fallback, RTK+Caveman compression saves 15-95% tokens, MCP/A2A, Desktop/PWA. Built by 900+ contributors

docs: update CHANGELOG and AGENTS.md with MCP multi-transport

diegosouzapw6ab32b351fc0
diff --git a/AGENTS.md b/AGENTS.md
index 2ae76864d8..aed8d9c21a 100644
--- a/AGENTS.md
+++ b/AGENTS.md
@@ -51,7 +51,12 @@ Translation between provider formats: `open-sse/translator/`
### MCP Server (`open-sse/mcp-server/`)
-16 tools for AI agent control via stdio transport:
+16 tools for AI agent control via **3 transport modes**:
+- **stdio** — Local IDE integration (Claude Desktop, Cursor, VS Code)
+- **SSE** — Remote Server-Sent Events at `/api/mcp/sse`
+- **Streamable HTTP** — Modern bidirectional HTTP at `/api/mcp/stream`
+
+HTTP transports run in-process via `httpTransport.ts` singleton using `WebStandardStreamableHTTPServerTransport`.
| Category | Tools |
| ---------- | ------------------------------------------------------------------------------------------------------------------------- |
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 23800a9d3f..bb0712952b 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -41,6 +41,29 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
| `src/i18n/messages/*.json` (30 files) | Added endpoints namespace, updated sidebar/header keys |
| `AGENTS.md` | Updated to reflect v2.0.0 architecture |
+### 🔌 MCP Multi-Transport
+
+- **Three Transport Modes** — MCP server now supports **stdio** (local IDE), **SSE** (remote HTTP Server-Sent Events), and **Streamable HTTP** (modern bidirectional HTTP)
+- **In-Process HTTP Server** — SSE and Streamable HTTP transports run **inside** the Next.js process via `WebStandardStreamableHTTPServerTransport`, no separate process needed
+- **Transport Selector UI** — When MCP is enabled, a transport picker shows all 3 modes with connection URLs and a Copy button
+- **API Routes** — `/api/mcp/sse` (GET+POST) and `/api/mcp/stream` (GET+POST+DELETE) with settings-based guards
+- **Settings Persistence** — `mcpTransport` field in settings API (enum: `stdio` | `sse` | `streamable-http`)
+
+### 🎚️ Service Enable/Disable Toggles
+
+- **ON/OFF Toggle Switches** — MCP and A2A tabs have clickable toggle switches (default: OFF) that persist state via `PATCH /api/settings`
+- **Settings Fields** — `mcpEnabled` and `a2aEnabled` boolean fields in `updateSettingsSchema`
+- **Webpack Fix** — Extracted `updateSettingsSchema` into dedicated `settingsSchemas.ts` to bypass webpack barrel-file optimization bug
+
+### 📁 New Files
+
+| File | Purpose |
+| :--- | :--- |
+| `open-sse/mcp-server/httpTransport.ts` | Singleton MCP server with WebStandard Streamable HTTP transport |
+| `src/app/api/mcp/sse/route.ts` | SSE transport API route (GET+POST) |
+| `src/app/api/mcp/stream/route.ts` | Streamable HTTP transport API route (GET+POST+DELETE) |
+| `src/shared/validation/settingsSchemas.ts` | Extracted settings Zod schema (webpack fix) |
+
## [2.0.0] — 2026-03-04
> ### 🚀 Major Release — MCP Server, A2A Protocol, Auto-Combo Engine & Full Type Safety Overhaul