Skip to content

feat: wire MCP protocol + fix PR review findings#29

Merged
devallibus merged 1 commit into
masterfrom
development
Mar 8, 2026
Merged

feat: wire MCP protocol + fix PR review findings#29
devallibus merged 1 commit into
masterfrom
development

Conversation

@devallibus
Copy link
Copy Markdown
Owner

Summary

  • MCP protocol: POST /mcp now speaks JSON-RPC 2.0 (initialize, tools/list, tools/call, ping) — agents can connect via "url": "https://shaderbase-mcp.bats-678.workers.dev/mcp"
  • PR review fixes: auth on PR endpoint, tree SHA fix, manifest validation, typecheck in CI, @types/node
  • Provenance: adapted/ported shaders populate sources from resolved metadata

Test plan

  • 42 tests pass (25 original + 17 new MCP protocol tests)
  • Typecheck clean
  • MCP protocol verified live (initialize, tools/list, tools/call)
  • Registry serving at production URL

🤖 Generated with Claude Code

POST /mcp now speaks JSON-RPC 2.0 per the MCP spec:
- initialize: returns server info + capabilities
- tools/list: returns search_shaders + get_shader
- tools/call: routes to handlers, returns content array
- ping, notifications: handled per spec

Agents connect via: { "url": "https://shaderbase-mcp.bats-678.workers.dev/mcp" }
No SDK dependency — protocol implemented directly for Workers compatibility.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@devallibus devallibus merged commit b0f231a into master Mar 8, 2026
2 checks passed
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