Skip to content

Conversation

@cdruxerman
Copy link

  • update the auth page to match our auth0 pages

jonathannorris and others added 28 commits July 31, 2025 15:02
- Create MCPToolRegistry interface and class for tool management
- Add IDevCycleApiClient interface for API abstraction
- Refactor project tools to use registry pattern
- Add central tool registration coordination
- Maintain backward compatibility with legacy exports
- Add comprehensive registry tests (7 test cases)

This enables sharing tool implementations between local and remote MCP servers
while preserving existing functionality. Phase 1.1 of Cloudflare Worker plan.
- Add dedicated API interface module (src/mcp/api/interface.ts)
- Create IDevCycleApiClient, IAuthContext, and factory interfaces
- Implement LocalDevCycleApiClient wrapping existing DevCycleApiClient
- Add WorkerDevCycleApiClient skeleton for Cloudflare Worker support
- Move interface from registry to dedicated API module
- Add comprehensive interface tests (8 test cases)
- Create API abstraction documentation

This enables same tool implementations to work with different auth strategies:
- Local: file system, environment variables, SSO tokens
- Worker: OAuth JWT tokens from Cloudflare Worker context

Phase 1.2 of Cloudflare Worker plan.
@cdruxerman cdruxerman requested a review from a team as a code owner July 31, 2025 19:33
@cdruxerman cdruxerman closed this Jul 31, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

3 participants