Skip to content

docs(eve): mcp channel - define native server plan - #884

Closed
AndrewBarba wants to merge 3 commits into
mainfrom
barba/native-mcp-channel-research
Closed

docs(eve): mcp channel - define native server plan#884
AndrewBarba wants to merge 3 commits into
mainfrom
barba/native-mcp-channel-research

Conversation

@AndrewBarba

Copy link
Copy Markdown
Collaborator

Summary

  • define an opt-in native mcpChannel() for external agent harnesses
  • expose compiled instructions, complete static skills, and eligible static tools from root and nested local agents
  • exclude remote subagents and dynamic or runtime-discovered capabilities
  • define stateless Streamable HTTP, direct tool execution, request-projected auth/session context, and ephemeral sandbox isolation

Public API

export default mcpChannel({
  auth: [vercelOidc(), localDev()],
  onRequest(ctx) {
    return {
      auth: defaultMcpAuth(ctx),
      session: { id: readHarnessSessionId(ctx.mcp.request) },
    };
  },
});

Logical session fields are tool-visible context only. Every tool call retains a private execution identity, fresh sandbox key, and call-scoped cleanup even when the external harness repeats a session id.

Tracking

Validation

  • pnpm docs:check
  • pnpm guard:invariants
  • Markdown formatting
  • diff whitespace validation

No changeset: this PR only adds an internal research document.

Signed-off-by: Andrew Barba <barba@hey.com>
@vercel

vercel Bot commented Jul 16, 2026

Copy link
Copy Markdown
Contributor

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 Jul 16, 2026 10:22pm
eve-docs-1644 Ready Ready Preview, Comment, Open in v0 Jul 16, 2026 10:22pm
eve-docs-4759 Ready Ready Preview, Comment, Open in v0 Jul 16, 2026 10:22pm

Signed-off-by: Andrew Barba <barba@hey.com>
Signed-off-by: Andrew Barba <barba@hey.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant