Supabase
server ทางการของ Supabase ให้ AI สร้างตาราง ถามข้อมูล และดูการตั้งค่าโปรเจกต์ในฐานข้อมูล Supabase ของคุณ
คำอธิบายจากผู้ทำ (ภาษาอังกฤษตามต้นฉบับ)
An MCP server that provides access to the ColabFit database
สามเรื่องนี้ไม่รวมเป็นคะแนนเดียว เพราะความเห็น การวัด และความนิยม เป็นคนละเรื่องกัน
ตัวนี้ยังไม่ได้เรียบเรียงเป็นภาษาไทย ด้านล่างคือข้อเท็จจริงที่เราอ่านจาก registry
เลือกโปรแกรม AI ที่คุณใช้ แล้วคัดลอกค่าตั้งไปวาง
ต้องเตรียมก่อน
คุณใช้แอปไหน
เลือกแอปด้านบน เราจำไว้ให้ ครั้งหน้าปุ่มจะขึ้นว่า “ติดตั้งลง …”
เปิด Claude Desktop → Settings → Developer → Edit Config แล้ววางค่านี้ในไฟล์ claude_desktop_config.json
{
"mcpServers": {
"colabfit": {
"command": "uvx",
"args": [
"colabfit-mcp"
]
}
}
}พิมพ์คำสั่งนี้ใน Terminal
claude mcp add colabfit -- uvx colabfit-mcpวางในไฟล์ .cursor/mcp.json ของโปรเจกต์ หรือ ~/.cursor/mcp.json
{
"mcpServers": {
"colabfit": {
"command": "uvx",
"args": [
"colabfit-mcp"
]
}
}
}เบราว์เซอร์จะถามก่อนเปิดแอป จากนั้นแอปแสดงค่าตั้งให้ตรวจแล้วกดยืนยัน ช่อง key เว้นว่างไว้ให้คุณใส่เอง
วางในไฟล์ .vscode/mcp.json ของโปรเจกต์
{
"servers": {
"colabfit": {
"type": "stdio",
"command": "uvx",
"args": [
"colabfit-mcp"
]
}
}
}เบราว์เซอร์จะถามก่อนเปิดแอป จากนั้นแอปแสดงค่าตั้งให้ตรวจแล้วกดยืนยัน ช่อง key เว้นว่างไว้ให้คุณใส่เอง
ตัวนี้รันในเครื่องคุณ แต่ ChatGPT ต่อได้เฉพาะ server บนอินเทอร์เน็ต ลองเลือกแอปอื่น
ตัวเลือกเก็บในคุกกี้บนเครื่องนี้ ไม่ต้องมีบัญชี
ค่าตั้งนี้สร้างจากข้อมูลใน registry ของผู้ทำ ถ้าไม่ตรงกับ README ให้เชื่อ README
รันในเครื่องคุณ รายการเครื่องมือจะขึ้นในแอป AI หลังติดตั้ง
เราตรวจจากข้อมูลที่ใครก็เปิดดูได้ ยังไม่ได้อ่านโค้ด ข้อที่ไม่เกี่ยวกับตัวนี้ไม่นับในตัวหาร · ตรวจเมื่อ 7 พ.ย. 2569
ชื่อใน registry ยืนยันด้วยบัญชี GitHub colabfit ซึ่งเป็นเจ้าของ repo
ยังไม่ได้อ่านข้อมูล repo จาก GitHub
ยังไม่ได้อ่านข้อมูล repo จาก GitHub
ตัวนี้รันบนเครื่องคุณ ไม่มี endpoint บนอินเทอร์เน็ต
ตัวนี้รันบนเครื่อง ใช้ค่าที่ตั้งในเครื่องแทน
รันในเครื่องคุณ เราอ่านรายการเครื่องมือได้เฉพาะตัวที่มี endpoint บนอินเทอร์เน็ต
เทียบกับทุก server ที่ยังใช้งานในหมวดนี้ทั้งทะเบียน ดาวนับเฉพาะเมื่อผู้ลงทะเบียนเป็นเจ้าของ repo
จากการตรวจเบื้องต้นของเรา ผ่าน 1 จาก 1 ข้อที่ตรวจได้ เรายังไม่ได้อ่านโค้ด ก่อนใส่กุญแจหรือ token ให้ดูว่า server ขอสิทธิ์อะไร และเลือกกุญแจที่ทำได้เท่าที่จำเป็น
registry ไม่ได้ระบุว่าต้องใช้กุญแจ แต่บางตัวจะขอให้ล็อกอินตอนใช้ครั้งแรก
รันบนเครื่องของคุณ โปรแกรม AI จะเปิด server ขึ้นมาเองเมื่อใช้ ข้อมูลไม่ต้องผ่านเซิร์ฟเวอร์ของผู้ทำ (ยกเว้นตัวที่ไปเรียกบริการออนไลน์ต่อ)
repo บน GitHub มีการแก้โค้ดล่าสุด – และส่งรุ่นล่าสุด (1.0.0) เข้า registry 13 เดือนที่ผ่านมา
โปรแกรมที่รองรับ MCP เช่น Claude Desktop, Claude Code, Cursor และ VS Code ตัวนี้ต้องมี Python (uv) ในเครื่องด้วย
ในหมวดเดียวกันมี Supabase, MongoDB MCP Server, Elasticsearch MCP Server
server หมวดเดียวกันจากผู้ทำคนอื่น เรียงตามดาว
อ่านการ์ด:★ ดาว GitHubiสามเสา: รีวิว · ผลตรวจ · การใช้งานiอัปเดต = วันที่ส่งรุ่นล่าสุดเข้า registryi
server ทางการของ Supabase ให้ AI สร้างตาราง ถามข้อมูล และดูการตั้งค่าโปรเจกต์ในฐานข้อมูล Supabase ของคุณ
MongoDB Model Context Protocol Server
MCP server for interacting with Elasticsearch
ส่วนนี้คัดจาก repo ของผู้ทำตามต้นฉบับ PopNx MCP ไม่ได้ตรวจหรือรับรองเนื้อหา ตัด HTML รูปภาพ และสคริปต์ออกแล้ว ลิงก์จะพาออกนอกเว็บ
An MCP server for discovering ColabFit datasets and training MACE interatomic potentials using KLIFF and KLAY.
This is a Model Context Protocol (MCP) server that gives AI assistants the ability to:
It bridges conversational AI and local compute — the AI agent searches for data, trains models, and runs simulations on your machine through this server.
For local (non-Docker) installation, only Python 3.10+ is required. See Local Installation.
git clone https://github.com/colabfit/colabfit-mcp.git
cd colabfit-mcp
make setup
make build
Then register the MCP server with your client (see Register the MCP server below) and restart your client. The container starts automatically when your AI client connects.
Run make help to see all available commands.
If you prefer not to use the Makefile:
cp example.env .env
# Default location
mkdir -p ./colabfit_data/models ./colabfit_data/datasets ./colabfit_data/inference_output ./colabfit_data/test_driver_output
# This ensures the container user matches your host user and selects the right
USER_ID=$(id -u) GROUP_ID=$(id -g) ./start.sh build
start.sh automatically detects NVIDIA GPU availability and enables GPU passthrough when present, falling back to CPU otherwise.
Claude Code:
claude mcp add colabfit-mcp -- /path/to/colabfit-mcp/start.sh
Replace /path/to/colabfit-mcp with the absolute path to this repository. Then restart Claude Code for the new server to take effect.
Claude Desktop:
Add to your Claude Desktop config (Settings > Developer > Edit Config):
{
"mcpServers": { "colabfit-mcp": { "command": "/path/to/colabfit-mcp/start.sh", "args": ["run", "--rm", "-i", "server"] } } }
OpenAI Agent (API-based, not ChatGPT app):
OpenAI agents that support MCP can connect to this server over stdio by launching the same command used above.
Use this command as the MCP server entrypoint:
/path/to/colabfit-mcp/start.sh
If your agent framework requires explicit command/args fields, use:
{
"command": "/path/to/colabfit-mcp/start.sh", "args": ["run", "--rm", "-i", "server"] }
Notes:
stdio MCP server registration in the same way as developer agent runtimes./path/to/colabfit-mcp with the absolute path to this repository.The server uses standard MCP stdio transport and works with any MCP-compatible client.
Entry point (after pip install or in the Docker container):
colabfit-mcp # registered console script
python -m colabfit_mcp
Testing with mcp-cli:
pip install mcp-cli
mcp-cli run colabfit-mcp -- colabfit-mcp
Any stdio MCP client (Gemini, OpenAI agents, Cursor, etc.) can register the server using the same command / args pattern as Claude Desktop above. The protocol is standardized — all tools use MCP stdio transport, no HTTP server or open port is required.
Python SDK client example:
from mcp import ClientSession, StdioServerParameters
from mcp.client.stdio import stdio_client
params = StdioServerParameters( command="/path/to/colabfit-mcp/start.sh", args=["run", "--rm", "-i", "server"], )
async with stdio_client(params) as (read, write): async with ClientSession(read, write) as session: await session.initialize() tools = await session.list_tools() result = await session.call_tool("check_status", {}) print(result)
Install the client library with pip install mcp. The server uses JSON-RPC 2.0 over stdio — raw subprocess.Popen with hand-crafted JSON will not work; use a proper MCP client library.
Note: Docker is required for training and inference (heavy dependencies). The
search_datasets,check_local_datasets,download_dataset,build_dataset, andcheck_statustools work without Docker via a plain pip install.
| Tool | Description |
|---|---|
search_datasets | Search ColabFit database by text, elements, properties, software |
check_local_datasets | Scan local data directory for downloaded datasets, filter by elements/properties |
download_dataset | Download a dataset from HuggingFace via KLIFF |
train_mace | Train a MACE-style KLAY model from scratch using KLIFF |
use_model | Run energy/forces/relax calculations with a trained KLAY model, or generate a Python snippet |
check_status | Check GPU, packages, disk, existing models and datasets |
list_test_drivers | List available kimvv test drivers, optionally filtered by property keyword |
run_test_driver | Run a kimvv test driver against a trained KLAY model; saves structures.extxyz + results.json in a timestamped subdirectory; supports multiple structures per call with optional repeat for supercell sizing and async_mode for slow drivers |
check_test_driver_result | Check status of an async test driver job and return inline results when complete |
| Test Driver | Description | Properties |
|---|---|---|
EquilibriumCrystalStructure | Equilibrium lattice parameters and cohesive energy | lattice-constant, cohesive-energy |
ElasticConstantsCrystal | Full elastic constants tensor at zero temperature | elastic-constants |
CrystalStructureAndEnergyVsPressure | Crystal structure and energy as a function of pressure | energy-vs-pressure |
GroundStateCrystalStructure | Lowest energy crystal structure among candidates | ground-state-structure |
VacancyFormationEnergyRelaxationVolumeCrystal | Vacancy formation energy and relaxation volume | vacancy-formation-energy, relaxation-volume |
ClusterEnergyAndForces | BFGS relaxation of an atomic cluster in a non-periodic box. Use for molecular/non-periodic models. | energy, atomic-forces, relaxed-positions |
search_datasets — find datasets with the elements/properties you needdownload_dataset — download from HuggingFace (cached locally for reuse)train_mace — train a MACE-style KLAY model on the downloaded datause_model — run energy/forces/relax calculations or generate a Python snippetrun_test_driver — validate the model against OpenKIM-style property testsThe following prompts work directly in Claude Code or Claude Desktop once the MCP server is registered.
Explore available data:
Search ColabFit for silicon datasets that include forces. Which ones look best for training an interatomic potential?
What datasets do I have downloaded locally? Do any contain iron with stress data?
End-to-end training:
Find a dataset for copper, download it, and train a MACE model on it. Use default settings.
I need a potential for lithium phosphate. Search ColabFit for Li and P datasets, pick the most suitable one, and start training.
Run inference:
Use my model at /home/mcpuser/colabfit/models/cu_mace/cu_mace__MO_000000000000_000 to calculate the energy and forces on bulk copper in FCC structure.
Relax an FCC aluminum structure with my trained model and report the final energy and cell parameters.
Generate a Python snippet to run the energy calculation on bulk silicon using my KLAY model.
Validate with test drivers:
What test drivers are available for validating my model?
Run the ElasticConstantsCrystal test driver on my silicon model at /home/mcpuser/colabfit/models/si_mace/si_mace__MO_000000000000_000.
Run the EquilibriumCrystalStructure and VacancyFormationEnergyRelaxationVolumeCrystal tests on my copper FCC model.
Check status:
Check my GPU status and list all the models and datasets I have locally.
End-to-end workflow:
Search ColabFit for silicon datasets with forces, download the best one, train a MACE model, calculate energy and forces on bulk diamond-cubic silicon, then run the ElasticConstantsCrystal and EquilibriumCrystalStructure test drivers to validate the model. Report the elastic constants and equilibrium lattice parameter when done.
The MCP server runs via docker compose run (not docker compose up), so docker compose down alone will not stop an active training container. Use the methods below to stop the server including any in-progress training job.
make stop
# Stop all containers belonging to this project (catches both 'up' and 'run' containers)
docker ps -q --filter "label=com.docker.compose.project=colabfit-mcp" | xargs -r docker stop docker compose down
If the project directory is not named colabfit-mcp, replace the filter value with your directory name (lowercased). You can check the label on a running container with:
docker inspect <container-id> --format '{{ index .Config.Labels "com.docker.compose.project" }}'
Training progress is saved as
training.loginside the model's KIM subdirectory
(
__MO_000000000000_000/training.log). Stopping mid-training discards any
in-progress epoch; completed epochs and their checkpoints are preserved on disk.
View training output in the following ways:
View live training output as it happens:
# Using Makefile
make logs
docker compose logs -f server
Press Ctrl+C to exit (training continues in background).
Training writes log files inside the model's KIM subdirectory:
./colabfit_data/models/<model_name>/<model_name>__MO_000000000000_000/training.log
start.sh automatically detects your GPU:
compose.nvidia.yaml overlay, enabling CUDA passthrough via nvidia-container-toolkitThe pip-installed version handles GPU detection purely in Python via detect_device() — no shell wrapper needed, since PyTorch can see the host GPU directly.
pip install colabfit-mcp
This enables search_datasets, check_local_datasets, download_dataset,
ตัดมาแค่ช่วงต้น อ่านต่อใน repo