CodeBot MCP Server

Extended MCP server for code management, deployment, and operations

README.md

šŸ¤– 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

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.

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.

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.

Open Conare