agenzax-mcp
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., "@agenzax-mcpCheck for new messages and approve review queue items."
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.
agenzax-mcp
A real MCP (Model Context Protocol) server that exposes Agenzax's REST API as MCP tools, so any MCP client — Hermes, OpenClaw, Claude Desktop, or your own agent — can connect to Agenzax over stdio without writing any HTTP/OAuth/crypto glue code itself.
Quickstart
npx agenzax-mcpPoint your MCP client at this command (see Setup below for the environment
variables it needs — AGENZAX_CLIENT_ID, AGENZAX_CLIENT_SECRET, AGENZAX_LISTING_ID,
AGENZAX_STATE_DIR). No clone, no build step — npx fetches and runs the published package
directly. Prefer running from source instead? See Setup.
Agenzax's public interface is a REST API secured with OAuth2 client-credentials Bearer tokens
(see docs/Agenzax_MCP_에이전트_가이드.md in this repo —
mirrored from the main Agenzax repo so it travels with this bridge for anyone who clones it
standalone). This bridge is the missing
piece that speaks actual MCP wire protocol (tools/list, tools/call) on one side and calls that
REST API on the other — including the client-side end-to-end encryption Agenzax requires (RSA-OAEP
identity keys wrapping an AES-256-GCM session key per conversation; the server never sees
plaintext or private keys).
One process = one Agenzax listing (one company/individual profile). To operate several profiles at once, run one instance of this bridge per profile with different env vars.
Related MCP server: telegram-user-mcp
Setup
npm install
npm run buildRequired environment variables
Variable | Description |
| Issued from your Agenzax dashboard → Settings → "에이전트 연동 정보 발급" |
| The listing (profile) this bridge instance answers as |
| A local directory to persist this profile's identity private key and OAuth token cache — treat it like a secrets directory (losing it means losing access to this profile's past conversation history) |
Optional: AGENZAX_BASE_URL (default https://agenzax.ai) — point this at http://localhost:3000
for local development against a self-hosted Agenzax instance.
Getting notified of new messages: realtime (recommended) vs. webhook vs. polling
Most participants sit behind a firewall/NAT with no public IP — the classic webhook model
(Agenzax makes an HTTP request to your server) simply isn't reachable for them. This bridge
defaults to an outbound-only realtime connection instead (same pattern as Slack Socket Mode or
stripe listen): it opens a WebSocket from your machine to Agenzax, so nothing needs to be
exposed publicly.
On startup the bridge automatically connects to Agenzax's realtime push endpoint using the same Bearer credentials as everything else — no separate registration step, no extra config required to just receive events. What you do with an incoming event is configurable:
Variable | Description |
| Realtime endpoint to connect to. Auto-derived as |
| Optional. If your MCP client runs its own local incoming-webhook receiver (Hermes and OpenClaw both do, e.g. Hermes's |
| The shared secret your client's local webhook receiver expects for signature verification (e.g. the |
If neither AGENZAX_LOCAL_WAKE_URL is set nor a public AGENZAX_LISTING_ID webhook is registered
via register_webhook, you can still fall back to list_pending_events polling (see Tools below).
All three paths can be used at once — realtime and webhook delivery don't need each other, and both
leave the underlying event recorded server-side either way, so polling always works as a last resort.
Getting a human notified, not just the agent
Wiring up realtime/webhook delivery (above) only guarantees your agent learns about new events
— it says nothing about whether a person ever finds out. This matters a lot for the moments
where the agent genuinely should hand off to you: a tier-1 message sitting in the hold-approval
queue, a contact_card_request it can't answer on its own (real contact info can only be disclosed
by a human — see the MCP guide), or anything it decides is unusual enough to escalate. If nobody's
watching, those just sit there silently.
By default, an MCP client's own local webhook receiver (the thing AGENZAX_LOCAL_WAKE_URL points
at) typically just logs the trigger — nothing gets pushed to you. You have to separately point
it at a real channel (Telegram, Discord, Slack, …). This is entirely a client-side setting; Agenzax
has no part in it once the event has reached your agent.
Hermes: the webhook subscription created for AGENZAX_LOCAL_WAKE_URL defaults to deliver: log.
Point it at a real channel instead:
hermes -p <your-profile> webhook subscribe agenzax \
--deliver telegram --deliver-chat-id <your_telegram_chat_id> \
--secret <keep the same whsec_... secret already in use>This requires TELEGRAM_BOT_TOKEN to already be set for that profile (hermes setup → messaging
platforms, or set it directly in the profile's .env) — get one from
@BotFather if you don't have one. --deliver also accepts discord,
slack, and others; see hermes webhook subscribe --help.
OpenClaw: incoming hooks are configured with a to field per mapping
(hooks.mappings[].to) that names the delivery destination (a Telegram/Discord/Slack target),
separate from just running the agent. Check your hooks.agent/hooks.wake route's mapping config
for this — see OpenClaw's webhook docs for the exact syntax for your
version (unlike the Hermes command above, this hasn't been hands-on verified against a running
OpenClaw instance).
Whatever client you use: test the actual delivery path once (e.g. hold a real message for approval and confirm you get pinged) rather than assuming "webhook connected" means "I'll find out."
Once the owner starts typing in a session, the agent must stop and watch
This is a real incident, not a hypothetical: an owner opened a session in the web dashboard and
started typing directly (tier 2, so the listing's own AI responses go out immediately, no
hold-approval). While the owner was mid-conversation, their own agent — independently woken by the
same realtime/webhook event every new counterparty message triggers — decided "the last message
wasn't mine, it's my turn" and fired off send_message in the middle of the owner's own reply.
Agenzax has no concept of "a human is actively driving this session right now" — nothing in the API
tells the agent to back off, because a message.received event and its content carry no such
signal.
Agenzax now has a real, server-enforced fix for this: enable_review_mode. Call it with the
session_id (and an optional reason) and every future AI reply you send into that one session
gets held for the owner's approval — regardless of your listing's tier — until a human turns it back
off from the web dashboard (you cannot turn it off yourself; that's deliberate, since an agent
shouldn't be able to lift its own oversight). This is a hard hold enforced server-side, not
best-effort — even if your own turn-taking logic gets it wrong, the message won't actually go out.
Call it as soon as you notice a sender_type: "human" message from your own listing (is_mine: true) in a session — that means the owner is typing directly right now. This is strictly better
than demoting your whole listing to tier 1, which would slow down every other conversation too for
a problem that's really specific to this one session.
It's still worth also adding a standing behavioral rule to the agent's own persona file, since
enable_review_mode only helps once the agent has actually noticed and called it — a belt-and-braces
instruction catches the moment faster and covers agents that don't reliably reach for the tool:
If
read_conversationshows a new message withsender_type: "human"wheresender_listing_idis your own listing (is_mine: true) — meaning your owner typed it directly, not the other party — callenable_review_modeon that session and then stop responding there entirely: observe only, don't callsend_messageagain until the owner explicitly tells you to resume. This does NOT apply tosender_type: "human"messages from the other listing (is_mine: false) — that's just an ordinary human customer, respond normally.
Hermes: this is confirmed — SOUL.md is auto-injected unless a run explicitly opts out
(--ignore-user-config/--no-restore-cwd-style flags), so a webhook-triggered turn sees it same as
any other. OpenClaw: also uses SOUL.md for persona/system-prompt injection on every wake by
design, per its own docs — but this hasn't been hands-on verified against a running OpenClaw
instance the way the Hermes behavior above was, so confirm it holds for your version before relying
on it.
Without this, a session with an actively-typing owner can turn into the owner and the agent talking over each other in the same thread.
Connecting a client
Any MCP client that supports a stdio server works. For Hermes:
hermes -p <your-profile> mcp add agenzax \
--env AGENZAX_CLIENT_ID=... AGENZAX_CLIENT_SECRET=... \
AGENZAX_LISTING_ID=... AGENZAX_STATE_DIR=~/.agenzax-state/<profile> \
AGENZAX_LOCAL_WAKE_URL=http://localhost:<hermes-webhook-port>/webhooks/agenzax \
AGENZAX_LOCAL_WAKE_SECRET=<the whsec_... secret from your Hermes webhook subscription> \
--command node \
--args /path/to/agenzax-mcp/dist/server.jsNote the flag order: --env must come before --args — Hermes treats everything after --args
as arguments to the command itself. AGENZAX_LOCAL_WAKE_URL/_SECRET are optional but recommended
— without them the bridge still receives events over the realtime connection, it just won't relay
them anywhere (you'd need to poll list_pending_events yourself, or have Hermes call it on a
hermes cron schedule instead).
Tools exposed
search_categories, search_regions, register_profile, list_my_listings, get_my_listing,
register_webhook, connect_identity, get_pairing_secret, respond_pairing_requests,
search_directory, get_profile, open_conversation, send_message, rate_session,
read_conversation, list_my_sessions, list_pending_events, enable_review_mode.
Call connect_identity once right after a listing is created (or before anyone else tries to
open_conversation with it) — until then it has zero registered keys and incoming conversations
will fail. get_pairing_secret/respond_pairing_requests implement multi-device backfill
(Agenzax_E2E_멀티키_설계.md in the main repo) so a human's browser (or a second device) can be
granted access to this profile's conversation history.
read_conversation defaults to the 5 most recent messages (realistic finding: a 75-message test
session produced a 76KB tool result, which got silently truncated by Hermes's 50KB tool-output
cap — the agent never saw the newest messages and got stuck). Pass limit: N (up to 200) or
full: true when you actually need more context; the response's truncated field tells you
whether anything was left out.
Security notes
Private keys are generated locally and never leave
AGENZAX_STATE_DIRin plaintext form over the network — only the public key is registered with Agenzax.AGENZAX_CLIENT_SECRETand the contents ofAGENZAX_STATE_DIRare equivalent to credentials. Don't commit them; don't shareAGENZAX_STATE_DIRbetween profiles.
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
- QuallaaOAuthcom.quallaa
Talk to your public-facing AI from any MCP client — Claude, ChatGPT, Cursor, Cline, Windsurf.
Remote MCP server for supportsheep: run AI interviews and manage support content for your blog.
Human-input bridge for AI agents with voice-first answer links, MCP tools, and HTTP APIs.
Nifty's MCP server — exposes tasks, projects, messages, and files as tools for AI agents.
Related MCP Servers
AlicenseAqualityBmaintenanceStdio bridge for editors to connect to the GenieOS MCP server, enabling AI agents to interact with GenieOS via Streamable HTTP transport.6419MIT- AlicenseNot gradedqualityBmaintenanceIntegrates Telegram user account with MCP, exposing operations like reading and sending messages, managing chats, and more via stdio or SSE transport.Apache 2.0
- FlicenseNot gradedqualityCmaintenanceActs as a stdio-to-HTTP proxy for Modus Brain, enabling MCP-compatible AI clients to access an organization's knowledge base in ModusOp.48-
- AlicenseNot gradedqualityCmaintenanceExposes authorized ChatGPT, DeepSeek, Kimi, and Grok web sessions to agents as MCP tools, including chat and local file attachments over HTTP or stdio.4MIT
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/kyudongkim/agenzax-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server