@stableops/mcp-server
v1.0.1
Published
Stdio MCP server that exposes the StableOps SDK as policy-scoped tools for AI agents.
Maintainers
Readme
StableOps MCP Server
一个基于 stdio 的 Model Context Protocol (MCP) 服务,让 AI Agent(Claude Desktop、Cursor、VS Code 等)通过受控的工具接口访问 StableOps 支付单、地址、Webhook、收银台、Agent 审计和商户订阅操作。每次工具调用都会经过工作区 action policy 检查。
安装
npm install @stableops/mcp-server需要 Node.js 20 或更高版本。
快速开始
设置两个必需的环境变量,启动 stdio 服务:
export STABLEOPS_API_KEY=sk_...
export STABLEOPS_AGENT_SESSION_ID=session_123
npx stableops-mcpSTABLEOPS_API_KEY 和 STABLEOPS_AGENT_SESSION_ID 是仅有的两个必填项。环境(sandbox / live)由 API Key 自身决定。
官方文档
完整的工具清单、MCP host 接入(Claude Desktop、Claude Code、Codex CLI 等)、策略配置和编程用法,请查看官方文档:
查看完整文档 → https://stableops.dev/zh/docs/agents/mcp-server
License
Apache-2.0
