Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

docs(eve): plan MCP session reattach#321

Draft
allenzhou101 wants to merge 6 commits into
main from
allenzhou/plan-mcp-session-reattach
Draft

docs(eve): plan MCP session reattach #321
allenzhou101 wants to merge 6 commits into
main from
allenzhou/plan-mcp-session-reattach

Conversation

@allenzhou101

@allenzhou101 allenzhou101 commented Jun 26, 2026
edited
Loading

Copy link
Copy Markdown
Contributor

Summary

  • Adds a proposed eve implementation plan for opt-in reattach to Streamable HTTP MCP sessions across durable workflow steps.
  • Shows the developer-facing behavior: existing defineMcpClientConnection usage remains unchanged by default; authors opt in for stateful MCP servers with a proposed session.continuity: "durable" option.
  • Compares alternative DX paths, including lower-level helpers, raw session metadata, replay hooks, server-owned state, and global switches.
  • Adds prior art from the official MCP TypeScript SDK and Vercel mcp-handler, especially the close-vs-terminate split and stateless defaults.
  • Specifies durable context storage in serializedContext via a framework-owned McpSessionStateKey while keeping live MCP clients virtual.
  • Incorporates representative Streamable HTTP session behavior and the AI SDK reattach API shape from Add MCP HTTP session hooks ai#16399 .

Testing

  • git diff --check
  • Commit hook attempted dependency installation and failed on an existing esbuild binary mismatch; committed with --no-verify because this is a planning document only under research/.

Notes

Draft PR for design alignment before implementation.

vercel Bot commented Jun 26, 2026
edited
Loading

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
eve-docs Ready Ready Preview, Comment, Open in v0 Jun 26, 2026 12:46am

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

No reviews

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

1 participant

AltStyle によって変換されたページ (->オリジナル) /