honcho/mcp/src
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
..
tools feat: adds workspace headers to MCP calls and adds list/create workspace tools (#1020) 2026-08-13 16:48:31 -04:00
config.ts feat(mcp): add stdio host for local clients (#1102) 2026-09-02 17:56:51 -04:00
http.test.ts feat(mcp): add stdio host for local clients (#1102) 2026-09-02 17:56:51 -04:00
http.ts feat(mcp): add stdio host for local clients (#1102) 2026-09-02 17:56:51 -04:00
index.ts fix(mcp): OAuth session fixes, write scope, SDK bump (#1004) 2026-08-14 11:02:59 -04:00
instructions.d.ts docs: adding honcho-memory skill (#784) 2026-08-10 15:06:07 -04:00
server.ts docs: adding honcho-memory skill (#784) 2026-08-10 15:06:07 -04:00
stdio.ts feat(mcp): add stdio host for local clients (#1102) 2026-09-02 17:56:51 -04:00
types.ts feat: adds workspace headers to MCP calls and adds list/create workspace tools (#1020) 2026-08-13 16:48:31 -04:00