MCP server/ai-tools

CodeBot MCP Server

Extended MCP server for code management, deployment, and operations

amirbiron/MCP-Server ↗by amirbironupdated
1

Add it to Claude Code

claude mcp add --transport http codebot-mcp http://localhost:8000/mcp
Required:MONGO_URI+ 4 optional
2

Make your agent remember this setup

codebot-mcp's config, env vars, and the gotchas you hit — recalled in every future Claude Code, Cursor, and Codex session.

npx conare@latest

Free · one command · indexes the sessions already on disk. Set up in the browser instead →

What it does

  • Manage and search code snippets with regex support
  • Perform automated code analysis and pattern detection
  • Control Render service deployments and restarts
  • Manage GitHub issues directly through natural language
  • Built-in prompts for code reviews, debugging, and log analysis

Tools 16

list_snippetsList snippets with filtering by language, tag, or search query
get_snippetRetrieve a single code snippet
create_snippetCreate a new code snippet
update_snippetUpdate an existing snippet
delete_snippetDelete a snippet
search_by_codeSearch within code using regex
get_statsGet statistics about the snippet repository
analyze_snippetAnalyze metrics, problematic patterns, and get suggestions
bulk_tag_snippetsUpdate tags for multiple snippets at once
render_service_statusGet current Render service status
render_list_deploysList recent deployments
render_trigger_deployTrigger a new deployment
render_restart_serviceRestart the service
render_get_env_varsView environment variables with sensitive values masked
github_create_issueCreate a new GitHub issue
github_list_issuesList GitHub issues with filtering

Environment Variables

MONGO_URIrequiredConnection string to MongoDB
RENDER_API_KEYRender API token for deployments and restarts
RENDER_SERVICE_IDIdentifier of the service in Render
GITHUB_TOKENGitHub Personal Access Token for issues
GITHUB_REPORepository identifier in owner/repo format

Try it

Show me all my Python snippets related to async.
Perform a code review on this snippet.
What is the current status of my service on Render?
Create a new GitHub issue for the bug we found.
Analyze these logs and identify any errors.
Original README from amirbiron/MCP-Server

🤖 CodeBot MCP Server v2

שרת MCP מורחב לניהול קוד, דפלוי ותפעול — מותאם לחיבור ל-Claude.


✨ יכולות

📝 ניהול Snippets

כלי תיאור
list_snippets רשימה עם סינון לפי שפה / תגית / חיפוש
get_snippet קבלת snippet בודד
create_snippet יצירת snippet חדש
update_snippet עדכון snippet קיים
delete_snippet מחיקת snippet
search_by_code חיפוש regex בתוך הקוד
get_stats סטטיסטיקות על המאגר

🔍 ניתוח קוד

כלי תיאור
analyze_snippet ניתוח מטריקות, דפוסים בעייתיים והצעות
bulk_tag_snippets עדכון תגיות על מספר snippets בבת אחת

🚀 Render API (תפעול)

כלי תיאור
render_service_status מצב השירות הנוכחי
render_list_deploys דפלויים אחרונים
render_trigger_deploy ⚠️ הפעלת דפלוי חדש
render_restart_service ⚠️ ריסטארט לשירות
render_get_env_vars הצגת משתני סביבה (ערכים רגישים מוסתרים)

🐙 GitHub Issues

כלי תיאור
github_create_issue יצירת Issue חדש (תומך Markdown)
github_list_issues רשימת Issues עם סינון

📋 Prompts מובנים (בעברית)

פרומפט תיאור
code_review סקירת קוד מקצועית
debug_help ניתוח שגיאה והצעת פתרונות
create_github_issue_prompt תבנית Issue (bug / enhancement)
deploy_check בדיקות בטיחות לפני דפלוי
summarize_logs ניתוח לוגים וזיהוי שגיאות
optimize_snippet הצעות אופטימיזציה

🚀 התקנה

הרצה מקומית

git clone https://github.com/YOUR_USERNAME/codebot-mcp-server.git
cd codebot-mcp-server

python -m venv .venv
source .venv/bin/activate

pip install -r requirements.txt

cp .env.example .env
# ערוך את .env

python server.py

השרת עולה על http://localhost:8000/mcp

דפלוי ל-Render

  1. העלה ל-GitHub
  2. ב-Render: New → Web Service → Docker
  3. הגדר משתני סביבה:
משתנה חובה? תיאור
MONGO_URI Connection string ל-MongoDB
RENDER_API_KEY Render API token (ל-deploy/restart)
RENDER_SERVICE_ID מזהה השירות ב-Render
GITHUB_TOKEN GitHub PAT (ל-Issues)
GITHUB_REPO owner/repo

💡 טיפ: רק MONGO_URI חובה. שאר האינטגרציות עובדות כשהמשתנים שלהן מוגדרים.


🔌 חיבור ל-Claude

Claude.ai (Pro / Max / Team / Enterprise)

Settings → Integrations → Add custom connector

URL: https://YOUR-APP.onrender.com/mcp

Claude Desktop

הוסף ל-claude_desktop_config.json:

{
  "mcpServers": {
    "codebot": {
      "type": "streamable-http",
      "url": "https://YOUR-APP.onrender.com/mcp"
    }
  }
}

Claude Code

claude mcp add-json codebot '{"type":"streamable-http","url":"https://YOUR-APP.onrender.com/mcp"}'

💬 דוגמאות שימוש ב-Claude

ניהול קוד

"הראה לי את כל ה-snippets שלי ב-Python שקשורים ל-async"

"צור snippet חדש עם פונקציה למיון מהיר"

"חפש בקוד שלי שימוש ב-try/except"

ניתוח קוד

"תעשה code review על ה-snippet הזה" (מפעיל את הפרומפט code_review)

"יש לי שגיאה: ModuleNotFoundError: No module named 'redis'"

דפלוי ותפעול

"מה הסטטוס של השירות שלי ב-Render?"

"תעשה דפלוי חדש" (מפעיל deploy_check לבדיקת בטיחות)

"תפתח Issue על הבאג שמצאנו"

לוגים

"נתח לי את הלוגים האלה ותגיד מה לא תקין"


📁 מבנה

codebot-mcp-server/
├── server.py          # שרת MCP (כל הכלים, prompts, resources)
├── requirements.txt   # תלויות
├── Dockerfile         # Docker image
├── render.yaml        # Render Blueprint
├── .env.example       # דוגמה למשתנים
├── .gitignore
└── README.md

🔒 אבטחה

  • Stateless mode — מתאים ל-horizontal scaling
  • ערכים רגישים מוסתרים ב-render_get_env_vars
  • אישור נדרש לפני deploy/restart (דרך הפרומפט deploy_check)
  • אין secrets בקוד — הכל דרך משתני סביבה

📄 רישיון

MIT

Frequently Asked Questions

What are the key features of CodeBot MCP Server?

Manage and search code snippets with regex support. Perform automated code analysis and pattern detection. Control Render service deployments and restarts. Manage GitHub issues directly through natural language. Built-in prompts for code reviews, debugging, and log analysis.

What can I use CodeBot MCP Server for?

Developers needing to organize and search through a library of reusable code snippets.. Teams automating deployment workflows and service monitoring via Claude.. Engineers performing quick code reviews and debugging sessions using AI-assisted analysis.. Managing project issue tracking on GitHub without leaving the Claude interface..

How do I install CodeBot MCP Server?

Install CodeBot MCP Server by running: git clone https://github.com/YOUR_USERNAME/codebot-mcp-server.git && cd codebot-mcp-server && python -m venv .venv && source .venv/bin/activate && pip install -r requirements.txt && python server.py

What MCP clients work with CodeBot MCP Server?

CodeBot MCP Server works with any MCP-compatible client including Claude Desktop, Claude Code, Cursor, and other editors with MCP support.

Conare · memory for coding agents

Turn this server into reusable context

Keep CodeBot MCP Server docs, env vars, and workflow notes in Conare so your agent carries them across sessions.

Set up free$npx conare@latest