Skip to content

Add ExecuteCode notebook MCP and pin protoc-gen-go-mcp#1095

Draft
jlewi wants to merge 9 commits intomainfrom
dev/jlewi/codemode
Draft

Add ExecuteCode notebook MCP and pin protoc-gen-go-mcp#1095
jlewi wants to merge 9 commits intomainfrom
dev/jlewi/codemode

Conversation

@jlewi
Copy link
Copy Markdown
Contributor

@jlewi jlewi commented Apr 1, 2026

Summary

  • add a new ExecuteCode RPC to the notebooks tool proto and regenerate tool artifacts
  • expose the new tool through Codex notebook MCP wiring
  • pin protoc-gen-go-mcp in buf.gen.yaml to v0.0.0-20260323112146-887f275039cd
  • adapt generated runtime tool values to mcp-go tool values in the Codex notebook MCP bridge

Why

  • protoc-gen-go-mcp output now returns runtime tool types that are not directly accepted by mcp-go server registration
  • pinning the generator makes output stable/reproducible
  • the adapter keeps runme compatible with the current generator output without post-generation rewrite hacks

Validation

  • go test ./pkg/agent/codex
  • go test ./pkg/agent/ai/tools

Related to

runmedev/web#154

@jlewi jlewi force-pushed the dev/jlewi/codemode branch from c46fea9 to 9b961e2 Compare April 3, 2026 19:29
jlewi added 5 commits April 3, 2026 12:31
Signed-off-by: Jeremy lewi <jeremy@lewi.us>
Signed-off-by: Jeremy lewi <jeremy@lewi.us>
Signed-off-by: Jeremy lewi <jeremy@lewi.us>
Signed-off-by: Jeremy lewi <jeremy@lewi.us>
Signed-off-by: Jeremy lewi <jeremy@lewi.us>
@jlewi jlewi force-pushed the dev/jlewi/codemode branch from 9b961e2 to 98e104f Compare April 3, 2026 19:31
jlewi added 4 commits April 3, 2026 12:35
Signed-off-by: Jeremy lewi <jeremy@lewi.us>
Signed-off-by: Jeremy lewi <jeremy@lewi.us>
Signed-off-by: Jeremy lewi <jeremy@lewi.us>
Signed-off-by: Jeremy lewi <jeremy@lewi.us>
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