Spec Driven Development
MCP Server that facilitates spec-driven development workflows, not just Vibe Coding.
คำอธิบายจากผู้ทำ (ภาษาอังกฤษตามต้นฉบับ)
Multi-tenant MCP platform with OAuth 2.1, Entra SSO, RBAC and audit logging.
สามเรื่องนี้ไม่รวมเป็นคะแนนเดียว เพราะความเห็น การวัด และความนิยม เป็นคนละเรื่องกัน
ตัวนี้ยังไม่ได้เรียบเรียงเป็นภาษาไทย ด้านล่างคือข้อเท็จจริงที่เราอ่านจาก registry
เลือกโปรแกรม AI ที่คุณใช้ แล้วคัดลอกค่าตั้งไปวาง
ต้องเตรียมก่อน
คุณใช้แอปไหน
เลือกแอปด้านบน เราจำไว้ให้ ครั้งหน้าปุ่มจะขึ้นว่า “ติดตั้งลง …”
ใช้ได้ทั้ง Claude บนเว็บ แอปคอมพิวเตอร์ และมือถือ:
https://your-gateway.example.com/t/your-org/mcp/sseพิมพ์คำสั่งนี้ใน Terminal
claude mcp add --transport sse gateway https://your-gateway.example.com/t/your-org/mcp/sseวางในไฟล์ .cursor/mcp.json ของโปรเจกต์ หรือ ~/.cursor/mcp.json
{
"mcpServers": {
"gateway": {
"url": "https://your-gateway.example.com/t/your-org/mcp/sse"
}
}
}เบราว์เซอร์จะถามก่อนเปิดแอป จากนั้นแอปแสดงค่าตั้งให้ตรวจแล้วกดยืนยัน ช่อง key เว้นว่างไว้ให้คุณใส่เอง
วางในไฟล์ .vscode/mcp.json ของโปรเจกต์
{
"servers": {
"gateway": {
"type": "sse",
"url": "https://your-gateway.example.com/t/your-org/mcp/sse"
}
}
}เบราว์เซอร์จะถามก่อนเปิดแอป จากนั้นแอปแสดงค่าตั้งให้ตรวจแล้วกดยืนยัน ช่อง key เว้นว่างไว้ให้คุณใส่เอง
ChatGPT ต่อได้เฉพาะ server ที่อยู่บนอินเทอร์เน็ต:
https://your-gateway.example.com/t/your-org/mcp/sseชื่อเมนูอาจต่างกันเล็กน้อยตามแพ็กเกจและรุ่นของแอป
ตัวเลือกเก็บในคุกกี้บนเครื่องนี้ ไม่ต้องมีบัญชี
ค่าตั้งนี้สร้างจากข้อมูลใน registry ของผู้ทำ ถ้าไม่ตรงกับ README ให้เชื่อ README
ยังไม่ได้อ่านรายการเครื่องมือของตัวนี้ เราตรวจ endpoint ทีละชุดวนไป
เราตรวจจากข้อมูลที่ใครก็เปิดดูได้ ยังไม่ได้อ่านโค้ด ข้อที่ไม่เกี่ยวกับตัวนี้ไม่นับในตัวหาร · ตรวจเมื่อ 7 พ.ย. 2569
ชื่อใน registry ยืนยันด้วยบัญชี GitHub PanosSalt ซึ่งเป็นเจ้าของ repo
ยังไม่ได้อ่านข้อมูล repo จาก GitHub
ยังไม่ได้อ่านข้อมูล repo จาก GitHub
ยังไม่ได้ตรวจ เราตรวจ endpoint ทีละชุดวนไป
ยังไม่ได้ตรวจ เราตรวจ endpoint ทีละชุดวนไป
ยังไม่ได้ตรวจ เราอ่านรายการเครื่องมือตอนตรวจ endpoint
เทียบกับทุก server ที่ยังใช้งานในหมวดนี้ทั้งทะเบียน ดาวนับเฉพาะเมื่อผู้ลงทะเบียนเป็นเจ้าของ repo
จากการตรวจเบื้องต้นของเรา ผ่าน 1 จาก 1 ข้อที่ตรวจได้ เรายังไม่ได้อ่านโค้ด ก่อนใส่กุญแจหรือ token ให้ดูว่า server ขอสิทธิ์อะไร และเลือกกุญแจที่ทำได้เท่าที่จำเป็น
registry ไม่ได้ระบุว่าต้องใช้กุญแจ แต่บางตัวจะขอให้ล็อกอินตอนใช้ครั้งแรก
รันบนคลาวด์ของผู้ทำ ต่อผ่านอินเทอร์เน็ตได้เลย ไม่ต้องลงโปรแกรม แต่ข้อมูลที่ส่งให้จะผ่านเซิร์ฟเวอร์ของผู้ทำ
repo บน GitHub มีการแก้โค้ดล่าสุด – และส่งรุ่นล่าสุด (1.0.4) เข้า registry 41 วันที่ผ่านมา
โปรแกรมที่รองรับ MCP เช่น Claude Desktop, Claude Code, Cursor และ VS Code ตัวนี้ต่อผ่าน URL จึงใช้กับโปรแกรมที่รับ remote MCP ได้ เช่น ChatGPT ที่เปิดโหมดนักพัฒนา
ในหมวดเดียวกันมี Spec Driven Development, Remote Desktop Commander, Microsoft Exchange Online MCP
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.
Exchange Online admin for MSPs: forwarding audits, EWS posture and offboarding, no PowerShell
ส่วนนี้คัดจาก repo ของผู้ทำตามต้นฉบับ PopNx MCP ไม่ได้ตรวจหรือรับรองเนื้อหา ตัด HTML รูปภาพ และสคริปต์ออกแล้ว ลิงก์จะพาออกนอกเว็บ
The production platform for MCP tools.
Claude Desktop can connect to your internal tools — databases, filesystems, APIs, anything — through a single authenticated endpoint. You control who can use which tools, every action is logged, and no raw credentials ever leave your server.
Built-in tools: SQL query (Postgres, MySQL, SQLite, MSSQL), filesystem access. Custom tools: plug in anything that implements the MCP tool interface.
[See it in action](docs/media/local_demo.mp4) — short demo of Claude Desktop querying a database through MCP Gateway.
MCP Gateway sits between AI assistants and your databases. It:
Claude Desktop / mcp-remote
│ │ MCP over SSE (OAuth 2.1 + PKCE) ▼ ┌─────────────────────────────────────────────────────────┐ │ MCP Gateway │ │ │ │ ┌──────────┐ ┌──────────┐ ┌───────────────────────┐ │ │ │ Auth / │ │ Admin │ │ MCP SSE Endpoint │ │ │ │ OAuth │ │ UI │ │ /t/{slug}/mcp/sse │ │ │ └──────────┘ └──────────┘ └───────────────────────┘ │ │ │ │ │ ┌──────────────────────────────────────┐│ │ │ │ Tool Providers ││ │ │ │ sql.py → get_schema / execute_sql ││ │ │ └──────────────────────────────────────┘│ │ └─────────────────────────────────────────┼───────────────┘ │ Decrypted DSN ┌─────────────────────┼────────────────┐ │ Your Databases │ │ │ Postgres MySQL MSSQL SQLite │ └──────────────────────────────────── ┘
For your organisation
For your tools
For your security team
| Database | Driver | DSN Format |
|---|---|---|
| PostgreSQL | psycopg2 | postgresql://user:pass@host/db |
| MySQL / MariaDB | PyMySQL | mysql+pymysql://user:pass@host/db |
| Microsoft SQL Server | pymssql | mssql+pymssql://user:pass@host/db |
| SQLite | Built-in | sqlite:///path/to/file.db |
FILESYSTEM_ALLOWED_DIRS environment variablefs_read_file, fs_list_directory, fs_directory_tree, fs_search_files, fs_get_file_infofs_write_file, fs_create_directory, fs_move_file/admin/| Layer | Technology | Version |
|---|---|---|
| API Framework | FastAPI + Starlette | 0.136.1 / 1.3.1 |
| ASGI Server | Uvicorn | 0.34.0 |
| Validation | Pydantic + pydantic-settings | 2.12.5 / 2.7.1 |
| ORM | SQLAlchemy | 2.0.30 |
| Migrations | Alembic | 1.13.1 |
| Auth / JWT | PyJWT + bcrypt | 2.14.0 / 4.0.1 |
| Encryption | cryptography (Fernet) | 50.0.0 |
| LLM | Anthropic SDK | 0.42.0 |
| MCP Protocol | mcp | 1.28.1 |
| SQL Validation | sqlglot | 25.1.0 |
| Rate Limiting | slowapi | 0.1.9 |
| HTTP Client | httpx | 0.28.1 |
| DB Drivers | psycopg2-binary / PyMySQL / pymssql | 2.9.10 / 1.1.1 / 2.3.1 |
| Frontend | React 18 + TypeScript + Vite | — |
Dev tooling (requirements-dev.txt): pytest, pytest-asyncio, ruff, mypy. The pinned versions above are generated from requirements.txt — update both together.
app/
├── main.py # FastAPI app setup, middleware, routing ├── config.py # Environment config (Pydantic Settings) ├── database.py # SQLAlchemy engine + session factory ├── api/ │ ├── auth.py # POST /auth/login │ ├── auth_entra.py # Entra SSO (legacy admin UI paths) │ ├── oauth.py # OAuth 2.1 endpoints (/t/{slug}/oauth/*) │ ├── connections.py # DB connection CRUD │ ├── query.py # Natural language query endpoint │ ├── tenants.py # Tenant + user management │ ├── tools.py # Tool listing + role overrides │ ├── mcp_sse.py # MCP SSE transport │ ├── api_keys.py # API key management │ └── audit_logs.py # GET /audit-logs/ (admin) ├── core/ │ ├── auth.py # JWT creation/validation, password hashing │ ├── dependencies.py # FastAPI dependency injection │ ├── rbac.py # Role hierarchy helpers │ ├── security.py # Fernet encrypt/decrypt │ ├── api_keys.py # API key generation + hashing │ ├── limiter.py # slowapi rate limiter setup │ └── log_filter.py # Health-check log noise filter ├── constants.py # Non-tunable application-wide constants (pagination caps, etc.) ├── models/init.py # All SQLAlchemy ORM models ├── schemas/init.py # All Pydantic request/response schemas ├── services/ │ ├── entra.py # Microsoft Graph API client │ ├── llm.py # Anthropic API (SQL gen + summarization) │ ├── mcp_client.py # Direct SQLAlchemy schema introspection + query execution │ └── audit.py # Audit log writer └── tools/ ├── init.py # Tool provider framework + registry ├── sql.py # DB schema + execute_sql tools ├── example.py # Example custom tools └── filesystem.py # Sandboxed file read/write/search tools
app/static/ # Built admin UI, served at /admin/ (generated by the
frontend/src/ ├── main.tsx # Vite entry point ├── App.tsx # Root component, auth context, tab routing ├── api.ts # API client, token management ├── types.ts # TypeScript types (mirrors Pydantic schemas) ├── constants.ts # Frontend constants (timeouts, retry config) ├── app.css # Global styles ├── hooks/ │ └── useForm.ts # Shared form state helper └── components/ ├── Login.tsx # Sign-in form ├── Setup.tsx # Tenant registration ├── Dashboard.tsx # Tenant info + role display ├── Connections.tsx # DB connection management ├── ConnectionCreateForm.tsx # Add-connection form ├── ConnectionEditRow.tsx # Inline connection editor ├── Query.tsx # Natural language query UI ├── Users.tsx # User management (admin) ├── SsoConfig.tsx # Entra ID configuration (admin) ├── Tools.tsx # Tool browser + role overrides ├── ToolGroup.tsx # Grouped tool listing ├── ToolRoleOverride.tsx # Per-tool role control ├── ApiKeys.tsx # API key management ├── AuditLog.tsx # Filterable audit log viewer (admin) ├── AuditLogFilters.tsx # Audit log filter controls ├── AuditLogDetail.tsx # Single audit entry detail ├── ConfirmModal.tsx # Reusable confirmation dialog └── ErrorBoundary.tsx # Top-level error boundary
alembic/versions/ # Database migrations docs/ # Guides (OAuth flow, deployment, audit logging, …) tests/ # pytest suite (SQLite in-memory, no services needed)
Tenants ─┬─► Users ──────► APIKeys
├─► APIKeys (also a direct tenant_id FK, not only via Users) ├─► DBConnections ├─► TenantEntraConfig ├─► AuditLogs (tenant_id and user_id both nullable) ├─► OAuthAuthorizationCodes ├─► OAuthRefreshTokens └─► ToolRoleOverrides
OAuthStates (no tenant_id FK — holds a plain tenant_slug string, since the row is created before the tenant is resolved)
/query/ endpoint; not needed for raw MCP tool access)git clone <repo-url>
cd MCP-Gateway cp .env.example .env
Edit .env:
# Required — generate unique values
SECRET_KEY= ENCRYPTION_KEY= POSTGRES_PASSWORD=
ANTHROPIC_API_KEY=sk-ant-...
BASE_URL=http://localhost:8000
Generate secure random values:
# SECRET_KEY
python3 -c "import secrets; print(secrets.token_hex(32))"
python3 -c "import secrets; print(secrets.token_hex(32))"
docker compose up -d
Services started:
api on port 8000 (FastAPI + admin UI)db on port 5432 (PostgreSQL, internal only)curl -s -X POST http://localhost:8000/tenants/ \
-H "Content-Type: application/json" \ -d '{ "name": "My Organization", "slug": "my-org", "admin_email": "admin@example.com", "admin_password": "SuperSecret123!" }' | jq
The slug becomes part of your MCP URL: http://localhost:8000/t/my-org/mcp/sse
Navigate to http://localhost:8000/admin/ and sign in with your admin credentials.
In the admin UI → Connections → Create connection, or via API:
TOKEN=$(curl -s -X POST http://localhost:8000/auth/login \
-H "Content-Type: application/json" \ -d '{"email":"admin@example.com","password":"SuperSecret123!"}' \ | jq -r .access_token)
curl -s -X POST http://localhost:8000/connections/ \ -H "Authorization: Bearer $TOKEN" \ -H "Content-Type: application/json" \ -d '{ "name": "Production DB", "db_type": "postgres", "connection_string": "postgresql://user:pass@host/mydb", "min_role": "viewer" }' | jq
Add to your Claude Desktop MCP config (`~/Li
ตัดมาแค่ช่วงต้น อ่านต่อใน repo