Spec Driven Development
MCP Server that facilitates spec-driven development workflows, not just Vibe Coding.
คำอธิบายจากผู้ทำ (ภาษาอังกฤษตามต้นฉบับ)
MCP server for Firebase — Firestore, Storage, Auth, and Cloud Logging, with schema validation.
สามเรื่องนี้ไม่รวมเป็นคะแนนเดียว เพราะความเห็น การวัด และความนิยม เป็นคนละเรื่องกัน
ตัวนี้ยังไม่ได้เรียบเรียงเป็นภาษาไทย ด้านล่างคือข้อเท็จจริงที่เราอ่านจาก registry
เลือกโปรแกรม AI ที่คุณใช้ แล้วคัดลอกค่าตั้งไปวาง
ต้องเตรียมก่อน
คุณใช้แอปไหน
เลือกแอปด้านบน เราจำไว้ให้ ครั้งหน้าปุ่มจะขึ้นว่า “ติดตั้งลง …”
เปิด Claude Desktop → Settings → Developer → Edit Config แล้ววางค่านี้ในไฟล์ claude_desktop_config.json
{
"mcpServers": {
"firebase": {
"command": "npx",
"args": [
"-y",
"@dasasian/firebase-mcp-server"
]
}
}
}พิมพ์คำสั่งนี้ใน Terminal
claude mcp add firebase -- npx -y @dasasian/firebase-mcp-serverวางในไฟล์ .cursor/mcp.json ของโปรเจกต์ หรือ ~/.cursor/mcp.json
{
"mcpServers": {
"firebase": {
"command": "npx",
"args": [
"-y",
"@dasasian/firebase-mcp-server"
]
}
}
}เบราว์เซอร์จะถามก่อนเปิดแอป จากนั้นแอปแสดงค่าตั้งให้ตรวจแล้วกดยืนยัน ช่อง key เว้นว่างไว้ให้คุณใส่เอง
วางในไฟล์ .vscode/mcp.json ของโปรเจกต์
{
"servers": {
"firebase": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@dasasian/firebase-mcp-server"
]
}
}
}เบราว์เซอร์จะถามก่อนเปิดแอป จากนั้นแอปแสดงค่าตั้งให้ตรวจแล้วกดยืนยัน ช่อง key เว้นว่างไว้ให้คุณใส่เอง
ตัวนี้รันในเครื่องคุณ แต่ ChatGPT ต่อได้เฉพาะ server บนอินเทอร์เน็ต ลองเลือกแอปอื่น
ตัวเลือกเก็บในคุกกี้บนเครื่องนี้ ไม่ต้องมีบัญชี
ค่าตั้งนี้สร้างจากข้อมูลใน registry ของผู้ทำ ถ้าไม่ตรงกับ README ให้เชื่อ README
รันในเครื่องคุณ รายการเครื่องมือจะขึ้นในแอป AI หลังติดตั้ง
เราตรวจจากข้อมูลที่ใครก็เปิดดูได้ ยังไม่ได้อ่านโค้ด ข้อที่ไม่เกี่ยวกับตัวนี้ไม่นับในตัวหาร · ตรวจเมื่อ 7 พ.ย. 2569
ชื่อใน registry ยืนยันด้วยบัญชี GitHub dasasian ซึ่งเป็นเจ้าของ repo
ยังไม่ได้อ่านข้อมูล repo จาก GitHub
ยังไม่ได้อ่านข้อมูล repo จาก GitHub
ตัวนี้รันบนเครื่องคุณ ไม่มี endpoint บนอินเทอร์เน็ต
ตัวนี้รันบนเครื่อง ใช้ค่าที่ตั้งในเครื่องแทน
รันในเครื่องคุณ เราอ่านรายการเครื่องมือได้เฉพาะตัวที่มี endpoint บนอินเทอร์เน็ต
เทียบกับทุก server ที่ยังใช้งานในหมวดนี้ทั้งทะเบียน ดาวนับเฉพาะเมื่อผู้ลงทะเบียนเป็นเจ้าของ repo
จากการตรวจเบื้องต้นของเรา ผ่าน 1 จาก 1 ข้อที่ตรวจได้ เรายังไม่ได้อ่านโค้ด ก่อนใส่กุญแจหรือ token ให้ดูว่า server ขอสิทธิ์อะไร และเลือกกุญแจที่ทำได้เท่าที่จำเป็น
registry ไม่ได้ระบุว่าต้องใช้กุญแจ แต่บางตัวจะขอให้ล็อกอินตอนใช้ครั้งแรก
รันบนเครื่องของคุณ โปรแกรม AI จะเปิด server ขึ้นมาเองเมื่อใช้ ข้อมูลไม่ต้องผ่านเซิร์ฟเวอร์ของผู้ทำ (ยกเว้นตัวที่ไปเรียกบริการออนไลน์ต่อ)
repo บน GitHub มีการแก้โค้ดล่าสุด – และส่งรุ่นล่าสุด (1.1.0) เข้า registry 3 เดือนที่ผ่านมา
โปรแกรมที่รองรับ MCP เช่น Claude Desktop, Claude Code, Cursor และ VS Code ตัวนี้ต้องมี Node.js ในเครื่องด้วย
ในหมวดเดียวกันมี Spec Driven Development, Remote Desktop Commander, Rystic
server หมวดเดียวกันจากผู้ทำคนอื่น เรียงตามดาว
อ่านการ์ด:★ ดาว GitHubiสามเสา: รีวิว · ผลตรวจ · การใช้งานiอัปเดต = วันที่ส่งรุ่นล่าสุดเข้า registryi
MCP Server that facilitates spec-driven development workflows, not just Vibe Coding.
Remote Desktop Commander: use files, terminal and processes on your own computers from any AI app.
Start, seed, clock, inspect and diff Rystic API simulators from your agent.
ส่วนนี้คัดจาก repo ของผู้ทำตามต้นฉบับ PopNx MCP ไม่ได้ตรวจหรือรับรองเนื้อหา ตัด HTML รูปภาพ และสคริปต์ออกแล้ว ลิงก์จะพาออกนอกเว็บ
General-purpose Model Context Protocol (MCP) server for Firebase (Firestore, Storage, Auth, Functions Logging) with schema-driven validation and context-efficient tools.
@firebase:firestore://users/user-123firestore.rules conventionfirestore.indexes.jsonAdd it to your MCP client (e.g. Claude Code) — runs via npx, no global install needed:
{
"mcpServers": { "firebase": { "command": "npx", "args": ["-y", "@dasasian/firebase-mcp-server", "start", "./firestore-schemas.json"] } } }
start takes an optional schema config path (default ./firestore-schemas.json) and an optional indexes path (default ./firestore.indexes.json) — see Schema Format. Firebase auth uses Application Default Credentials.
Or install the CLI globally:
npm install -g @dasasian/firebase-mcp-server
firebase-mcp start ./firestore-schemas.json
npm install
npm run build npm run cli -- start --config ./examples/basic/firestore-schemas.json
Reference Firestore documents directly in Claude Code:
What's the email for @firebase:firestore://users/user-123?
Show me all posts: @firebase:firestore://posts/*
When you type @firebase in Claude Code:
Shows schema-based collections (with validation):
Plus auto-discovered collections (no schema):
# Enable/disable auto-discovery (default: true)
export FIRESTORE_AUTO_DISCOVER=true
export FIRESTORE_DISCOVERY_CACHE_TTL=300
Auto-discovery cost: ~$0.0003/day (negligible)
The server ships 33 tools in four groups. Every tool declares MCP annotations (readOnlyHint, destructiveHint, idempotentHint, openWorldHint) so a client can auto-approve reads and ask before writes.
All 33 tool definitions cost roughly 12k tokens of context on every session. If you only need part of the surface, narrow it:
# Only Firestore (12 tools, ~4.3k tokens)
firebase-mcp start --tools firestore
firebase-mcp start --tools firestore,auth
Or set it in your MCP client config:
export FIREBASE_MCP_TOOLS=firestore,storage
The --tools flag wins over the environment variable. Leaving both unset loads everything, so upgrading never hides a tool you were already using. Calling a tool from a group you switched off returns an error naming the group to add.
| Group | Tools | ~Tokens |
|---|---|---|
firestore | 12 | 4,341 |
storage | 14 | 4,152 |
auth | 6 | 2,075 |
logs | 1 | 1,817 |
| *all (default)* | *33* | *12,387* |
--tools firestorefirestore_show_collections — Show collections *(read)*firestore_read — Read document *(read)*firestore_export — Export collection *(read)*firestore_validate — Validate against schema *(read)*firestore_query_select — Query documents *(read)*firestore_query_collection_group — Query collection group *(read)*firestore_count — Count documents *(read)*firestore_sum — Sum a field *(read)*firestore_stats — Collection statistics *(read)*firestore_import — Import document *(write, destructive)*firestore_update — Update documents *(write, destructive)*firestore_delete — Delete documents *(write, destructive)*--tools authfirebase_auth_list_users — List users *(read)*firebase_auth_get_user — Get user *(read)*firebase_auth_create_user — Create user *(write)*firebase_auth_update_user — Update user *(write, destructive)*firebase_auth_delete_user — Delete user *(write, destructive)*firebase_auth_revoke_sessions — Revoke sessions *(write, destructive)*--tools storagefirebase_storage_list_buckets — List buckets *(read)*firebase_storage_ls — List files *(read)*firebase_storage_stat — File metadata *(read)*firebase_storage_find — Find files *(read)*firebase_storage_get_url — Get file URL *(read)*firebase_storage_get_access — Get file access *(read)*firebase_storage_read — Download file to a local temp path *(write)*firebase_storage_upload — Upload file *(write, destructive)*firebase_storage_rm — Delete file *(write, destructive)*firebase_storage_cp — Copy file *(write, destructive)*firebase_storage_mv — Move file *(write, destructive)*firebase_storage_sync — Sync bucket to local *(write, destructive)*firebase_storage_push — Push local to bucket *(write, destructive)*firebase_storage_set_access — Set file access *(write, destructive)*--tools logsfirebase_functions_logs — Query Cloud Functions logs with SQL-like syntax *(write)*firebase_storage_read and firebase_functions_logs are not marked read-only because they write: the first downloads to a local temp file, the second updates its auto-discovered logging schema on disk.
Reading function logs needs an extra IAM role. The Firebase Admin SDK service
account has no Cloud Logging access by default, so
firebase_functions_logsfails
with
PERMISSION_DENIED: Permission denied for all log viewseven when every other
tool works. Grant the role and allow a few minutes for it to take effect:
`bash
gcloud projects add-iam-policy-binding PROJECT_ID \
--member="serviceAccount:firebase-adminsdk-xxxxx@PROJECT_ID.iam.gserviceaccount.com" \
--role="roles/logging.viewAccessor"
`
roles/logging.vieweralone may not be enough — the error names *log views*, and the
logging.views.accesspermission is inviewAccessor.
Example queries:
// Discover what functions exist
{"distinct": "functionName"}
// Show recent errors {"where": [{"field": "severity", "operator": "==", "value": "ERROR"}], "limit": 20}
// Top error patterns with counts (use "message" — structured logs have no textPayload) {"groupBy": ["message"], "aggregates": [{"field": "*", "operation": "count", "alias": "count"}], "where": [{"field": "severity", "operator": "==", "value": "ERROR"}], "orderBy": [{"field": "count", "direction": "desc"}], "limit": 10}
// Filter by custom labels (e.g., user, environment) {"where": [{"field": "labels.user_id", "operator": "==", "value": "123"}]}
Schemas follow Firebase's path-based convention:
{
"schemas": { "/organizations/{organizationId}": { "description": "Organization documents", "schema": { "type": "object", "required": ["id", "name"], "properties": { "id": { "type": "string" }, "name": { "type": "string" } } } }, "/organizations/{organizationId}/products/{productId}": { "description": "Product catalog", "schema": { "type": "object", "properties": { "name": { "type": "string" }, "category": { "type": "string", "x-status": "legacy", "x-replacedBy": "productType" }, "productType": { "type": "string", "x-status": "experimental" } } }, "timestampFields": ["createdAt", "updatedAt"] } } }
@firebase:firestore:// referencesMIT