Commit Graph

1 Commits

Author SHA1 Message Date
Aakash Kattelu 2ad56a4d71
feat(mcp): add stdio host for local clients (#1102)
* feat(mcp): add stdio host for local clients

* feat(mcp): add Streamable HTTP host and image

Long-lived HTTP entry for Docker and other process hosts, reusing
createServer(). Dedicated mcp/Dockerfile; compose service beside api.

* fix(mcp): stdio launcher cwd/silent and HTTP session bounds

Pin bun --cwd so bunfig loads. Silence bun run. Require Bearer on HTTP.
Idle-expire and cap in-memory MCP sessions.

* fix(mcp): re-check bearer on established HTTP sessions

Session lookup returned early without Authorization, so a missing or
wrong token still 200'd after initialize. Bind each session to the
init key and 401 on mismatch.

* fix: nit cleaning claude command

---------

Co-authored-by: ajspig <dragon@monstercode.com>
2026-09-02 17:56:51 -04:00