MCP Project Initializer
# MCP Project Initializer
An intelligent MCP (Model Context Protocol) server that automates the setup of new AI-powered MCP server development projects. This tool acts as a conversational guide through any standard MCP client to set up projects with necessary context, rules, and documentation for AI-assisted development.
## Features
- š¤ **Conversational Project Setup** - Interactive step-by-step project initialization
- š **AI-Enhanced PRD Generation** - Transform basic concepts into comprehensive specifications
- š§ **Technology-Specific Context** - Automatically downloads SDK documentation and best practices
- š **Development Rules Integration** - Includes coding standards and AI-optimized guidelines
- šÆ **Context-Based Development** - Prepares projects for AI agents to implement with creativity
- š”ļø **MCP Protocol Compliant** - Full compatibility with MCP clients and standards
## Quick Start
### Installation
```bash
# Clone the repository
git clone <repository-url>
cd mcp-initializer
# Install dependencies
npm install
# Build the project
npm run build
```
### Using with MCP Clients
#### Windsurf IDE Configuration
Add this server to your Windsurf MCP settings:
```json
{
"mcpServers": {
"mcp-project-initializer": {
"command": "node",
"args": ["/path/to/mcp-initializer/build/index.js"],
"description": "AI-powered project initialization server"
}
}
}
```
#### Generic MCP Client Configuration
For any MCP client that supports STDIO transport:
```json
{
"name": "mcp-project-initializer",
"command": "node",
"args": ["/path/to/mcp-initializer/build/index.js"],
"transport": "stdio"
}
```
## Usage
### Starting a New Project
1. **Start the conversation**: Use the `start_mcp_project` tool
2. **Set project name**: Use `set_project_name` with your desired project name
3. **Choose directory**: Use `set_project_directory` with an absolute path
4. **Select technology**: Use `set_project_technology` (typescript or python)
5. **Provide concept**: Use `set_project_description` with a high-level overview
6. **Add documentation** (optional): Use `add_project_documentation` for additional context
7. **Setup foundation**: Use `setup_project_foundation` to create the project structure
8. **Generate context**: Use `generate_mcp_server` to prepare for AI implementation
### Example Conversation Flow
```
User: Use start_mcp_project
AI: š Welcome! I'll help you create a new MCP Server project...
User: Use set_project_name with "task-manager-mcp"
AI: ā
Great! Project name set to: task-manager-mcp...
User: Use set_project_directory with "/Users/yourname/Projects"
AI: ā
Perfect! Project directory set...
User: Use set_project_technology with "typescript"
AI: ā
Excellent! Technology set to: typescript...
User: Use set_project_description with "Help users manage daily tasks with reminders"
AI: ā
Perfect! Description captured...
User: Use setup_project_foundation
AI: š Setting up project foundation... ā Downloaded essential MCP documentation...
User: Use generate_mcp_server
AI: š Your Project is Ready for AI Implementation!
```
## Project Structure Created
When you run the MCP Project Initializer, it creates:
```
your-project/
āāā README.md # Project overview
āāā CLAUDE.md # AI development guidance
āāā IMPLEMENTATION.md # Detailed implementation guide
āāā PRD.md # Product Requirements Document
āāā package.json # Dependencies and scripts
āāā tsconfig.json # TypeScript configuration
āāā .gitignore # Git ignore rules
āāā .windsurf/
ā āāā rules/ # Development best practices
ā āāā general.md # General coding standards
ā āāā typescript.md # TypeScript-specific rules
ā āāā mcp.md # MCP development patterns
āāā docs/
ā āāā external/ # Downloaded documentation
ā āāā llms-full.txt # MCP client compatibility
ā āāā typescript-sdk-README.md # SDK documentation
āāā src/ # Source code directory
āāā tests/ # Test directory
```
## Key Features
### AI-Enhanced Development
- **Context-Rich Setup**: Downloads essential MCP documentation automatically
- **Best Practices Integration**: Includes technology-specific coding standards
- **PRD Enhancement**: AI agents expand basic concepts into detailed specifications
- **Step-by-Step Guidance**: Clear implementation instructions for AI agents
### Technology Support
- **TypeScript**: Full Node.js MCP server setup with ES modules
- **Python**: Complete Python MCP server configuration
- **Extensible**: Easy to add support for additional technologies
### MCP Protocol Compliance
- **Tools-Only Design**: No prompts - fully compatible with tools-only clients
- **Conversational State**: Maintains conversation flow across tool calls
- **Error Handling**: Comprehensive validation and user guidance
- **Standard Transport**: Uses STDIO for maximum compatibility
## Development
### Building from Source
```bash
# Install dependencies
npm install
# Build the project
npm run build
# Run in development mode
npm run dev
# Type checking
npm run typecheck
# Linting
npm run lint
```
### Project Structure
```
mcp-initializer/
āāā src/
ā āāā index.ts # MCP server main entry
ā āāā project-initializer.ts # Core initialization logic
ā āāā types.ts # TypeScript type definitions
āāā templates/
ā āāā rules/ # Development rule templates
ā āāā typescript.md # TypeScript best practices
ā āāā python.md # Python best practices
āāā build/ # Compiled output
āāā docs/ # Project documentation
```
## Requirements
- **Node.js**: >= 18.0.0
- **MCP Client**: Any MCP-compatible client (Windsurf, Claude Desktop, etc.)
- **Operating System**: macOS, Linux, Windows
## Contributing
1. Fork the repository
2. Create a feature branch
3. Make your changes following the coding standards
4. Test with a real MCP client
5. Submit a pull request
## License
MIT License - see LICENSE file for details.
## Support
For issues and questions:
- Check the documentation in `/docs`
- Review the generated `IMPLEMENTATION.md` for guidance
- Open an issue on the project repository
---
**Ready to create AI-powered projects?** Configure this MCP server in your client and start building! šTDQS
Scored across 10 tools
Most tools have distinct purposes in the MCP project creation workflow, but 'setup_project_foundation' and 'generate_mcp_server' could potentially overlap in scope regarding project structure creation. The descriptions clarify that 'setup_project_foundation' handles initial structure with documentation while 'generate_mcp_server' creates the full implementation, but the boundary isn't perfectly clear.
All tools follow a consistent verb_noun naming pattern with clear action-oriented verbs (add, confirm, generate, get, set, setup, start) followed by descriptive nouns. The naming convention is uniform throughout the entire toolset with no mixing of styles or conventions.
10 tools is an appropriate number for a project initialization server that guides users through a multi-step process. Each tool appears to serve a specific purpose in the workflow, from starting the process to setting requirements to generating the final implementation.
The toolset covers the complete project creation lifecycle from initiation to implementation, with good coverage of requirements gathering, configuration, and generation steps. A minor gap exists in modification capabilities - once a project is generated, there's no clear way to update or modify existing project elements beyond the initial creation flow.