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

Wafeq

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

安装

概览

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

Wafeq accounting API: all 251 endpoints as safety-categorized MCP tools, over stdio or HTTP.

PopNx MCP 的三大支柱

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

它能帮你做什么

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

  • 连接方式: 在你的电脑上运行
  • 传输方式: stdio
  • 分类: 会计、财务与税务
  • 你需要填写:MCP_TRANSPORT, WAFEQ_API_KEY, WAFEQ_ACCESS_TOKEN, MCP_AUTH_TOKEN

安装

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

安装之前

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

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

你需要

你用的是哪个应用?

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

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

{
  "mcpServers": {
    "wafeq": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "-e",
        "MCP_TRANSPORT",
        "-e",
        "WAFEQ_API_KEY",
        "-e",
        "WAFEQ_ACCESS_TOKEN",
        "-e",
        "WAFEQ_TOOL_GROUPS",
        "-e",
        "WAFEQ_API_BASE_URL",
        "-e",
        "MCP_AUTH_TOKEN",
        "ghcr.io/ohneben/wafeq-mcp:2.1.0"
      ],
      "env": {
        "MCP_TRANSPORT": "your-value",
        "WAFEQ_API_KEY": "your-value",
        "WAFEQ_ACCESS_TOKEN": "your-value",
        "WAFEQ_TOOL_GROUPS": "your-value",
        "WAFEQ_API_BASE_URL": "your-value",
        "MCP_AUTH_TOKEN": "your-value"
      }
    }
  }
}

在终端中运行这条命令

claude mcp add wafeq --env MCP_TRANSPORT=your-value --env WAFEQ_API_KEY=your-value --env WAFEQ_ACCESS_TOKEN=your-value --env WAFEQ_TOOL_GROUPS=your-value --env WAFEQ_API_BASE_URL=your-value --env MCP_AUTH_TOKEN=your-value -- docker run -i --rm -e MCP_TRANSPORT -e WAFEQ_API_KEY -e WAFEQ_ACCESS_TOKEN -e WAFEQ_TOOL_GROUPS -e WAFEQ_API_BASE_URL -e MCP_AUTH_TOKEN ghcr.io/ohneben/wafeq-mcp:2.1.0

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

在 Cursor 中打开

或者自己复制设置

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

{
  "mcpServers": {
    "wafeq": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "-e",
        "MCP_TRANSPORT",
        "-e",
        "WAFEQ_API_KEY",
        "-e",
        "WAFEQ_ACCESS_TOKEN",
        "-e",
        "WAFEQ_TOOL_GROUPS",
        "-e",
        "WAFEQ_API_BASE_URL",
        "-e",
        "MCP_AUTH_TOKEN",
        "ghcr.io/ohneben/wafeq-mcp:2.1.0"
      ],
      "env": {
        "MCP_TRANSPORT": "your-value",
        "WAFEQ_API_KEY": "your-value",
        "WAFEQ_ACCESS_TOKEN": "your-value",
        "WAFEQ_TOOL_GROUPS": "your-value",
        "WAFEQ_API_BASE_URL": "your-value",
        "MCP_AUTH_TOKEN": "your-value"
      }
    }
  }
}

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

在 VS Code 中打开

或者自己复制设置

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

{
  "servers": {
    "wafeq": {
      "type": "stdio",
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "-e",
        "MCP_TRANSPORT",
        "-e",
        "WAFEQ_API_KEY",
        "-e",
        "WAFEQ_ACCESS_TOKEN",
        "-e",
        "WAFEQ_TOOL_GROUPS",
        "-e",
        "WAFEQ_API_BASE_URL",
        "-e",
        "MCP_AUTH_TOKEN",
        "ghcr.io/ohneben/wafeq-mcp:2.1.0"
      ],
      "env": {
        "MCP_TRANSPORT": "your-value",
        "WAFEQ_API_KEY": "your-value",
        "WAFEQ_ACCESS_TOKEN": "your-value",
        "WAFEQ_TOOL_GROUPS": "your-value",
        "WAFEQ_API_BASE_URL": "your-value",
        "MCP_AUTH_TOKEN": "your-value"
      }
    }
  }
}

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

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

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

需要你填写的值

  • MCP_TRANSPORT 必填 env
    Server transport. Set to 'stdio' for local MCP clients; the image otherwise starts the Streamable HTTP transport.
  • WAFEQ_API_KEY 机密 env
    Private organization API key, sent as `Authorization: Api-Key `. Wafeq -> Settings -> Developer -> API keys. Required unless WAFEQ_ACCESS_TOKEN is set.
  • WAFEQ_ACCESS_TOKEN 机密 env
    OAuth2 app access token, sent as `Authorization: Bearer `. Use instead of WAFEQ_API_KEY.
  • WAFEQ_TOOL_GROUPS env
    Comma-separated resource groups to expose, e.g. invoices,bills,reports. Empty exposes all 251 generated tools.
  • WAFEQ_API_BASE_URL env
    Overrides the Wafeq API base URL. Defaults to https://api.wafeq.com/v1
  • MCP_AUTH_TOKEN 机密 env
    Only for MCP_TRANSPORT=http: bearer token required on /mcp. Without it a non-loopback bind refuses to start.

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

它能做什么

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

基础检查i

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

  • ✓ 通过

    作者与仓库一致

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

  • … 尚未检查

    仍在维护

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

  • … 尚未检查

    有许可证

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

  • – 不适用

    端点有响应

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

  • – 不适用

    使用 OAuth 登录

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

  • … 尚未检查

    工具描述中没有隐藏指令

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

与“会计、财务与税务”中的其他服务器比较i

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

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

常见问题

Wafeq 安全吗?

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

它需要哪些密钥或代码?

你需要填写:MCP_TRANSPORT, WAFEQ_API_KEY, WAFEQ_ACCESS_TOKEN, MCP_AUTH_TOKEN

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

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

它还在维护吗?

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

哪些应用可以使用它?

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

有什么可以替代它?

同一分类中有:Finance Toolkit, SolidInvoice, Korea Tax Calculator

替代选择

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

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

Finance Toolkit

500+ transparent financial methods calculated from raw statements, not third-party endpoints.

作者:JerBouma广泛使用↓ 1.6万/周★ 54963天前更新

电脑或云端

SolidInvoice

Create and send invoices and quotes, manage clients, and track payments in SolidInvoice.

作者:SolidInvoice正在增长★ 98110天前更新

在云端运行✓ solidinvoice.co

Korea Tax Calculator

Korean tax calculation and tax-audit judgment MCP: 97 tools with statutory citations.

作者:UpstageAI正在增长↓ 3172/周★ 97今天更新

在你的电脑上运行

作者的 README

打开 README

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

ohneben's Wafeq MCP


License & checks
MCP registries

Run your Wafeq books in plain language from AI assistants like Claude, Cursor, and any other MCP client.

This Model Context Protocol server exposes the Wafeq Public API — all 251 endpoints, generated straight from the OpenAPI spec into MCP tools, plus two hand-written ones. Every tool carries a safety category (🟢 read-only / 🟡 write / 🟠 state change / 🔴 irreversible or destructive) so your assistant knows what an action does *before* it calls it — including the difference between saving an invoice and filing it with a tax authority, which no CRUD-shaped wrapper can tell you. It runs over stdio (Claude Desktop and other local launchers) or Streamable HTTP (hosted in Docker), and ships with retries, client-side rate limiting, request timeouts, idempotency keys, multipart upload and binary PDF handling so it holds up against a live book.

Why you'll want this

Some MCP servers just forward an API. This one is built to be safe to hand to an LLM and easy to run against real accounting data:

What you getWhy it matters
All 251 endpoints, spec-drivenFull coverage of invoices, bills, quotes, credit and debit notes, payments, banking, journals, payroll, projects, inventory and reports — nothing hand-picked or left behind.
Nine safety categories, not four 🟢 / 🟡 / 🟠 / 🔴A dozen of Wafeq's POSTs are not creates. Previews write nothing; ending an amortization early posts to the ledger with no undo; reporting an invoice to a tax authority leaves your organization permanently. Each gets its own banner instead of being lumped in with "create".
Server instructions sent on connectThe client is told how to read the safety banners and the handful of Wafeq conventions — date format, decimal separator, whole-period report ranges — up front, instead of discovering them by getting a call wrong first.
Machine-readable MCP annotations (readOnlyHint, destructiveHint)Hosts that honor annotations (Claude included) can auto-trust the 98 read-only tools and demand confirmation before any of the 44 that delete or cannot be undone.
Correct report parameters, per reportEach of the four reports gets its own schema: balance sheet takes date + period_count; profit-and-loss and cash flow take date_after + date_before; trial balance takes from_date + to_date. Wafeq silently ignores misspelled query parameters, so a wrong name looks like a working call.
Whole-period validation before sendingProfit-and-loss and cash flow reject ranges that don't align to whole months or years. The server checks locally and replies with the nearest valid range instead of spending a round trip on an HTTP 400.
Automatic idempotency keysEvery one of the 146 write endpoints that supports X-Wafeq-Idempotency-Key gets a UUID v4 automatically, reused across retries — so a network hiccup can never duplicate an invoice. Supply your own to make a deliberate re-run safe too.
File uploads that actually workPOST /files/ is multipart-only and POST /files/raw/ needs a Content-Disposition header. Both are handled; you pass base64 content and a filename.
Binary PDFs handled as bytesThe nine PDF endpoints are base64-encoded into a small envelope with size and content type, instead of being read as text and corrupted.
Automatic retries with backoffTransient 429 / 5xx responses are retried with jittered exponential backoff, honoring Retry-After — with the same idempotency key, exactly as Wafeq's integration guide requires.
Built-in rate limitingSelf-throttles so a burst of tool calls doesn't trip a 429. Wafeq publishes no numeric limit, so the default is deliberately conservative and configurable.
Tenant verified at startupA Wafeq API key is organization-scoped. The server calls GET /organization/ before serving and publishes the result on /health, so a mis-set key shows up as a name you can check rather than as writes against the wrong company's books.
**Two transports: stdio *and* Streamable HTTP**Use it locally in Claude Desktop, or run one always-on server that any number of MCP clients reach over HTTP.
Docker + docker-compose, health check, auto-restartdocker compose up and it stays up, bound to localhost only.
Optional bearer-token auth on the HTTP endpointPut the server behind a shared secret the moment it's reachable beyond localhost.
Your secrets never reach the modelCredentials live in the server's environment and are injected on every request. The passthrough tool cannot override Authorization or point the credential at another host.
Drop-in spec updatesWafeq ships a newer spec? Replace one file and rebuild — new endpoints become new tools automatically, no code changes.
How it compares
CapabilityThis projectGeneric OpenAPI→MCP wrapper\*
All 251 Wafeq endpoints as tools✅✅
Per-tool safety category + banner✅❌
Tax-authority filing flagged as irreversible, not "create"✅❌
readOnlyHint / destructiveHint MCP annotations✅➖
Read-only fields stripped from create/update bodies✅❌
Duplicated enum prose compacted out of schemas✅❌
Correct, per-report date parameters✅✅
Whole-period range validated before sending✅❌
Automatic X-Wafeq-Idempotency-Key, stable across retries✅❌
Multipart + raw-binary file upload✅➖
Binary PDF responses base64-encoded, not mangled✅➖
Transaction dates recovered for journal line items✅❌
Automatic retries on 429 / 5xx (honors Retry-After)✅❌
Client-side rate limiting✅❌
Organization identity verified at startup✅❌
stdio transport✅✅
Streamable-HTTP transport✅➖
Docker + docker-compose, health check, auto-restart✅❌
Optional bearer-token auth on the endpoint✅❌
LicenseMITvaries

\*Generic OpenAPI→MCP wrappers turn any spec into MCP tools. They can reach the same endpoints, but treat every operation identically — and against Wafeq's spec specifically they inherit the read-only-required-field problem described in MIGRATION.md. "➖" = varies by tool / not guaranteed.

What you can do

Once it's connected, ask your assistant things like:

  • "What was our profit and loss for the first half of this year?"
  • "Show me every unpaid invoice older than 30 days, with the customer name."
  • "Create a draft invoice for Acme Ltd for 3 days of consulting at €800/day."
  • "Download invoice INV-2026-014 as a PDF."
  • "Which account did the €7,000 transfer in January post to?"
  • "Attach this receipt to expense EXP-118."
  • "Reconcile the bank statement lines for March against the ledger."
  • "Convert quote QUO-31 to an invoice and record the payment."

How it works

Claude / Cursor / any MCP client  ──MCP──►  this server  ──HTTPS──►  Wafeq API (your organization)

At startup the server parses the bundled OpenAPI spec into MCP tools — resolving $refs, guarding against recursive schemas, and stripping server-assigned (readOnly) fields out of request bodies — tags each tool with its safety category, verifies which Wafeq organization the credentials belong to, and then injects your credential on every outgoing request. Your key stays in the server's environment; the model never sees or handles it.

Requirements

  • A Wafeq organization with API access — either a private API key (Wafeq → Settings → Developer → API keys) or an OAuth2 access token. See Get your API credentials.
  • Docker (Docker Desktop on macOS/Windows) for the quick start below — or Node.js ≥ 20 to run from source.

Quick start (Docker)

1. Add your credentials. Copy the example config and fill it in:

cp .env.example .env

Then edit .env and set WAFEQ_API_KEY. Unless HOST is a loopback address the server also requires MCP_AUTH_TOKEN and refuses to start without one, so set it to a long random string: MCP_AUTH_TOKEN=$(openssl rand -hex 32).

2. Start the server:

docker compose up -d --build

docker-compose.yml binds to 127.0.0.1:8765 only, so the server is reachable from your machine but not from the network.

3. Confirm it's running — and that it's pointed at the right books:

curl -s http://localhost:8765/health
{

"status": "ok", "server": "wafeq-mcp", "version": "2.0.0", "tools": 253, "organization": { "status": "ok", "id": "org_...", "name": "Your Company FZCO", "base_currency": "EUR", "country": "AE" }, "auth_required": false }

Check the `name` field. That is the organization your key writes to. If it isn't the company you expected, stop and fix the key before doing anything else. /health answers 503 and "status": "degraded" when the credentials can't be verified.

4. Point your MCP client at it: http://localhost:8765/mcp (Streamable HTTP).

Remote endpoints are added to Claude as a custom connector (Settings → Connectors), or bridged locally with mcp-remote. For the bridge, add this under mcpServers in your client config and restart the app completely:

{

"mcpServers": { "wafeq": { "command": "npx", "args": [ "mcp-remote", "http://localhost:8765/mcp", "--header", "Authorization: Bearer YOUR_MCP_AUTH_TOKEN" ] } } }

(Drop the --header line only if the server runs without a token, which it allows on a loopback bind alone.)

Prefer a ready-made image?

Every release publishes a ready-to-run image to the GitHub Container Registry, so you can skip the local build entirely:

docker run -d --name wafeq-mcp -p 127.0.0.1:8765:8765 --env-file .env \

ghcr.io/ohneben/wafeq-mcp:latest

Pin a version (:2.0.0) rather than latest if you want releases to be something you opt into.

Install from the MCP Registry

The server is published to the MCP Registry as io.github.ohneben/wafeq-mcp, so registry-aware clients can install it by name. The registry entry launches the image over stdio — see Run the container over stdio for the equivalent hand-written config.

curl -s "https://registry.modelcontextprotocol.io/v0.1/servers/io.github.ohneben%2Fwafeq-mcp/versions/latest"

Get your API credentials

Private API key (most people): in Wafeq, go to **Settings

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

问 PopNx