Spec Driven Development
MCP Server that facilitates spec-driven development workflows, not just Vibe Coding.
คำอธิบายจากผู้ทำ (ภาษาอังกฤษตามต้นฉบับ)
CSVBox MCP server for creating, updating, validating and generating CSVBox importer sheets.
สามเรื่องนี้ไม่รวมเป็นคะแนนเดียว เพราะความเห็น การวัด และความนิยม เป็นคนละเรื่องกัน
ตัวนี้ยังไม่ได้เรียบเรียงเป็นภาษาไทย ด้านล่างคือข้อเท็จจริงที่เราอ่านจาก registry
เลือกโปรแกรม AI ที่คุณใช้ แล้วคัดลอกค่าตั้งไปวาง
CSVBOX_API_KEY, CSVBOX_API_SECRET, OPENAI_API_KEY, ANTHROPIC_API_KEYค่าที่ติดป้ายความลับคือกุญแจของบัญชีคุณ อย่าส่งให้ใคร และอย่าวางในแชต
ต้องเตรียมก่อน
คุณใช้แอปไหน
เลือกแอปด้านบน เราจำไว้ให้ ครั้งหน้าปุ่มจะขึ้นว่า “ติดตั้งลง …”
เปิด Claude Desktop → Settings → Developer → Edit Config แล้ววางค่านี้ในไฟล์ claude_desktop_config.json
{
"mcpServers": {
"csvbox": {
"command": "npx",
"args": [
"-y",
"@csvbox/mcp-server"
],
"env": {
"CSVBOX_API_KEY": "ใส่ค่าของคุณ",
"CSVBOX_API_SECRET": "ใส่ค่าของคุณ",
"OPENAI_API_KEY": "ใส่ค่าของคุณ",
"ANTHROPIC_API_KEY": "ใส่ค่าของคุณ"
}
}
}
}พิมพ์คำสั่งนี้ใน Terminal
claude mcp add csvbox --env CSVBOX_API_KEY='ใส่ค่าของคุณ' --env CSVBOX_API_SECRET='ใส่ค่าของคุณ' --env OPENAI_API_KEY='ใส่ค่าของคุณ' --env ANTHROPIC_API_KEY='ใส่ค่าของคุณ' -- npx -y @csvbox/mcp-serverเติมค่าที่เว้นว่างไว้ก่อนรัน
วางในไฟล์ .cursor/mcp.json ของโปรเจกต์ หรือ ~/.cursor/mcp.json
{
"mcpServers": {
"csvbox": {
"command": "npx",
"args": [
"-y",
"@csvbox/mcp-server"
],
"env": {
"CSVBOX_API_KEY": "ใส่ค่าของคุณ",
"CSVBOX_API_SECRET": "ใส่ค่าของคุณ",
"OPENAI_API_KEY": "ใส่ค่าของคุณ",
"ANTHROPIC_API_KEY": "ใส่ค่าของคุณ"
}
}
}
}เบราว์เซอร์จะถามก่อนเปิดแอป จากนั้นแอปแสดงค่าตั้งให้ตรวจแล้วกดยืนยัน ช่อง key เว้นว่างไว้ให้คุณใส่เอง
วางในไฟล์ .vscode/mcp.json ของโปรเจกต์
{
"servers": {
"csvbox": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@csvbox/mcp-server"
],
"env": {
"CSVBOX_API_KEY": "ใส่ค่าของคุณ",
"CSVBOX_API_SECRET": "ใส่ค่าของคุณ",
"OPENAI_API_KEY": "ใส่ค่าของคุณ",
"ANTHROPIC_API_KEY": "ใส่ค่าของคุณ"
}
}
}
}เบราว์เซอร์จะถามก่อนเปิดแอป จากนั้นแอปแสดงค่าตั้งให้ตรวจแล้วกดยืนยัน ช่อง key เว้นว่างไว้ให้คุณใส่เอง
ตัวนี้รันในเครื่องคุณ แต่ ChatGPT ต่อได้เฉพาะ server บนอินเทอร์เน็ต ลองเลือกแอปอื่น
ตัวเลือกเก็บในคุกกี้บนเครื่องนี้ ไม่ต้องมีบัญชี
ค่าตั้งนี้สร้างจากข้อมูลใน registry ของผู้ทำ ถ้าไม่ตรงกับ README ให้เชื่อ README
รันในเครื่องคุณ รายการเครื่องมือจะขึ้นในแอป AI หลังติดตั้ง
เราตรวจจากข้อมูลที่ใครก็เปิดดูได้ ยังไม่ได้อ่านโค้ด ข้อที่ไม่เกี่ยวกับตัวนี้ไม่นับในตัวหาร · ตรวจเมื่อ 6 พ.ย. 2569
ชื่อใน registry ยืนยันด้วยบัญชี GitHub csvbox-io ซึ่งเป็นเจ้าของ repo
ยังไม่ได้อ่านข้อมูล repo จาก GitHub
ยังไม่ได้อ่านข้อมูล repo จาก GitHub
ตัวนี้รันบนเครื่องคุณ ไม่มี endpoint บนอินเทอร์เน็ต
ตัวนี้รันบนเครื่อง ใช้ค่าที่ตั้งในเครื่องแทน
รันในเครื่องคุณ เราอ่านรายการเครื่องมือได้เฉพาะตัวที่มี endpoint บนอินเทอร์เน็ต
เทียบกับทุก server ที่ยังใช้งานในหมวดนี้ทั้งทะเบียน ดาวนับเฉพาะเมื่อผู้ลงทะเบียนเป็นเจ้าของ repo
จากการตรวจเบื้องต้นของเรา ผ่าน 1 จาก 1 ข้อที่ตรวจได้ เรายังไม่ได้อ่านโค้ด ก่อนใส่กุญแจหรือ token ให้ดูว่า server ขอสิทธิ์อะไร และเลือกกุญแจที่ทำได้เท่าที่จำเป็น
ต้องใส่ค่าเหล่านี้: CSVBOX_API_KEY, CSVBOX_API_SECRET, OPENAI_API_KEY, ANTHROPIC_API_KEY
รันบนเครื่องของคุณ โปรแกรม AI จะเปิด server ขึ้นมาเองเมื่อใช้ ข้อมูลไม่ต้องผ่านเซิร์ฟเวอร์ของผู้ทำ (ยกเว้นตัวที่ไปเรียกบริการออนไลน์ต่อ)
repo บน GitHub มีการแก้โค้ดล่าสุด – และส่งรุ่นล่าสุด (1.0.1) เข้า registry 2 เดือนที่ผ่านมา
โปรแกรมที่รองรับ MCP เช่น Claude Desktop, Claude Code, Cursor และ VS Code ตัวนี้ต้องมี Node.js ในเครื่องด้วย
ในหมวดเดียวกันมี Spec Driven Development, Remote Desktop Commander, HotCodePush
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.
Manage over-the-air (OTA) updates for React Native, Expo, Capacitor and Cordova apps.
ส่วนนี้คัดจาก repo ของผู้ทำตามต้นฉบับ PopNx MCP ไม่ได้ตรวจหรือรับรองเนื้อหา ตัด HTML รูปภาพ และสคริปต์ออกแล้ว ลิงก์จะพาออกนอกเว็บ
A universal Model Context Protocol (MCP) server for CSVBox. It exposes CSVBox importer-sheet management as MCP tools so you can create, replace, patch, generate, validate, and scaffold importers from any MCP-compatible client — Claude Desktop, Cursor, Windsurf, Roo Code, Cline, VS Code, ChatGPT MCP, and more.
Runs over stdio, so it works the same way in every client.
| Tool | Purpose | API call |
|---|---|---|
create_sheet | Create a CSVBox sheet | POST /1.1/sheet |
update_sheet | Replace an existing sheet | PUT /1.1/sheet/{key} |
patch_sheet | Partially update a sheet | PATCH /1.1/sheet/{key} |
generate_sheet_json | NL prompt → complete sheet JSON (via LLM) | none (calls LLM) |
create_importer_from_prompt | NL prompt → validate → create | POST /1.1/sheet (+ LLM) |
generate_import_code | Integration code (vanilla-js/react/vue/angular) | none |
generate_sheet_functions | NL prompt → virtual columns / validation functions / data transforms (via LLM) | none (calls LLM) |
validate_schema | Local schema validation | none |
CSVBox currently has no GET or LIST endpoints, so there are intentionally no
get_sheet/list_sheettools.
It also exposes two MCP prompts:
| Prompt | Purpose |
|---|---|
create_csvbox_sheet | Make the host client's own LLM build a complete CSVBox sheet (no server-side LLM key needed). |
csvbox_sheet_functions | Make the host client's own LLM author virtual columns, validation functions, and data transforms (no server-side LLM key needed). |
generate_sheet_json and create_importer_from_prompt use an LLM to convert a free-form request into a complete CSVBox sheet — title, sheet_columns, destinations, webhooks, security_settings, and steps. Only actual data fields become columns; destinations, webhooks, domains, regions, file-upload and step settings are placed in their proper configuration sections, never turned into columns. There are three tiers:
ANTHROPIC_API_KEY or OPENAI_API_KEY is set, the server calls the LLM directly. Works in MCP Inspector and headless.create_csvbox_sheet) — when you have no server key, host clients (Cursor, Claude Desktop, Cline) run the generation with their own model, then call validate_schema and create_sheet. Free.generate_sheet_json returns a structured "no LLM provider configured" error pointing to the MCP prompt, and create_importer_from_prompt does not call the CSVBox API. There is no regex fallback.The generator runs in one of two modes, chosen automatically from the prompt:
supplier_id, supplier_name, supplier_gstin, supplier_email, …). An explicit minimum count is honored and every column_name is globally unique.Data types and validations are inferred from the field names and any requested types:
| Requested / implied | Column type | Validators |
|---|---|---|
| Dropdown / status / category with fixed options | list | values: [...] candidate options |
| Percentage / percent | number | min_value: 0, max_value: 100 |
| Positive numeric (quantity, count, stock, cost, age) | number | min_value: 0 |
| ID / code / reference number | text | — |
email | — | |
| Phone / mobile | phone_number | — |
| URL / website | url | — |
| Price / cost / amount / salary | currency | — |
| Date fields | date | format: "YYYY-MM-DD" |
| Boolean / is_* / active | boolean | — |
| GST / GSTIN / tax id | regex | GSTIN pattern |
| PIN code / postal code (India) | regex | ^1-9{5}$ |
Large schemas: the default models (
claude-haiku-4-5,gpt-4o-mini) are cheap but produce noticeably better 100+ column schemas when you override with a stronger model viaLLM_MODEL(e.g.claude-sonnet-4-6). The output cap is raised to fit big sheets; if a request is still too large the response is flagged `TRUNCATED` (a distinct result, not a parse error) and the CSVBox API is not called — reduce the column count / modules or use a model with a larger output budget and retry.
Beyond the six sheet properties, the CSVBox Sheet API accepts three collections whose items carry a js_code string that CSVBox executes during an import:
| Collection | Identified by | Max | js_code must… |
|---|---|---|---|
virtual_columns | column_name | 20 | return the computed cell value |
validation_functions | function_name | 10 | return an array of error strings ([] = valid) |
data_transforms | transform_name | 10 | mutate the csvbox object and return it |
Inside js_code the csvbox object exposes row, column, virtual, user, import, and environment. The two accessors are not interchangeable — a virtual column is per-row and uses csvbox.row. (a scalar), while a "column"-scoped function sees the whole column via csvbox.column. (an array).
Shared optional fields: scope (column | row; not on virtual columns), run_at (before_validation | after_validation; data transforms only), columns / dynamic_columns, active, dependencies, and _delete (PATCH only).
// generate_sheet_functions (requires ANTHROPIC_API_KEY or OPENAI_API_KEY)
{ "prompt": "add a virtual column joining first and last name, and check every email contains an @", "sheet": { "title": "Customers", "sheet_columns": [ ... ] } }
Returns { "virtual_columns": [...], "validation_functions": [...], "source": ..., "validation": {...} }. Collections the request does not imply are omitted, never returned as empty arrays.
This tool does not call the CSVBox API. Read the generated js_code, then apply it yourself with patch_sheet. Pass sheet so the model references real column names and the validator can check those references — CSVBox has no read endpoint, so it must be supplied inline. Without an LLM key, use the csvbox_sheet_functions MCP prompt instead.
update_sheet (PUT) | patch_sheet (PATCH) | |
|---|---|---|
| Collection you send | authoritative — any existing item not named is deleted | merged — unnamed items are left alone |
"virtual_columns": [] | deletes all 20 | no-op |
| Key omitted | untouched | untouched |
_delete: true | not valid | removes that item (all its other fields ignored) |
Use patch_sheet to apply generated functions. Validate first with the matching verb:
// validate_schema
{ "sheet": { "data_transforms": [ ... ] }, "mode": "patch" }
mode is create (default), put, or patch. It only affects the function collections — under put an empty array is a hard error rather than a warning, and _delete is rejected outside patch.
An item may load up to 5 third-party scripts:
{ "url": "https://cdn.jsdelivr.net/npm/dayjs@1.11.10/dayjs.min.js",
"globals": ["dayjs"], "integrity": "sha384-..." }
Only cdn.jsdelivr.net, unpkg.com, and cdnjs.cloudflare.com are allowed; https only, .js/.mjs path, no query string, fragment, userinfo, or port.
Security. This server never executes
js_code— it is an opaque string here. Generated JavaScript is unreviewed model output, so read it before you PATCH it into a live importer. A dependency without anintegritydigest can change under your customers at any time;validate_schemawarns when one is missing.
See docs/sheet-functions-example.json for a full payload.
npm install @csvbox/mcp-server
Or build from source:
git clone <this-repo> csvbox-mcp-server
cd csvbox-mcp-server npm install npm run build
This produces dist/index.js — the entrypoint MCP clients launch.
Copy .env.example to .env and fill in your CSVBox credentials:
CSVBOX_API_KEY=your_api_key
CSVBOX_API_SECRET=your_api_secret
CSVBox credentials are only required for the API-backed tools (create_sheet, update_sheet, patch_sheet, create_importer_from_prompt). validate_schema and generate_import_code work without any credentials.
Auth header note: the client sends
x-csvbox-api-keyandx-csvbox-secret-api-key(matching the CSVBox reference payloads). These are defined as constants insrc/services/csvbox-api.tsif your account uses different header names.
Every request this server sends to the CSVBox API carries two extra headers:
x-csvbox-client: mcp
x-csvbox-client-version:
CSVBox records how each sheet was created; without these, sheets and imports made through MCP are indistinguishable from any other REST caller. The version is read from package.json and is the same one the server advertises to your MCP client, so the two can never disagree.
These are always sent — there is no environment variable or tool input that disables or changes them. They carry no credentials and nothing derived from your tool inputs. Tools that make no API call (generate_sheet_json, generate_sheet_functions, generate_import_code, validate_schema) send no request and therefore no headers.
generate_sheet_json and create_importer_from_prompt need an LLM. Set one of:
ANTHROPIC_API_KEY=sk-ant-...
OPENAI_API_KEY=sk-...
The provider is auto-detected:
| Condition | Provider | Default model |
|---|---|---|
LLM_PROVIDER=anthropic (and its key set) | Anthropic | claude-haiku-4-5 |
LLM_PROVIDER=openai (and its key set) | OpenAI | gpt-4o-mini |
ANTHROPIC_API_KEY set (no LLM_PROVIDER) | Anthropic | claude-haiku-4-5 |
OPENAI_API_KEY set (no LLM_PROVIDER) | OpenAI | gpt-4o-mini |
| neither key set | none — tools return an error pointing to the create_csvbox_sheet MCP prompt | — |
LLM_PROVIDER disambiguates when both keys are present; LLM_MODEL overrides the model for whichever provider is chosen. For large category/module schemas (100+ columns) set LLM_MODEL to a stronger model (e.g. claude-sonnet-4-6) — see Category / module expansion.
MCP Inspector: set the LLM key in the Inspector's environment-variables panel to use the server-LLM path. Inspector has no host LLM of its own, so it can *render* the
create_csvbox_sheetprompt but cannot *execute* it — for the keyless path use a client with a model (Cursor, Claude Desktop, Cline).
# After building:
npm start
node dist/index.js
The server speaks MCP over stdio and logs csvbox-mcp-server running on stdio to stderr (stdout is reserved for the protocol).
For a published installation, use the npm package with npx. Set CSVBOX_API_KEY / CSVBOX_API_SECRET in the env block.
Note: The npm package is
@csvbox/mcp-serverand the executable iscsvbox-mcp-server.
Add the following to your Claude Desktop MCP configuration:
{
"mcpServers": { "csvbox": { "command": "npx", "args": [ "-y
ตัดมาแค่ช่วงต้น อ่านต่อใน repo