ReMe/reme
jinliyl 3d2ecc60d2
feat(service): expose MCP through HTTP backend (#498)
* feat(service): expose MCP through HTTP backend

Serve JSON/SSE job endpoints and streamable HTTP MCP from one FastAPI application, sharing the same jobs and application lifecycle. Preserve the standalone MCP backend, add configurable MCP HTTP settings, update startup metadata and integration docs, and cover routing, lifecycle, configuration, and compatibility behavior with unit tests.

* fix(service): preserve MCP request protections

Route the exact MCP path through the complete FastMCP ASGI application so its middleware and state remain active. Reject non-literal MCP paths and validate reserved Job conflicts before tolerant service registration. Add regression coverage for middleware preservation, route syntax, and startup failure.

* fix(service): reject encoded MCP paths

Reject percent signs in mcp_path so ASGI path decoding cannot turn an accepted configuration into an unreachable route. Cover encoded slash, space, and double-encoded slash inputs.
2026-08-27 17:23:11 +08:00
..
components feat(service): expose MCP through HTTP backend (#498) 2026-08-27 17:23:11 +08:00
config feat(service): expose MCP through HTTP backend (#498) 2026-08-27 17:23:11 +08:00
enumeration feat: add entry-point plugin system and extract Auto Fin (#459) 2026-08-19 17:23:23 +08:00
schema feat: extract Daily Paper into an independently packaged plugin (#491) 2026-08-26 17:32:46 +08:00
steps feat: extract Daily Paper into an independently packaged plugin (#491) 2026-08-26 17:32:46 +08:00
utils feat(service): expose MCP through HTTP backend (#498) 2026-08-27 17:23:11 +08:00
__init__.py feat: add entry-point plugin system and extract Auto Fin (#459) 2026-08-19 17:23:23 +08:00
application.py feat: simplify plugin setup and add management CLI (#485) 2026-08-23 17:58:20 +08:00
constants.py feat(index): add file size limits and oversized file handling (#362) 2026-07-15 21:01:18 +08:00
entry_point.py feat: simplify plugin setup and add management CLI (#485) 2026-08-23 17:58:20 +08:00
plugin.py feat: simplify plugin setup and add management CLI (#485) 2026-08-23 17:58:20 +08:00
plugin_cli.py feat: simplify plugin setup and add management CLI (#485) 2026-08-23 17:58:20 +08:00
plugin_manifest.py feat: simplify plugin setup and add management CLI (#485) 2026-08-23 17:58:20 +08:00
reme.py feat: simplify plugin setup and add management CLI (#485) 2026-08-23 17:58:20 +08:00