原型 · 预览版:收录官方注册中心里的全部服务器,每 30 分钟同步一次。评价和账户功能将在后续阶段推出。
PopNx MCP为使用 AI 的人准备的 MCP 服务器 · 用大白话讲清楚

Csvbox MCP Server

作者:csvbox-io版本 1.0.1i★ –i在你的电脑上运行
注册名称io.github.csvbox-io/csvbox-mcp-server

安装

概览

作者提供的说明(英文原文)

CSVBox MCP server for creating, updating, validating and generating CSVBox importer sheets.

PopNx MCP 的三大支柱

这三项永远不会合并成一个分数:意见、测量和人气是不同的东西。

它能帮你做什么

我们还没有为它写通俗的介绍。下面是我们从注册中心读取到的事实。

  • 连接方式: 在你的电脑上运行
  • 传输方式: stdio
  • 分类: 其他
  • 你需要填写:CSVBOX_API_KEY, CSVBOX_API_SECRET, OPENAI_API_KEY, ANTHROPIC_API_KEY

安装

选择你使用的 AI 应用,然后复制设置。

安装之前

  • 基础检查:1 项中通过 1 项
  • 在你的电脑上运行,拥有你的用户账户的权限(文件、网络、应用)。
  • 需要你自己填写: CSVBOX_API_KEY, CSVBOX_API_SECRET, OPENAI_API_KEY, ANTHROPIC_API_KEY

标为机密的值是你账户的钥匙。千万不要分享给别人,也不要粘贴到聊天里。

你需要

  • npm已安装 Node.js(用于 npx 命令)

你用的是哪个应用?

在上方选择你的应用。我们会记住它,下次按钮会显示“安装到 …”。

打开 Claude Desktop → Settings → Developer → Edit Config,把下面的内容粘贴到 claude_desktop_config.json

{
  "mcpServers": {
    "csvbox": {
      "command": "npx",
      "args": [
        "-y",
        "@csvbox/mcp-server"
      ],
      "env": {
        "CSVBOX_API_KEY": "your-value",
        "CSVBOX_API_SECRET": "your-value",
        "OPENAI_API_KEY": "your-value",
        "ANTHROPIC_API_KEY": "your-value"
      }
    }
  }
}

在终端中运行这条命令

claude mcp add csvbox --env CSVBOX_API_KEY=your-value --env CSVBOX_API_SECRET=your-value --env OPENAI_API_KEY=your-value --env ANTHROPIC_API_KEY=your-value -- npx -y @csvbox/mcp-server

运行前请先填写空着的值。

在 Cursor 中打开

或者自己复制设置

粘贴到项目中的 .cursor/mcp.json,或 ~/.cursor/mcp.json

{
  "mcpServers": {
    "csvbox": {
      "command": "npx",
      "args": [
        "-y",
        "@csvbox/mcp-server"
      ],
      "env": {
        "CSVBOX_API_KEY": "your-value",
        "CSVBOX_API_SECRET": "your-value",
        "OPENAI_API_KEY": "your-value",
        "ANTHROPIC_API_KEY": "your-value"
      }
    }
  }
}

浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。

在 VS Code 中打开

或者自己复制设置

粘贴到项目中的 .vscode/mcp.json

{
  "servers": {
    "csvbox": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@csvbox/mcp-server"
      ],
      "env": {
        "CSVBOX_API_KEY": "your-value",
        "CSVBOX_API_SECRET": "your-value",
        "OPENAI_API_KEY": "your-value",
        "ANTHROPIC_API_KEY": "your-value"
      }
    }
  }
}

浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。

这个服务器在你的电脑上运行,而 ChatGPT 只能连接互联网上的服务器。请选择其他应用。

你的选择通过 Cookie 保存在这台设备上,无需账户。

需要你填写的值

  • CSVBOX_API_KEY 机密 必填 env
    CSVBox API key
  • CSVBOX_API_SECRET 机密 必填 env
    CSVBox API secret
  • OPENAI_API_KEY 机密 env
    OpenAI API key for AI-powered tools
  • ANTHROPIC_API_KEY 机密 env
    Anthropic API key for AI-powered tools

这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。

它能做什么

它在你的电脑上运行;安装后,工具列表会显示在你的 AI 应用中。

基础检查i

我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月7日

  • ✓ 通过

    作者与仓库一致

    注册名称已通过 GitHub 账户 csvbox-io 验证,该账户拥有此仓库

  • … 尚未检查

    仍在维护

    我们还没有从 GitHub 读取这个仓库

  • … 尚未检查

    有许可证

    我们还没有从 GitHub 读取这个仓库

  • – 不适用

    端点有响应

    它在你的电脑上运行,没有互联网端点

  • – 不适用

    使用 OAuth 登录

    在你的电脑上运行,改用本地设置

  • … 尚未检查

    工具描述中没有隐藏指令

    它在你的电脑上运行;我们只能读取互联网端点的工具列表

与“其他”中的其他服务器比较i

  • 星标数多于此分类中其他 32558 个服务器的 0%
  • 发布到注册中心的时间比此分类中其他 32558 个服务器的 30% 更新
  • 基础检查结果等于或优于此分类中其他 32558 个服务器的 100%

与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。

常见问题

Csvbox MCP Server 安全吗?

它在 1 项适用的基础检查中通过了 1 项。我们没有阅读代码。在添加密钥或令牌之前,请先看看这个服务器要求哪些权限,并使用只具备所需权限的密钥。

它需要哪些密钥或代码?

你需要填写:CSVBOX_API_KEY, CSVBOX_API_SECRET, OPENAI_API_KEY, ANTHROPIC_API_KEY

它在我的电脑上运行还是在云端?

它在你的电脑上运行。你的 AI 应用会在需要时启动它,数据不会经过作者的服务器(除非它自己调用在线服务)。

它还在维护吗?

GitHub 仓库最后更新于–,最新版本(1.0.1)于2个月前进入注册中心。

哪些应用可以使用它?

支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。你的电脑上还需要有 Node.js。

有什么可以替代它?

同一分类中有:Spec Driven Development, Remote Desktop Commander, FactLot

替代选择

同一分类中其他作者的服务器,按星标数排序。

如何看卡片:★ GitHub 星标i三大支柱:评价 · 检查 · 使用情况i更新 = 最新版本发布到注册中心的时间i

Spec Driven Development

作者:formulahendry

MCP Server that facilitates spec-driven development workflows, not just Vibe Coding.

在你的电脑上运行★ 440MIT14个月前更新
安装

Remote Desktop Commander

作者:desktop-commander

Remote Desktop Commander: use files, terminal and processes on your own computers from any AI app.

在云端运行★ 211昨天更新
安装

FactLot

作者:9mp96ygnbk-alt

Cited CRE facts and deterministic calculators for agents: rent, CAM, debt sizing, IRR, parcel IDs.

电脑或云端今天更新
安装

作者的 README

打开 README

按原文从作者的仓库复制。PopNx MCP 没有审查或背书其内容。HTML、图片和脚本已被移除。链接会离开本站。

csvbox-mcp-server

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.

Tools

ToolPurposeAPI call
create_sheetCreate a CSVBox sheetPOST /1.1/sheet
update_sheetReplace an existing sheetPUT /1.1/sheet/{key}
patch_sheetPartially update a sheetPATCH /1.1/sheet/{key}
generate_sheet_jsonNL prompt → complete sheet JSON (via LLM)none (calls LLM)
create_importer_from_promptNL prompt → validate → createPOST /1.1/sheet (+ LLM)
generate_import_codeIntegration code (vanilla-js/react/vue/angular)none
generate_sheet_functionsNL prompt → virtual columns / validation functions / data transforms (via LLM)none (calls LLM)
validate_schemaLocal schema validationnone

CSVBox currently has no GET or LIST endpoints, so there are intentionally no get_sheet / list_sheet tools.

It also exposes two MCP prompts:

PromptPurpose
create_csvbox_sheetMake the host client's own LLM build a complete CSVBox sheet (no server-side LLM key needed).
csvbox_sheet_functionsMake the host client's own LLM author virtual columns, validation functions, and data transforms (no server-side LLM key needed).
Prompt → sheet generation

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:

  1. Server LLM — when ANTHROPIC_API_KEY or OPENAI_API_KEY is set, the server calls the LLM directly. Works in MCP Inspector and headless.
  2. MCP prompt (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.
  3. None configured — 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.
Category / module expansion

The generator runs in one of two modes, chosen automatically from the prompt:

  • Extraction (default) — the prompt names concrete fields (e.g. *"columns name, email, phone"*). Only those become columns; nothing is invented.
  • Expansion — the prompt names business modules / categories as a list (e.g. *"modules for: Company Information, Suppliers, Payroll, Invoice"*), asks for a *comprehensive*/*detailed* schema, or asks for a column count (*"at least 100 columns"*). Each named module is expanded into several realistic, prefixed, correctly-typed columns (e.g. Suppliers → 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 / impliedColumn typeValidators
Dropdown / status / category with fixed optionslistvalues: [...] candidate options
Percentage / percentnumbermin_value: 0, max_value: 100
Positive numeric (quantity, count, stock, cost, age)numbermin_value: 0
ID / code / reference numbertext—
Emailemail—
Phone / mobilephone_number—
URL / websiteurl—
Price / cost / amount / salarycurrency—
Date fieldsdateformat: "YYYY-MM-DD"
Boolean / is_* / activeboolean—
GST / GSTIN / tax idregexGSTIN 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 via LLM_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.

Function collections (virtual columns, validation functions, data transforms)

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:

CollectionIdentified byMaxjs_code must…
virtual_columnscolumn_name20return the computed cell value
validation_functionsfunction_name10return an array of error strings ([] = valid)
data_transformstransform_name10mutate 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).

Authoring them
// 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.

PUT vs PATCH — read this before applying
update_sheet (PUT)patch_sheet (PATCH)
Collection you sendauthoritative — any existing item not named is deletedmerged — unnamed items are left alone
"virtual_columns": []deletes all 20no-op
Key omitteduntoucheduntouched
_delete: truenot validremoves 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.

Dependencies

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 an integrity digest can change under your customers at any time; validate_schema warns when one is missing.

See docs/sheet-functions-example.json for a full payload.

Installation

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.

Environment variables

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-key and x-csvbox-secret-api-key (matching the CSVBox reference payloads). These are defined as constants in src/services/csvbox-api.ts if your account uses different header names.

Client identification

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.

LLM provider (for prompt → sheet generation)

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:

ConditionProviderDefault model
LLM_PROVIDER=anthropic (and its key set)Anthropicclaude-haiku-4-5
LLM_PROVIDER=openai (and its key set)OpenAIgpt-4o-mini
ANTHROPIC_API_KEY set (no LLM_PROVIDER)Anthropicclaude-haiku-4-5
OPENAI_API_KEY set (no LLM_PROVIDER)OpenAIgpt-4o-mini
neither key setnone — 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_sheet prompt but cannot *execute* it — for the keyless path use a client with a model (Cursor, Claude Desktop, Cline).

Running locally

# After building:

npm start

Or run the built file directly:

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).

Client configuration

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-server and the executable is csvbox-mcp-server.

Claude Desktop

Add the following to your Claude Desktop MCP configuration:

{

"mcpServers": { "csvbox": { "command": "npx", "args": [ "-y

只显示了开头部分;其余内容请在仓库中阅读

问 PopNx