iMBrace
透過任何 MCP 用戶端與您的 iMBrace 組織協作:CRM 看板與聯絡人、全通路對話、工作流程、檔案,以及在寫入前會徵求您核准的 AI 代理程式。託管伺服器,採用 OAuth 2.1 登入。
文件
Connect your AI tool — Claude Code, Cursor, Codex, Claude Desktop, … — to Imbrace, and it can work with your Imbrace data directly: list CRM boards, read conversations, check workflow runs, and more.
You only need two things:
- One URL — the Imbrace gateway hosts a Model Context Protocol server at
/mcp. Nothing to install or run yourself. - One API key — sent as a Bearer token. The agent sees exactly what your organization and role allow, nothing more.
Step 1 — Get an API key
Generate an external token in the Imbrace Dashboard (see Getting an API Key). It looks like api_....
Step 2 — Connect your tool
Pick your tool below and paste the config. The examples use the sandbox gateway — replace the host with your environment’s gateway.
One command:
claude mcp add --transport http imbrace "https://app-gateway.sandbox.imbrace.co/mcp" \
--header "Authorization: Bearer api_xxx..."
Step 3 — Try it
Ask your agent something like “List my Imbrace boards” or “Show my latest conversations”. It should reach for tools like listBoards, listConversations, listFlows.
Build an app on iMBrace (vibe code)
Once connected, your agent already knows where the vibe-code guide is: the server points it at /skill.md. Just say what you want, for example “Build a booking page for my spa and host it on iMBrace”, and the agent fetches the guide and follows it. No prompt to copy.
To start it explicitly, use the server’s vibe-code prompt (optional argument: idea, what the app should do):
- Claude Code: type
/and pickvibe-code. It is listed as/mcp__<server name>__vibe-code, e.g./mcp__imbrace__vibe-code. - Other MCP clients that support prompts list it among the server’s prompts.
With the Agent Toolkit plugin, its imbrace-vibe-code skill does the same. Vibe code installs a CLI and deploys from a terminal, so use a coding agent (Claude Code, Cursor, Codex); on claude.ai the agent can read the guide but cannot run the steps.
Read-only by default
Out of the box the agent can look but not touch — only read tools are exposed. You opt in to more by adding query parameters to the URL you configured:
| Add to the URL | Effect |
|---|---|
?allowWrite=1 | The agent can also create and update data |
?allowDestructive=1 | The agent can also delete data (includes write) |
?services=dataBoard,workflow | Narrow: only these services |
?tags=boards,records | Narrow: only these topics |
Example — data boards only, with write access:
https://app-gateway.sandbox.imbrace.co/mcp?services=dataBoard&allowWrite=1
Services: dataBoard, channel, platform, marketplace, workflow, aiAgent. If the agent calls a tool that isn’t enabled, it gets a clear error back — nothing fails silently.
Answers are kept short enough for the agent: listFlows and listPieces return a summary of each item (getFlow / getPiece give the full definition), and a list too long for one answer comes back as its first items with _truncated: { returned, total } — narrow it with the tool’s filters or paging.
How it works
Every tool call is replayed through the gateway’s normal API routes with your token, so org scoping, permissions, and license checks apply exactly as if you had called the API yourself. The tools are the same curated agent-tools operations that power the SDK’s client.api surface. The endpoint is stateless JSON-RPC over HTTP POST — no session to manage.
Not using MCP? Unified OpenAPI
Platforms that consume OpenAPI tool specs instead of MCP (e.g. Open WebUI) can point at GET /agent-tools/openapi.json with the same Authorization header: every service’s agent-tools merged into one spec, with the same ?services= / ?tags= filters — one tool server instead of five. Executors that naively join their base URL with the op path (requesting /agent-tools/<op-path>) are accepted too: the gateway strips the prefix and replays the call with your credentials.
Local alternative — the CLI
Prefer a local stdio server (credentials from a CLI profile, nothing configured with a URL)? The CLI ships the same tool registry: imbrace mcp.