erp-billing
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@erp-billingPrepare a sales order for customer Acme Corp with 5 units of SKU-123"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
GJP ERP AI 销售开单 MCP
基于 AgentScope 2.0.5 的完整销售单 MCP 服务,服务名为 erp-billing。
AI 平台 / SaaS 对话页
│ Authorization: Bearer <ERP JWT / OAuth2 token>
▼
ERP 开单 MCP
├─ McpIdentityResolver:解析身份与 billing scopes
├─ McpToolSetResolver:按 tenant/account/session 隔离会话
├─ BillingToolSet:资料追问、商品匹配、预览和提交
└─ BillingApiPort
└─ Adapter:固定 ERP URL + 按会话注入 BearerERP URL 不是租户动态参数,由部署环境唯一配置:
ERP_BILLING_BASE_URL=https://test-ai.yuncyb.com/aicyberp-apiURL 不进入 InvocationContext 或 Tool Schema。生产环境由 MCP 客户端直接携带
ERP JWT / OAuth2 Bearer,服务端只从 payload 解析无凭据身份,并在调用 ERP API 时
按当前请求注入原 Bearer;账号、密码、验证码、Cookie 和 Token 都不进入模型可见
工具参数。
销售单流程
业务必填项:
客户
出库仓库
经手人
录单日期(
YYYY-MM-DD)商品明细
备注可选,最多 200 字。接口必填的 id=0 与 saveType 由工具内部管理:草稿
0、预收 1、正式 2。
MCP 发布十个工具:
工具 | 作用 |
| 同步当前账号可见商品到隔离会话内存 |
| 分页浏览商品目录 |
| 按关键词定位真实 ERP 商品 |
| 查询客户、仓库或经手人候选 |
| 返回有序待办、商品匹配和不可变销售单预览 |
| 用户确认后以 |
| 查询销售单详情 |
| 分页查询销售单列表 |
| 用户确认后作废销售单 |
| 用户确认后修改销售单 |
实际调用接口:
GET /product/page
GET /customer/page
GET /warehouse/page
GET /staff/page
POST /sales/orders
GET /sales/orders/page
GET /sales/orders/{id}
PUT /sales/orders/{id}
PUT /sales/orders/{id}/void只有 previewSalesOrder 返回 ready_to_submit=true 且
required_actions=["confirm_submit"],用户明确确认当前预览,并且调用身份具有
billing:write 时,才允许提交。submitSalesOrder 还要求唯一
idempotency_key;当前实现提供会话内防重,生产多副本应接入共享幂等存储。
提示词只保留两个入口:ERP_BILLING_MCP_INSTRUCTIONS 由 MCP initialize 自动下发,
ERP_BILLING_SYSTEM_PROMPT 供 AI 平台装配 Agent。两者职责不同,不需要对接方再
拼接第三份响应契约。
Related MCP server: SAP RFC MCP Server
开发
uv sync --extra dev
uv run pytest -q
uv run ruff check src tests代码结构:
src/
├── erp_billing/ # 销售单领域、ToolSet、Port、Adapter、Prompt 和 MCP
└── gjp_common/ # 身份、固定端点、凭据、MCP、配置和日志主要文档:
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections. Dates show when Glama detected each change.
No tool schema history has been recorded yet.
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Connectors
MCP server unifying ERPs, CRMs, APIs and knowledge base for Claude, ChatGPT and Gemini.
Unified MCP server for 70+ eCommerce platforms: products, orders, customers, and more.
Multi-tenant MCP gateway for AI commerce. One connection, every store.
Multi-tenant MCP gateway for AI commerce. One connection, every store.
Related MCP Servers
- AlicenseBqualityDmaintenanceAn MCP server that enables AI assistants to interact with Odoo ERP apps like Inventory, CRM, Sales, and Manufacturing. It allows users to read, create, and manage Odoo records and workflows using natural language commands.25241ISC
- AlicenseNot gradedqualityNot gradedmaintenanceAn enterprise-grade MCP server that enables AI agents to execute SAP RFC functions and read business data securely through the Model Context Protocol.-
- AlicenseNot gradedqualityBmaintenanceMCP server for commerce-operations self-service. Lets an AI agent look up order details and search orders without needing developer or SQL access.15MIT
- FlicenseAqualityBmaintenanceMCP server that exposes ERP functionalities to AI agents, enabling read-only queries for sales orders and inventory, and human-in-the-loop purchase requisition creation and approval.59-
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/757607106/gjp-cyb-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server