Skip to content

feat(mcp): expose the platform through Effect MCP - #100

Draft
KingDoxik wants to merge 1 commit into
previewfrom
codex/effect-mcp-platform
Draft

feat(mcp): expose the platform through Effect MCP#100
KingDoxik wants to merge 1 commit into
previewfrom
codex/effect-mcp-platform

Conversation

@KingDoxik

Copy link
Copy Markdown
Contributor

Summary

  • replace the minimal MCP protocol frontend with an Effect MCP registry and Cloudflare-safe stateless HTTP adapter
  • preserve the focused paywall authoring tools while adding a schema-discoverable gateway over every customer-facing platform RPC
  • add operation and live-paywall resources, plus user API key and project secret key authentication
  • keep administrative transport extensions outside the customer MCP surface

Why

Effect MCP's stock HTTP transport keeps session state in process memory. Edge requests may reach different Worker isolates, so the endpoint needs to remain stateless while still using Effect MCP for tool/resource registration, schemas, dispatch, and result handling. The previous endpoint also exposed only the paywall authoring subset rather than the broader platform.

Impact

Agents can discover exact operation schemas with platform_describe, invoke existing authorized handlers through platform_call, and continue using the focused paywall tools. Existing service-level authorization remains authoritative for both user and project credentials.

Validation

  • pnpm --filter @voidhash/backend test (114 tests)
  • pnpm --filter @voidhash/backend typecheck
  • complete RPC-catalog contract coverage
  • HTTP-level stateless initialize/call and authentication coverage
  • publication-boundary checks

@github-actions

github-actions Bot commented Jul 12, 2026

Copy link
Copy Markdown

Thank you for following the naming conventions for pull request titles! 🙏

@KingDoxik KingDoxik changed the title Expose the platform through Effect MCP feat(mcp): expose the platform through Effect MCP Jul 12, 2026
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