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 分