Skip to content

Commit 967ba0c

Browse files
committed
chore(MCP): Switch the server from SSE to HTTP
The SSE (server sent events) transport is now considered to be a legacy transport and HTTP has got the baton, so we are changing to it. Maybe some day we'll add support for configuring the desired transport but as far as this MCP server is just a "demonstration" or experiment for now, that's not an impeding feature. Again, remember that the MCP server is unprotected (while the OpenAI one supports local or remote token validation). BREAKING CHANGE: Any client previously using MCP SSE clients must change the transport to HTTP. Normally this change is trivial and everything continues working exactly the same.
1 parent 9ef93b3 commit 967ba0c

File tree

2 files changed

+13
-5
lines changed

2 files changed

+13
-5
lines changed

CHANGELOG.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,9 @@ and commits should be formatted using [Conventional Commits](https://www.convent
1111
### Added
1212

1313
- Indexer: Add JSON schema support and apply for it before indexing by @stronk7 ([81b49e3](https://github.com/moodlehq/wiki-rag/commit/81b49e3ce7631f7e04da33024ca6049ea5ce7bcb))
14+
- Vector Stores: First step towards making vector stores pluggable
15+
- Vector Stores: Move the indexer and the searcher to use pluggable stores.
16+
- Vector Stores: Move the OpenAI and MCP servers to use pluggable stores.
1417

1518
### Changed
1619

@@ -19,6 +22,15 @@ and commits should be formatted using [Conventional Commits](https://www.convent
1922
- Indexer: Better handling of preamble and contents on indexing by @stronk7 ([996eeec](https://github.com/moodlehq/wiki-rag/commit/996eeecfc9d3f49ee6b9264ae77cea9fa5bb0f34))
2023
- Searcher: Improve the "popularity" optimisation by @stronk7 ([5e84ba5](https://github.com/moodlehq/wiki-rag/commit/5e84ba5039fdb02a8b5549297036cbe7c3931d03))
2124
- Retriever: Improve the query rewrite to be more specific
25+
- MCP: Switch the server from SSE to HTTP
26+
- **BREAKING**: Any client previously using MCP SSE clients
27+
must change the transport to HTTP. Normally this change is
28+
trivial and everything continues working exactly the same.
29+
30+
31+
### Fixed
32+
33+
- MCP: Fix the MCP resources to work with the new file format added in [v0.11.2](#0112---2025-10-22)
2234
## [0.11.2] - 2025-10-22
2335

2436
### Added

wiki_rag/mcp_server/main.py

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -221,11 +221,7 @@ def main():
221221
# Start the mcp_server server
222222
from wiki_rag.mcp_server.server import mcp
223223

224-
mcp.settings.host = mcp_server
225-
mcp.settings.port = mcp_port
226-
mcp.run("sse")
227-
# import asyncio
228-
# asyncio.run(mcp_server.run_sse_async())
224+
mcp.run("http", host=mcp_server, port=mcp_port)
229225

230226
logger.info("wiki_rag-server-mcp_server finished.")
231227

0 commit comments

Comments
 (0)