MCP Overview
Integrate Edsger with AI agents using the Model Context Protocol.
MCP Overview
Edsger implements the Model Context Protocol (MCP) to enable seamless integration with AI agents and tools like Claude. The MCP server exposes a comprehensive API for managing the full software development lifecycle.
What is MCP?
The Model Context Protocol is a standardized way for AI assistants to interact with external systems. It provides:
- Resources: Data that AI can read (products with full feature details)
- Tools: Actions that AI can perform (CRUD operations across all entities)
- Prompts: Pre-defined conversation templates (system prompts, workflow templates)
Available Resources
The MCP server exposes product data as resources:
| Resource | Description |
|---|---|
product://<id> | Full product details including features, user stories, test cases, checklists, and more |
Use resources/list to discover available products and resources/read to fetch full product data.
Available Tools
The MCP server advertises tools that AI agents can call:
Feature Management
| Tool | Description |
|---|---|
features/info | Get detailed feature information |
features/update | Update feature status, execution mode, workflow, or technical design |
User Stories
| Tool | Description |
|---|---|
user_stories/create | Create new user stories for a feature |
user_stories/existing | Get existing user stories for context |
Test Cases
| Tool | Description |
|---|---|
test_cases/create | Create new test cases for a feature |
test_cases/existing | Get existing test cases for context |
test_cases/update | Update test case status and fields |
Checklists
| Tool | Description |
|---|---|
checklists/create | Create a new checklist |
checklists/update | Update checklist details |
checklists/delete | Delete a checklist |
checklist_items/create | Add items to a checklist |
checklist_items/update | Update checklist items |
checklist_items/delete | Remove checklist items |
Agents & Workflows
| Tool | Description |
|---|---|
agents/query | Discover available AI agents |
agents/context | Get agent context for a feature |
workflows/query | Query workflow templates |
Full API Reference
Beyond the advertised tools, the MCP server supports a comprehensive set of JSON-RPC methods:
Products & Features
products/list,products/getfeatures/list,features/get,features/update,features/claim,features/info
User Stories & Test Cases
user_stories/list,user_stories/create,user_stories/delete,user_stories/update_status,user_stories/existingtest_cases/list,test_cases/create,test_cases/delete,test_cases/update,test_cases/update_status,test_cases/existing
Test Reports
test_reports/create,test_reports/get,test_reports/list,test_reports/latest,test_reports/updatetest_report_results/create
Checklists
checklists/list,checklists/create,checklists/update,checklists/delete,checklists/phase,checklists/validatechecklist_items/create,checklist_items/update,checklist_items/deletechecklist_results/create,checklist_results/listchecklist_item_results/create
Feedbacks
feedbacks/get,feedbacks/list_for_feature,feedbacks/list_for_productfeedbacks/create,feedbacks/update,feedbacks/delete,feedbacks/resolve
Approvals
approvals/requires_approval,approvals/get_assignees,approvals/feature_approvals,approvals/create
GitHub Integration
github/developer_config,github/installation_token,github/config_and_token,github/config_and_token_by_product
Branches & Pull Requests
branches/list,branches/get,branches/create,branches/update,branches/delete,branches/current,branches/clearpull_requests/list,pull_requests/get,pull_requests/create,pull_requests/update,pull_requests/delete,pull_requests/clear
Feature Audit Logs
feature_audit_logs/create,feature_audit_logs/list
Chat
chat/channels/get_or_create,chat/channels/listchat/members/add,chat/members/remove,chat/members/listchat/messages/list,chat/messages/send,chat/messages/send_ai,chat/messages/send_systemchat/messages/pending,chat/messages/claim,chat/messages/mark_processedchat/read_status/mark_read,chat/read_status/unread_count
Tasks
tasks/list_for_product,tasks/create,tasks/update,tasks/delete,tasks/product_members
CLI Sessions & Logs
cli_sessions/register,cli_sessions/heartbeat,cli_sessions/deregister,cli_sessions/listcli_logs/batch,cli_logs/list
Notifications
notifications/send_phase_completion_email
Growth & App Store
growth/campaigns,growth/save_analysis,growth/save_video_metadataapp_store/configs/list,app_store/configs/get,app_store/configs/upsert,app_store/configs/save_listings,app_store/configs/save_screenshots,app_store/configs/update_status
Getting Started
- Create an MCP token
- Configure your AI agent with the token
- Connect to the Edsger MCP endpoint
MCP Endpoint
https://your-project.supabase.co/functions/v1/mcpExample Integration
Claude Desktop / Claude Code
{
"mcpServers": {
"edsger": {
"url": "https://your-project.supabase.co/functions/v1/mcp",
"headers": {
"Authorization": "Bearer YOUR_MCP_TOKEN"
}
}
}
}Authentication
All requests require a bearer token in the Authorization header. Tokens are validated via the validate_mcp_token RPC function, which checks:
- Token validity and expiration
- Allowed resources based on token configuration
- Rate limits (per-minute and per-hour)
All requests are logged to mcp_access_logs for monitoring and auditing.