-
Notifications
You must be signed in to change notification settings - Fork 4
feat: Add Model Context Protocol (MCP) Server #487
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Deploying with
|
| Status | Name | Latest Commit | Updated (UTC) |
|---|---|---|---|
| ✅ Deployment successful! View logs |
devcycle-mcp-server | 40f415d | Aug 12 2025, 09:02 PM |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This PR adds Model Context Protocol (MCP) server functionality to enable AI coding assistants like Cursor and Claude to interact directly with DevCycle's feature flag management system.
Key changes include:
- Local MCP Server implementation (
dvc-mcp) using CLI authentication - Remote MCP Server via Cloudflare Worker with OAuth authentication
- Comprehensive DevCycle API Tools for managing projects, features, variables, environments, and targeting
- Enhanced CLI Commands with MCP integration support
- Complete documentation and setup guides
Reviewed Changes
Copilot reviewed 48 out of 55 changed files in this pull request and generated 6 comments.
Show a summary per file
| File | Description |
|---|---|
src/mcp/utils/headers.ts |
MCP-specific header management for API request tracking |
src/mcp/utils/errorHandling.ts |
Comprehensive error categorization and user-friendly suggestions |
src/mcp/utils/auth.ts |
Authentication abstraction supporting CLI tokens and environment variables |
src/mcp/utils/api.ts |
API client utilities with Zodios validation error handling |
src/mcp/types.ts |
Zod schemas for all MCP tool arguments and validation |
src/mcp/tools/*.ts |
Tool implementations for features, variables, environments, etc. |
src/mcp/server.ts |
Core MCP server implementation with tool registration |
src/mcp/index.ts |
Local MCP server entry point with CLI integration |
mcp-worker/* |
Cloudflare Worker implementation for remote MCP server |
package.json |
Updated dependencies and new dvc-mcp binary |
… common utilities
- Add project selection tool for local MCP (localProjectTools.ts) - Extract shared config management utility (configManager.ts) - Consolidate dashboard link generation (dashboardLinks.ts) - Update all MCP tools to use centralized dashboard links - Enhance DevCycleAuth with project persistence methods
Add MCP Server for AI Coding Assistant Integration
This PR adds Model Context Protocol (MCP) server functionality to enable AI coding assistants like Cursor and Claude to interact directly with DevCycle's feature flag management system.
What's Added
dvc-mcp): Runs locally using CLI authentication or API keyshttps://mcp.devcycle.com)docs/mcp.md)Key Features
Technical Notes
This is a clean recreation of the original
feat-mcp-serverbranch (#467).Dependencies