Meridian Mcp

io.github.meridian-silkdev由 GitHub 帳號 meridian-silkdev 發布v0.1.2更新於 Oct 24, 2026

MCP server for Meridian: services, requests, workflow, payments, meetings for founders.

概覽

AI 產生的概覽

面向 Meridian 商業服務平台的本機 stdio MCP 伺服器,讓助理瀏覽服務、管理服務請求與工作流程步驟、查詢付款並處理會議。

可以做什麼
  • 列出並檢視服務目錄:服務、含表單設定的服務詳情、服務分類
  • 列出、讀取並建立服務請求,以及修改請求狀態
  • 追蹤並推進工作流程步驟,包括目前階段與依序的請求步驟
  • 查詢付款狀態,並透過 Flouci 或 Stripe 在伺服器端驗證付款
  • 列出、建立會議並回覆會議邀請,包括建立 Teams 會議並寄送邀請
  • 檢查 API 連線與設定,並讀取服務目錄與工作流程資源
適用情境
當你使用 Meridian 實例,希望助理不必開啟網頁應用就能查詢服務、建立或追蹤服務請求的工作流程、查看付款狀態或管理會議時適用。
執行需求
以 npm 套件形式在本機透過 stdio 執行,需要 Node.js。需要 MERIDIAN_API_URL 指向 Meridian 應用(預設 REST 呼叫使用的 MERIDIAN_API_KEY(mrd_ 金鑰);未設定金鑰時所有工具只回傳 dry-run 佔位提示。另有選用的 DATABASE_URL 備援與 MERIDIAN_MCP_LOG_LEVEL。
安裝前請注意
伺服器要求提供長期有效的 MERIDIAN_API_KEY 憑證,請勿寫入會提交到 git 的共用設定檔。多個工具會寫入資料:建立服務請求、更新請求狀態、推進工作流程步驟、建立會議並寄送邀請、回覆會議。付款驗證會聯絡 Flouci 或 Stripe。未設定金鑰時可在 dry-run 模式下安全執行。

安裝

在 SourceWeft 中

  1. 開啟 儀表板中的 Meridian Mcp,將其新增到工作區。
  2. 為需要使用其工具的對話啟用該服務。

Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。

其他 MCP 客戶端

參照 儲存庫 中的啟動說明。

README

@meridiantoolkit/mcp

[meridian-mcp MCP server]

MCP server for the Meridian business-services platform. Exposes services, service requests, workflow steps, payments and meetings as Model Context Protocol tools and resources. MCP is a protocol, not a host-specific plugin format — this server runs unchanged in Claude Code, Codex CLI, Claude Desktop, pi, or any other MCP-compatible client.

Listed on the official MCP Registry as io.github.meridian-silkdev/meridian-mcp, and on Glama.

Install

bash
cd meridian-mcpnpm installnpm run build

Or once published:

bash
npx @meridiantoolkit/mcp

Configure

Copy .env.example or set env vars directly:

VarDescriptionDefault
MERIDIAN_API_URLMeridian app base URLhttp://localhost:3000
MERIDIAN_API_KEYmrd_ API key (Better Auth) for REST calls(none — tools return placeholder hint until set)
DATABASE_URLOptional direct DB access fallback
MERIDIAN_MCP_LOG_LEVELdebug/info/warn/errorinfo

More: /.well-known/agent-configuration exposes Agent Auth discovery (capability-based, short-lived JWTs, device-auth/CIBA approval). Agents can use either a long-lived mrd_ key or scoped Agent Auth grants — see meridian-skills meridian-api skill.

Without MERIDIAN_API_KEY every tool still responds — it explains what endpoint would be called and what to configure, so the server is safe to run in dry-run / demo mode.

Run

bash
npm start            # stdio MCP servernpm run dev          # watch mode via tsx

Claude Code

bash
claude mcp add meridian -- node /absolute/path/to/meridian-mcp/dist/index.js# or, once published:claude mcp add meridian -- npx -y @meridiantoolkit/mcp

Or drop a .mcp.json in your project root (shareable with a team, checked into git):

json
{  "mcpServers": {    "meridian": {      "command": "npx",      "args": ["-y", "@meridiantoolkit/mcp"],      "env": {        "MERIDIAN_API_URL": "http://localhost:3000",        "MERIDIAN_API_KEY": "..."      }    }  }}

Codex CLI

Codex reads MCP servers from ~/.codex/config.toml (or a project-scoped .codex/config.toml for a trusted project):

toml
[mcp_servers.meridian]command = "npx"args = ["-y", "@meridiantoolkit/mcp"]env = { MERIDIAN_API_URL = "http://localhost:3000", MERIDIAN_API_KEY = "..." }

Or via the CLI: codex mcp add meridian -- npx -y @meridiantoolkit/mcp. The same config is shared by Codex CLI, the IDE extension, and the ChatGPT desktop app.

Codex has no plugin/skill system (unlike Claude Code and pi) — its equivalent of meridian-plugin/meridian-skills is just this MCP server plus project guidance. Copy AGENTS.md.example into your project's AGENTS.md for the same tool-usage guidance the skills packages give elsewhere.

Claude Desktop / pi

Add to your MCP config (Claude Desktop: claude_desktop_config.json; pi: .pi/settings.json → mcpServers, or pi --mcp):

json
{  "mcpServers": {    "meridian": {      "command": "node",      "args": ["/absolute/path/to/meridian-mcp/dist/index.js"],      "env": {        "MERIDIAN_API_URL": "http://localhost:3000",        "MERIDIAN_API_KEY": "..."      }    }  }}
bash
pi --mcp meridian-mcp/dist/index.js# or via npx after publishnpx @meridiantoolkit/mcp

Tools

ToolDescription
meridian_statusCheck API connectivity/config and list available tools/resources. No params. Works the same in every client — this replaces the pi-only meridian_status extension tool from meridian-plugin so status-checking isn't tied to one host.
list_servicesList services (filter: categorySlug, isActive, countryCode)
get_serviceGet service by id/slug with formConfig
list_categoriesList service categories
list_service_requestsList requests (filter: status, customerId, providerId, limit)
get_service_requestGet request by id with steps
create_service_requestCreate request (serviceId, answers, customTitle)
update_request_statusPatch request status (prefer advance_step)
get_workflow_statusCurrent phase + all requestSteps
advance_stepComplete current step → next step
list_request_stepsAll RequestSteps in order
get_payment_statusPayment row for a request
verify_paymentServer-side verify with Flouci (Tunisia, local) or Stripe (international)
list_meetingsList meetings (filter: serviceRequestId, status)
create_meetingCreate Teams meeting + invites
respond_to_meetingRSVP ACCEPTED/DECLINED/PENDING

Resources

URIDescription
meridian://servicesService catalog JSON
meridian://workflowWorkflow backbone + phases

Development

bash
npm run typechecknpm run buildnpm test          # spawns the built server over stdio and exercises every tool/resource

Publish

First publish (manual, one-time — a scoped package can't use Trusted Publishing until it exists on the registry):

bash
npm login                     # once per machinenpm publish --access public

CI/CD

  • .github/workflows/ci.yml — every push to main and every PR: npm ci, typecheck, build, npm test (the real stdio smoke suite).
  • .github/workflows/publish.yml — fires on a published GitHub Release, re-runs the full test suite, checks the release tag matches package.json's version, then:
    1. npm publish --provenance via npm's Trusted Publishing (OIDC) — no NPM_TOKEN secret to create or rotate.
    2. Publishes/updates the listing on the official MCP Registry via mcp-publisher login github-oidc + mcp-publisher publish (also OIDC, no secret). server.json's version is synced to the release tag automatically. This step has continue-on-error: true — the registry is explicitly in preview, so a hiccup there never blocks the actual npm release.

mcpName requirement: package.json has an "mcpName": "io.github.meridian-silkdev/meridian-mcp" field — the registry's package validator needs this to confirm the npm package and the GitHub-verified server identity are published by the same owner. If you ever rename the server in server.json, update this field too or publishes will 400.

Known upstream bug, worked around: the interactive mcp-publisher login github device flow reliably 403s when publishing under a GitHub organization namespace (confirmed-public membership, Owner role, doesn't matter — see modelcontextprotocol/registry#1537, still open as of this writing). github-oidc from inside a GitHub Actions workflow running in the org's own repo sidesteps it entirely, since it verifies the workflow's repo identity rather than checking the human account's org list. That's why the registry publish step lives in CI, not as a manual local command.

One-time setup after the first manual publish: on the package's npmjs.com page → Settings → Trusted Publisher → GitHub Actions, and point it at meridian-silkdev/meridian-mcp, workflow publish.yml. After that, releasing a new version is just:

bash
npm version patch   # or minor/major — bumps package.json + creates a git taggit push --follow-tagsgh release create v0.1.3 --generate-notes   # publishing this release triggers both the npm and MCP Registry publish steps

來源:README.md,提交 e6f1e07

工具

0
SourceWeft 尚未在沙箱中啟動過該軟體包,因此其工具未知。

版本歷史

1
  1. v0.1.2最新Sep 16, 2026

評分

已滿足適用檢查項的 50%

該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。

  • 近 30 天內可連通25 分

    請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。

  • 已宣告認證方式10 分

    請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。

  • 已列出工具15 分

    請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。

  • 描述必需15 分
  • 圖示10 分
  • 文件15 分
  • 授權條款10 分