Skip to content

feat(mcp): expose Jerry tools as MCP server (Phase 2 Slice 3) - #7

Merged
SarkarShubhdeep merged 1 commit into
developmentfrom
phase2/mcp-expose
Jul 20, 2026
Merged

feat(mcp): expose Jerry tools as MCP server (Phase 2 Slice 3)#7
SarkarShubhdeep merged 1 commit into
developmentfrom
phase2/mcp-expose

Conversation

@SarkarShubhdeep

@SarkarShubhdeep SarkarShubhdeep commented Jul 15, 2026

Copy link
Copy Markdown
Collaborator
CleanShot 2026-07-20 at 11 16 12@2x

Summary

  • Exposes summarize_activity, search_memory, and schedule_followup as an MCP server for external clients (Cursor, Claude Desktop, other agents).
  • stdio: jerry mcp / jerry-mcp proxies MCP over stdin/stdout to the worker's /v1/mcp endpoint (worker owns DB and vector index).
  • HTTP: Worker serves Streamable HTTP at POST /v1/mcp via shared createJerryMcpServer in @mieweb/jerry-tools/mcp.
  • Adds setup docs (docs/mcp-server.md), README quick start, and manual §18 acceptance walkthrough.

Test plan

  • pnpm typecheck
  • pnpm --filter @mieweb/jerry-tools test -- server.test
  • pnpm --filter @mieweb/jerry-app test -- mcp-handler
  • Start worker (pnpm dev), configure Cursor MCP with jerry-mcp, invoke summarize_activity
  • Verify HTTP: curl -X POST http://localhost:8787/v1/mcp with tools/list and tools/call

Notes

  • schedule_followup returns a clear error over hosted /v1/mcp (no Durable Object session); works in normal Jerry agent sessions.
  • HTTP transport is stateless (fresh server per request), matching the Workers execution model.

Made with Cursor

Add stdio CLI proxy and worker /v1/mcp endpoint so Cursor and other MCP
clients can call summarize_activity, search_memory, and schedule_followup.

Co-authored-by: Cursor <cursoragent@cursor.com>
@SarkarShubhdeep
SarkarShubhdeep merged commit 7f66eab into development Jul 20, 2026
1 check passed
@github-project-automation github-project-automation Bot moved this from Ready to Done in Scrum Team Jerry Jul 20, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

2 participants