GitHub
server ทางการของ GitHub ให้ AI อ่านและจัดการโค้ด issue และ pull request ในบัญชีของคุณได้ ใช้ผ่านคลาวด์ของ GitHub หรือรันในเครื่องด้วย Docker ก็ได้
คำอธิบายจากผู้ทำ (ภาษาอังกฤษตามต้นฉบับ)
MCP server for Croit Ceph cluster management with dynamic OpenAPI tool generation
สามเรื่องนี้ไม่รวมเป็นคะแนนเดียว เพราะความเห็น การวัด และความนิยม เป็นคนละเรื่องกัน
ตัวนี้ยังไม่ได้เรียบเรียงเป็นภาษาไทย ด้านล่างคือข้อเท็จจริงที่เราอ่านจาก registry
เลือกโปรแกรม AI ที่คุณใช้ แล้วคัดลอกค่าตั้งไปวาง
CROIT_HOST, CROIT_API_TOKENต้องเตรียมก่อน
คุณใช้แอปไหน
เลือกแอปด้านบน เราจำไว้ให้ ครั้งหน้าปุ่มจะขึ้นว่า “ติดตั้งลง …”
เปิด Claude Desktop → Settings → Developer → Edit Config แล้ววางค่านี้ในไฟล์ claude_desktop_config.json
{
"mcpServers": {
"croit-ceph": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"-e",
"CROIT_HOST",
"-e",
"CROIT_API_TOKEN",
"docker.io/croit/mcp-croit-ceph:0.2.16"
],
"env": {
"CROIT_HOST": "ใส่ค่าของคุณ",
"CROIT_API_TOKEN": "ใส่ค่าของคุณ"
}
}
}
}พิมพ์คำสั่งนี้ใน Terminal
claude mcp add croit-ceph --env CROIT_HOST='ใส่ค่าของคุณ' --env CROIT_API_TOKEN='ใส่ค่าของคุณ' -- docker run -i --rm -e CROIT_HOST -e CROIT_API_TOKEN docker.io/croit/mcp-croit-ceph:0.2.16เติมค่าที่เว้นว่างไว้ก่อนรัน
วางในไฟล์ .cursor/mcp.json ของโปรเจกต์ หรือ ~/.cursor/mcp.json
{
"mcpServers": {
"croit-ceph": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"-e",
"CROIT_HOST",
"-e",
"CROIT_API_TOKEN",
"docker.io/croit/mcp-croit-ceph:0.2.16"
],
"env": {
"CROIT_HOST": "ใส่ค่าของคุณ",
"CROIT_API_TOKEN": "ใส่ค่าของคุณ"
}
}
}
}เบราว์เซอร์จะถามก่อนเปิดแอป จากนั้นแอปแสดงค่าตั้งให้ตรวจแล้วกดยืนยัน ช่อง key เว้นว่างไว้ให้คุณใส่เอง
วางในไฟล์ .vscode/mcp.json ของโปรเจกต์
{
"servers": {
"croit-ceph": {
"type": "stdio",
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"-e",
"CROIT_HOST",
"-e",
"CROIT_API_TOKEN",
"docker.io/croit/mcp-croit-ceph:0.2.16"
],
"env": {
"CROIT_HOST": "ใส่ค่าของคุณ",
"CROIT_API_TOKEN": "ใส่ค่าของคุณ"
}
}
}
}เบราว์เซอร์จะถามก่อนเปิดแอป จากนั้นแอปแสดงค่าตั้งให้ตรวจแล้วกดยืนยัน ช่อง key เว้นว่างไว้ให้คุณใส่เอง
ตัวนี้รันในเครื่องคุณ แต่ ChatGPT ต่อได้เฉพาะ server บนอินเทอร์เน็ต ลองเลือกแอปอื่น
ตัวเลือกเก็บในคุกกี้บนเครื่องนี้ ไม่ต้องมีบัญชี
CROIT_HOST envCROIT_API_TOKEN envค่าตั้งนี้สร้างจากข้อมูลใน registry ของผู้ทำ ถ้าไม่ตรงกับ README ให้เชื่อ README
รันในเครื่องคุณ รายการเครื่องมือจะขึ้นในแอป AI หลังติดตั้ง
เราตรวจจากข้อมูลที่ใครก็เปิดดูได้ ยังไม่ได้อ่านโค้ด ข้อที่ไม่เกี่ยวกับตัวนี้ไม่นับในตัวหาร · ตรวจเมื่อ 9 พ.ย. 2569
ชื่อใน registry ยืนยันด้วยบัญชี GitHub croit ซึ่งเป็นเจ้าของ repo
ยังไม่ได้อ่านข้อมูล repo จาก GitHub
ยังไม่ได้อ่านข้อมูล repo จาก GitHub
ตัวนี้รันบนเครื่องคุณ ไม่มี endpoint บนอินเทอร์เน็ต
ตัวนี้รันบนเครื่อง ใช้ค่าที่ตั้งในเครื่องแทน
รันในเครื่องคุณ เราอ่านรายการเครื่องมือได้เฉพาะตัวที่มี endpoint บนอินเทอร์เน็ต
เทียบกับทุก server ที่ยังใช้งานในหมวดนี้ทั้งทะเบียน ดาวนับเฉพาะเมื่อผู้ลงทะเบียนเป็นเจ้าของ repo
จากการตรวจเบื้องต้นของเรา ผ่าน 1 จาก 1 ข้อที่ตรวจได้ เรายังไม่ได้อ่านโค้ด ก่อนใส่กุญแจหรือ token ให้ดูว่า server ขอสิทธิ์อะไร และเลือกกุญแจที่ทำได้เท่าที่จำเป็น
registry ไม่ได้ระบุว่าต้องใช้กุญแจ แต่บางตัวจะขอให้ล็อกอินตอนใช้ครั้งแรก
รันบนเครื่องของคุณ โปรแกรม AI จะเปิด server ขึ้นมาเองเมื่อใช้ ข้อมูลไม่ต้องผ่านเซิร์ฟเวอร์ของผู้ทำ (ยกเว้นตัวที่ไปเรียกบริการออนไลน์ต่อ)
repo บน GitHub มีการแก้โค้ดล่าสุด – และส่งรุ่นล่าสุด (0.2.16) เข้า registry 14 เดือนที่ผ่านมา
โปรแกรมที่รองรับ MCP เช่น Claude Desktop, Claude Code, Cursor และ VS Code ตัวนี้ต้องมี Docker ในเครื่องด้วย
ในหมวดเดียวกันมี GitHub, Desktop Commander, Cloudflare MCP
server หมวดเดียวกันจากผู้ทำคนอื่น เรียงตามดาว
อ่านการ์ด:↓ ดาวน์โหลดต่อสัปดาห์i★ ดาว GitHubiสามเสา: รีวิว · ผลตรวจ · การใช้งานiอัปเดต = วันที่ส่งรุ่นล่าสุดเข้า registryi
server ทางการของ GitHub ให้ AI อ่านและจัดการโค้ด issue และ pull request ในบัญชีของคุณได้ ใช้ผ่านคลาวด์ของ GitHub หรือรันในเครื่องด้วย Docker ก็ได้
MCP server for terminal commands, file operations, and process management
ส่วนนี้คัดจาก repo ของผู้ทำตามต้นฉบับ PopNx MCP ไม่ได้ตรวจหรือรับรองเนื้อหา ตัด HTML รูปภาพ และสคริปต์ออกแล้ว ลิงก์จะพาออกนอกเว็บ
AI-powered management for Croit Ceph clusters via the Model Context Protocol (MCP)
Connect your AI assistant (like Claude) directly to your Croit Ceph cluster for intelligent cluster management, troubleshooting, and monitoring.
An MCP server that gives AI assistants access to your Croit Ceph cluster's REST API. Ask your AI to:
The AI can then interact with your cluster through natural language.
docker run --rm -i \
-e CROIT_HOST="https://your-cluster.com" \ -e CROIT_API_TOKEN="your-api-token" \ croit/mcp-croit-ceph:latest
Add to ~/.config/claude/claude_desktop_config.json:
Basic configuration (fetches OpenAPI spec on startup):
{
"mcpServers": { "croit-ceph": { "command": "docker", "args": [ "run", "--rm", "-i", "-e", "CROIT_HOST=http://your-cluster.croit.io:8080", "-e", "CROIT_API_TOKEN=your-api-token-here", "croit/mcp-croit-ceph:latest" ] } } }
Optimized configuration (recommended - 2s startup instead of 5s):
{
"mcpServers": { "croit-ceph": { "command": "docker", "args": [ "run", "--rm", "-i", "-v", "/absolute/path/to/openapi.json:/config/openapi.json:ro", "-e", "CROIT_HOST=http://your-cluster.croit.io:8080", "-e", "CROIT_API_TOKEN=your-api-token-here", "-e", "OPENAPI_FILE=/config/openapi.json", "croit/mcp-croit-ceph:latest" ] } } }
With debug logging:
{
"mcpServers": { "croit-ceph": { "command": "docker", "args": [ "run", "--rm", "-i", "-e", "CROIT_HOST=http://your-cluster.croit.io:8080", "-e", "CROIT_API_TOKEN=your-api-token-here", "-e", "LOG_LEVEL=DEBUG", "croit/mcp-croit-ceph:latest" ] } } }
Note: Volume mounts require absolute paths (not ~/). To download the OpenAPI spec:
curl -H "Authorization: Bearer YOUR_TOKEN" \
http://your-cluster.croit.io:8080/api/swagger.json > openapi.json
Restart Claude Desktop after changing the configuration.
CROIT_HOST="https://your-cluster.com" # Your Croit cluster URL
CROIT_API_TOKEN="your-api-token" # API token from Croit
# Use local OpenAPI spec for faster startup (2s vs 5s)
OPENAPI_FILE="/config/openapi.json"
USE_INCLUDED_API_SPEC="true"
LOG_LEVEL="INFO"
MCP_ARGS="--no-permission-check --max-category-tools 5"
See .env.example for docker usage template.
Check cluster health:
You: "What's the current cluster status?"
AI: Calls list_endpoints → Finds status endpoint → Returns health summary
Find problems:
You: "Show me all pools with errors"
AI: Calls /pools with fields=["id","name","status"] and filter for errors Returns only the 3 pools with issues (instead of all 100 pools)
Debug issues:
You: "Search logs for OSD failures in the last hour"
AI: Uses croit_log_search with smart query parsing Returns summary + drill-down capability for details
Capacity planning:
You: "Which pools are over 80% full?"
AI: Gets pools → Filters by usage → Returns list with recommendations
The server automatically reduces AI token consumption:
| Without Optimization | With Optimization | Savings |
|---|---|---|
| 100 pools, all fields → 4,000 tokens | 100 pools, id+name → 300 tokens | 92% |
| 500 OSDs, full data → 15,000 tokens | Smart summary → 1,000 tokens | 93% |
How it works:
The AI has access to these tools:
Core Tools:
list_endpoints - Discover available API endpointscall_endpoint - Make API calls with optimizationsearch_last_result - Drill down into large responsesCategory Tools (auto-generated):
manage_services - Ceph servicesmanage_pools - Storage poolsmanage_servers - Cluster serversmanage_s3 - S3 bucketsLog Search:
croit_log_search - Advanced log analysiscroit_log_check - Quick log condition checks# Clone repository
git clone https://github.com/croit/mcp-croit-ceph.git cd mcp-croit-ceph
python3 -m venv venv source venv/bin/activate
pip install -r requirements.txt
export CROIT_HOST="https://your-cluster.com" export CROIT_API_TOKEN="your-token" python mcp-croit-ceph.py
For faster startup or offline development:
# Download spec from your cluster
curl -H "Authorization: Bearer $CROIT_API_TOKEN" \ https://your-cluster/api/swagger.json > openapi.json
python mcp-croit-ceph.py --openapi-file openapi.json
python mcp-croit-ceph.py \
--openapi-file openapi.json \ # Use local OpenAPI spec --no-permission-check \ # Skip role check (faster) --max-category-tools 5 # Limit category tools
The server respects your API token's role:
Admin-only categories: maintenance, servers, config, hooks
Token not working:
Connection issues:
CROIT_HOST is correct (include https://)No tools showing:
--no-permission-check to testEnable debug logging:
export LOG_LEVEL=DEBUG
python mcp-croit-ceph.py
Contributions welcome! Please:
black formatter on Python filesSee LICENSE for details
Made with ❤️ for the Ceph community