Skip to main content
Glama
e1imba

Project Customization MCP

by e1imba
README.md
# Project Customization MCP

An open-source MCP (Model Context Protocol) server that automates project customization by analyzing your codebase and generating AI-ready configuration files based on industry best practices. Perfect for teams and individual developers who want consistent, framework-aware project guidelines.

**Platform-agnostic**: Works with any IDE, editor, or AI tool that supports the Model Context Protocol (VS Code, JetBrains, Cursor, Claude, etc.)

## What You Get

This tool automatically:

- šŸ” **Analyzes your project** - Detects frameworks, languages, and project structure
- šŸ“ **Generates guidelines** - Creates `.github/copilot-instructions.md` for consistent development
- āœļø **Updates documentation** - Enhances README with best practices
- šŸ’” **Provides recommendations** - Suggests improvements for your codebase

## šŸŽÆ Tools Available

- šŸ”Ž **`analyze_project`** - Scan your project and detect frameworks/languages
- šŸ“‹ **`generate_copilot_instructions`** - Create customization guidelines for your project
- šŸ“„ **`update_readme`** - Generate or enhance README with standards
- šŸš€ **`get_customization_recommendations`** - Get actionable improvement suggestions

## šŸ“š Resources Available

- šŸ“¦ **Project Metadata** - Your project type, frameworks, languages
- šŸ“ **Project Structure** - Directory organization and files
- šŸ“– **Current Guidelines** - Existing customization files
- šŸ“ **README** - Your current documentation

## šŸ’¬ Prompts Available

- ⚔ **`analyze-and-customize`** - Full workflow (analyze → generate → update)
- ✨ **`generate-instructions-only`** - Create just the instruction file
- šŸ”„ **`review-and-improve`** - Review existing customizations

## šŸ“¦ Installation

### āš™ļø Option 1: Using npx (Recommended - No Installation Needed)

```json
{
  "mcpServers": {
    "project-customization": {
      "command": "npx",
      "args": ["-y", "project-customization-mcp"]
    }
  }
}
```

### šŸŒ Option 2: Global npm Installation

```powershell
npm install -g project-customization-mcp
```

Then configure:

```json
{
  "mcpServers": {
    "project-customization": {
      "command": "project-customization-mcp",
      "env": {
        "MCP_API_KEY": "YOUR_KEY"
      }
    }
  }
}
```

## šŸ” Authorization (Tools Only)

Tool execution requires an API key configured via `MCP_API_KEY` in the MCP server configuration `env`. If the key is missing, tool calls return an authorization error. Prompts and resources remain available without any key.

Example configuration:

```json
{
  "mcpServers": {
    "project-customization": {
      "command": "project-customization-mcp",
      "env": {
        "MCP_API_KEY": "YOUR_KEY"
      }
    }
  }
}
```

## 🧠 Memory (GitHub Copilot Hosted)

This MCP server does not store memory. Use GitHub Copilot's hosted memory feature for long-lived context, per GitHub's Copilot memory documentation.

## šŸš€ How to Use

### 1ļøāƒ£ Configure in Your IDE

- **VS Code**: `Ctrl+Shift+P` → "MCP: Open User Configuration"
- **Cursor**: Settings → MCP Servers
- **Other IDEs**: Refer to your IDE's MCP documentation

Add one of the configurations above and restart your IDE.

### 2ļøāƒ£ Use in Chat

Open your chat and type:

```
Analyze my project and set up customization based on best practices
```

Or use specific prompts:

```
/analyze-and-customize
/generate-instructions-only
/review-and-improve
```

### 3. Add Resources to Chat

Add project context:

- Select "Add Context" → "MCP Resources"
- Choose: Project Metadata, Project Structure, Guidelines, README

## šŸ“‹ What Gets Generated

The tool creates or updates:

- āœ… **`.github/copilot-instructions.md`** - Project-specific guidelines and standards
- āœ… **`README.md`** - Enhanced with setup and development guidelines
- āœ… **Recommendations** - Suggestions for framework-specific improvements

## šŸ“Š Example Output

For a React TypeScript project, you get:

```markdown
# Project Guidelines

## Code Style

- Use functional components with hooks
- Maintain strict TypeScript (no `any`)
- ESLint + Prettier for formatting

## Project Structure

- src/components - React components
- src/pages - Page components
- src/utils - Utilities
- src/hooks - Custom hooks
```

## šŸ“„ License

MIT License - See [LICENSE](LICENSE) file

---

šŸŽ‰ **Made for the Model Context Protocol** | Works with any MCP-compatible client