be2-mcp
OfficialClick 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., "@be2-mcpCreate a draft change-set to set inventory to 0 for all products marked 'clearance'"
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.
be2 MCP (Model Context Protocol)
be2 MCP is a "governance layer" server that sits between the Claude agent and the be2 product backend, letting employees safely complete batch tasks through natural language. It is not just an API proxy, but a security gateway with full permission control, a change state machine, and an audit mechanism, ensuring that all writes to the production environment meet enterprise standards: no blind writes, no self-approval, and audit records retained across the entire chain.
๐ข Status: Phase 1aโ5 complete | 473 tests passed / 0 skipped | SIT be2-220 Live end-to-end acceptance passed
Core Features
draft-only manual approval: the agent can only create change-set drafts; all writes must be manually approved through an independent channel (panel or confirmation page).
Identity Pass-through: uses the be2 token issued at auth-service login, does not build its own RBAC, and delegates authorization decisions to the backend gateway.
Modular domains: each business domain (such as listing/unlisting, inventory) is encapsulated as an independent module; adding an action type does not touch the core.
Batch Wizard panel: supports Claude Desktop MCP Apps rendering interactive approval panels and operation wizards.
Append-only Audit: records a trace of every step from tool call to execution, and never stores plaintext tokens.
Related MCP server: @vaibot/mcp-server
System Architecture
Claude Client (Code/Desktop)
โ
โ (MCP over Streamable HTTP + OAuth 2.1 ไธ้ๆๅ่ token)
โผ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโ be2-mcp server (ๆฒป็ๅฑค) โโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ โ
โ [OAuth 2.1 ๅคๆฎผ] ่ฒ ่ฒฌ Discovery / DCR / PKCE โ
โ โ โ
โ [Core ๆฒป็ๅฑค] change-set ็ๆ
ๆฉใCAS ้ฒ้่คใscope-bindingใ็จฝๆ ธ็ๅญ โ
โ โ โ
โ [Domain Modules] (src/modules/product/*) โ
โ โโ shelfToggle (ไธไธๆถ) โ
โ โโ inventorySetting (ๆธ้) โ
โ โโ inventoryPlatform (ๅนณๅฐๅๆ) โ
โ โโ shelfSchedule (ๆ็จ) โ
โ โ
โโโฌโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโฌโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโฌโโ
โ (ๅธถ be2 JWT ๆฅๆน) โ (ๅธถ service key ๆ็ขผ/refresh) โ (ไบๅๆนๅ)
โผ โผ โผ
be2 gateway /product/api/v1 auth-service /api/v1/ UI ้ขๆฟ (mcp-ui) / ็ขบ่ช้ SSOSecurity Model Summary
Security mechanism | Defense target and effect |
OAuth 2.1 shell | Prevents the agent from stealing credentials. Credentials are only sent to be2-auth in the POPUP; the agent only obtains a short-lived code to exchange for a token. |
Token never leaves the server | Prevents credential leakage. The real token is stored server-side; what the agent gets is an opaque random string with no authorization power. |
draft-only + SSO/Nonce approval | Prevents agent hallucination/malicious writes. The agent cannot obtain |
scope-binding | Prevents prompt injection. A change-set can only operate on objects that |
businessList fail-fast | Prevents unauthorized attempts. The |
Quick Start
Install dependencies
npm installPrepare environment variables Copy
.env.exampleto.env. Never fill in or commit any real production token or password. You will need a SITSIT_AUTHSVC_SERVICE_KEY.Start the server & build the UI
npm run build:ui npm run devConnect Claude (using Claude Code as an example)
claude mcp add be2-mcp --transport http http://127.0.0.1:8787/mcpAfter running, the be2-auth SSO login page will pop up in the browser.
Testing
npm run ci
Project Structure Tree
src/
โโ core/ # ๆฒป็ๅฑคๅบ็ค่จญๆฝ (change-setใCASใauditใstore)
โโ oauth/ # OAuth 2.1 ๅคๆฎผ (Discovery, DCR, authorize, token routes)
โโ auth/ # ่ช่ญๅ
งๆ ธ (TokenManagerใauth-service ไปๆฅ)
โโ server/ # Streamable HTTP server, confirm routes, ่ทฏ็ฑ็ต่ฃ
โโ tools/ # MCP tools ่จปๅ่ไป้ข
โโ ui/ # ้ขๆฟ่็ฒพ้็ isomorphic ๅ็ซฏ (esbuild ๆๅ
ๅ
ฅๅฃ)
โโ modules/ # Domain modules ๅฏฆไฝ (็ดๆฅญๅ้่ผฏ)
โโ product/
โโ shelfToggle/ # ๅๅ/ๆนๆกไธไธๆถๆจก็ต
โโ inventorySetting/ # ๅบซๅญๆธ้ไฟฎๆนๆจก็ต
โโ inventoryPlatform/ # ๅบซๅญๅนณๅฐๅๆๆจก็ต
โโ shelfSchedule/ # ไธไธๆถๆ็จๆจก็ตDocumentation Map
CLAUDE.mdโ Development rules and command reference.docs/be2-mcp/design-overview.mdโ Understand the MCP architecture and key decisions in one read (a must-read for demos / architecture tours).docs/be2-mcp/demo-guide.mdโ Standard script for presentations and feature demos.docs/be2-mcp/security-model-explainer.mdโ Plain-language explanation of the security model.docs/be2-mcp/oauth-runbook.mdโ OAuth integration, refresh mechanism, and SSO explanation.docs/be2-mcp/mcp-apps-runbook.mdโ Guide to using the Claude Desktop panel approval mechanism.docs/be2-mcp/phase4a-runbook.mdโ Batch Wizard (inventory platform/scheduling) operation guide.docs/be2-mcp/module-catalog.mdโ List of implemented modules.docs/be2-mcp/module-onboarding.mdโ Checklist for onboarding a new domain / action type.
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 Servers
- FlicenseNot gradedqualityCmaintenanceA governed MCP server for integrating AI agents with customer data, featuring role-based access control, field redaction, and human-in-the-loop approval for secure support operations.1

@vaibot/mcp-serverofficial
FlicenseAqualityDmaintenanceGovernance circuit-breaker MCP server that enables AI agents to request risk-based decisions, approve or deny actions, and finalize outcomes with full audit receipts.4- AlicenseNot gradedqualityCmaintenanceGoverned MCP server for bank-grade agent tool access with RBAC, PII redaction, rate limiting, and audit logging.MIT
- FlicenseNot gradedqualityBmaintenanceAn MCP server that enables non-technical operations users to resolve common commerce-ops tickets, such as orders charged but failed, through an investigate, recommend, approve, and execute workflow with read-only and write tools.
Related MCP Connectors
A paid remote MCP for CLI tool MCP, built to return verdicts, receipts, usage logs, and audit-ready
A paid remote MCP for AI SDK eval dashboard, built to return verdicts, receipts, usage logs, and aud
A paid remote MCP for AI SDK benchmark dashboard, built to return verdicts, receipts, usage logs, an
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/kkday-it/kkday-be2-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server