Claude Code Starter Kit MCP
Enables AI-powered automated testing, security scanning, code review, and maintenance tasks directly within Claude Code or desktop.
README
🤖 Claude Code Starter Kit
A production-ready boilerplate for integrating Claude Code into your development workflow. Automate testing, security scanning, code review, and routine maintenance tasks.
📦 MCP Server
All commands and agents in this kit are also available as an MCP (Model Context Protocol) server, making them usable from Claude Desktop, Claude Code, or any MCP-compatible client.
Install
pip install claude-code-starter-kit-mcp
Setup in Claude Code
Add to your project's .claude/settings.json (or ~/.claude/settings.json for global use):
{
"mcpServers": {
"claude-code-starter-kit": {
"command": "claude-code-starter-kit-mcp"
}
}
}
Setup in Claude Desktop
Add to ~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows):
{
"mcpServers": {
"claude-code-starter-kit": {
"command": "claude-code-starter-kit-mcp"
}
}
}
Available MCP Tools
| Tool | Maps to |
|---|---|
command_test |
/test |
command_test_coverage |
/test-coverage |
command_security_check |
/security-check |
command_detailed_review |
/detailed-review |
command_fix_bugs |
/fix-bugs |
command_refactor |
/refactor |
command_docs |
/docs |
command_monitor |
/monitor |
agent_test_engineer |
test-engineer agent |
agent_security_auditor |
security-auditor agent |
agent_code_reviewer |
code-reviewer agent |
agent_bug_hunter |
bug-hunter agent |
All tools accept an optional arguments string (e.g. a file path or flags like --changed).
PyPI Auto-publish
Releases to PyPI are automated via GitHub Actions. Push a version tag to trigger a publish:
git tag v0.2.0
git push origin v0.2.0
Requires a PyPI Trusted Publisher configured for the pypi environment in your repository settings.
🎯 What This Kit Provides
| Feature | Description |
|---|---|
| Automated Testing | Generate unit tests for new code automatically |
| Security Scanning | Track vulnerabilities and get fix suggestions |
| Code Review | AI-powered review on every PR |
| Bug Detection | Monitor repo for common issues and anti-patterns |
| Documentation | Auto-generate and update docs |
🚀 Quick Start
1. Copy to Your Project
# Clone this repo
git clone https://github.com/dachivadachkoria/claude-code-starter-kit.git
# Copy the .claude directory to your project
cp -r claude-code-starter-kit/.claude your-project/
cp claude-code-starter-kit/CLAUDE.md your-project/
2. Customize CLAUDE.md
Edit CLAUDE.md in your project root to match your:
- Tech stack
- Testing conventions
- Code style
- Project structure
3. Start Using
cd your-project
claude
# Now use the commands:
/test src/myfile.py # Generate tests
/security-check # Check vulnerabilities
/detailed-review # Code review
/fix-bugs # Auto-fix common issues
📁 Repository Structure
.claude/
├── settings.json # Claude Code configuration
├── commands/ # Slash commands
│ ├── test.md # /test - Generate unit tests
│ ├── test-coverage.md # /test-coverage - Coverage analysis
│ ├── security-check.md # /security-check - Vulnerability check
│ ├── detailed-review.md # /detailed-review - Code review
│ ├── fix-bugs.md # /fix-bugs - Auto-fix issues
│ ├── docs.md # /docs - Generate documentation
│ └── refactor.md # /refactor - Safe refactoring
├── agents/ # Specialized AI agents
│ ├── test-engineer.md # Testing specialist
│ ├── security-auditor.md # Security expert
│ ├── code-reviewer.md # Review specialist
│ └── bug-hunter.md # Bug detection expert
└── knowledge-base/ # Project-specific guidelines
├── testing-guide.md
└── security-checklist.md
CLAUDE.md # Project context (customize this!)
.github/
└── workflows/
└── claude-review.yml # Optional: CI integration
🔧 Available Commands
Testing Commands
| Command | Description | Example |
|---|---|---|
/test <file> |
Generate tests for a file | /test src/auth.py |
/test --changed |
Test all changed files | /test --changed |
/test-coverage |
Analyze and improve coverage | /test-coverage |
Security Commands
| Command | Description | Example |
|---|---|---|
/security-check |
Full security audit | /security-check |
/security-check --deps |
Check dependencies only | /security-check --deps |
/security-fix |
Auto-fix vulnerabilities | /security-fix |
Code Quality Commands
| Command | Description | Example |
|---|---|---|
/detailed-review |
Review staged changes | /detailed-review |
/detailed-review <file> |
Review specific file | /detailed-review src/api.py |
/fix-bugs |
Detect and fix issues | /fix-bugs |
/refactor <file> |
Safe refactoring | /refactor src/legacy.py |
Documentation Commands
| Command | Description | Example |
|---|---|---|
/docs |
Generate/update docs | /docs |
/docs <file> |
Document specific file | /docs src/utils.py |
💡 Built-in Commands
Claude Code has excellent built-in commands you should know:
/security-review- AI-powered security scanning/review- Code review/init- Initialize project with CLAUDE.md/compact- Compress context when running low
🛡️ Safety Guidelines
What Claude Code CAN Do Safely
✅ Generate and run tests
✅ Analyze code for vulnerabilities
✅ Suggest fixes with explanations
✅ Create documentation
✅ Refactor with your approval
What Requires Your Review
⚠️ Any changes to authentication/authorization
⚠️ Database migrations
⚠️ Environment/config changes
⚠️ Dependency updates
⚠️ Production deployment scripts
Best Practices
- Review before commit - Always review generated code
- Use branches - Let Claude work on feature branches
- Incremental changes - Small, focused tasks work best
- Test first - Run tests before accepting changes
- Version control - Commit frequently, revert if needed
🔌 Language-Specific Setup
<details> <summary><b>Python</b></summary>
# Add to your CLAUDE.md
## Testing
- Framework: pytest
- Run: `pytest tests/ -v`
- Coverage: `pytest --cov=src --cov-report=html`
## Style
- Formatter: black, isort
- Linter: ruff or flake8
- Types: mypy
</details>
<details> <summary><b>JavaScript/TypeScript</b></summary>
# Add to your CLAUDE.md
## Testing
- Framework: jest or vitest
- Run: `npm test`
- Coverage: `npm test -- --coverage`
## Style
- Formatter: prettier
- Linter: eslint
- Types: TypeScript strict mode
</details>
<details> <summary><b>Go</b></summary>
# Add to your CLAUDE.md
## Testing
- Framework: testing + testify
- Run: `go test ./...`
- Coverage: `go test -coverprofile=coverage.out ./...`
## Style
- Formatter: gofmt, goimports
- Linter: golangci-lint
</details>
🤝 Contributing
Contributions welcome! Please read CONTRIBUTING.md for guidelines.
Ideas for Contributions
- [ ] More language-specific templates
- [ ] Framework-specific commands (Django, React, etc.)
- [ ] CI/CD integration examples
- [ ] IDE extension recommendations
- [ ] Video tutorials
📚 Resources
📄 License
MIT License - feel free to use in personal and commercial projects.
Made with 🤖 by the community, for the community
Star ⭐ this repo if you find it useful!
推荐服务器
Baidu Map
百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
Playwright MCP Server
一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。
Magic Component Platform (MCP)
一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。
Audiense Insights MCP Server
通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。
VeyraX
一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。
graphlit-mcp-server
模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。
Kagi MCP Server
一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。
e2b-mcp-server
使用 MCP 通过 e2b 运行代码。
Neon MCP Server
用于与 Neon 管理 API 和数据库交互的 MCP 服务器
Exa MCP Server
模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。