ai2dev-mcp
An MCP server that designs software projects by drafting design documents with an LLM, refining them, answering questions, and creating projects via the AI2DEV API.
README
ai2dev-mcp
An MCP server that a frontend can talk to in order to design software projects the same way AI2DEV does: draft a design document with an LLM, refine it based on feedback, answer follow-up questions, and finally hand the finished document to the AI2DEV API to create the project.
Tools exposed
| Tool | What it does |
|---|---|
generate_design_document |
Calls the LLM to draft a structured markdown design document from a project name, requirements, and optional audience/constraints. |
refine_design_document |
Calls the LLM to revise an existing design document based on feedback, keeping its structure. |
ask_question |
Calls the LLM to answer any question, optionally grounded in supplied context (e.g. the current design document). |
create_ai2dev_project |
Calls the AI2DEV API to create a project from a finalized design document. |
Setup
python -m venv .venv
source .venv/bin/activate
pip install -e ".[dev]"
cp .env.example .env # fill in ANTHROPIC_API_KEY and AI2DEV_API_KEY
Required environment variables:
ANTHROPIC_API_KEY— used by the LLM tools (design doc generation/refinement, Q&A).ANTHROPIC_MODEL— defaults toclaude-opus-4-8.AI2DEV_API_BASE_URL— base URL of the AI2DEV API (defaults to a placeholder; set to your real endpoint).AI2DEV_API_KEY— bearer token for the AI2DEV API.
Running
As a stdio MCP server (what most MCP clients/frontends expect):
python -m ai2dev_mcp.server
# or, after `pip install -e .`
ai2dev-mcp-server
For local interactive testing with the MCP Inspector:
mcp dev src/ai2dev_mcp/server.py
Connecting a frontend / MCP client
Point your MCP client at the command above and pass the environment variables
through its env config, e.g. for a JSON-based MCP client config:
{
"mcpServers": {
"ai2dev-design": {
"command": "ai2dev-mcp-server",
"env": {
"ANTHROPIC_API_KEY": "sk-ant-...",
"AI2DEV_API_BASE_URL": "https://api.ai2dev.example.com",
"AI2DEV_API_KEY": "..."
}
}
}
}
Tests
pytest
Project layout
src/ai2dev_mcp/
config.py # env-driven settings
llm.py # Anthropic-backed design doc generation/refinement/Q&A
ai2dev_client.py # HTTP client for the AI2DEV project-creation API
server.py # FastMCP server wiring the tools together
tests/
test_server.py
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
Neon Database
MCP server for interacting with Neon Management API and databases
E2B
Using MCP to run code via e2b.
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.