Skip to main content
Use this guide to connect the Mihu MCP Server to your client and start using it safely.

Before you start

Make sure you have:
  • access to the target Mihu tenant (e.g. your-tenant.mihu.ai),
  • an MCP-compatible client (Claude Desktop, IDE agent, or custom MCP client),
  • and a Mihu API token from your tenant panel.

Access model

Each token is tied to one Mihu tenant. The token inherits the panel permissions of the API key it was minted from — your client cannot exceed them. The MCP server itself stores no credentials.

Connect Mihu MCP Server

There are two ways to authenticate. Pick whichever your client supports.
Claude Desktop discovers the OAuth flow automatically — no manual register step. In Settings → Connectors → Add custom connector:

Option B — Direct headers (for scripts / curl / custom clients)

No token mint needed; tenant is set per request.

Mint a token directly

Then call MCP with Authorization: Bearer <access_token>.

Test the connection

Try a few read-only prompts first:
  • “List my agents.”
  • “How many contacts do we have?”
  • “Show conversations from the last 24 hours.”

First setup checks

After you connect, confirm these basics:
  • You are connected to the expected tenant.
  • Read tools (list_agents, list_contacts) return data.
  • Your panel permissions allow the actions you plan to run.

What it can do

The server exposes 375 tools across 43 modules. Common capabilities: Each tool’s description includes required fields, enums, and example shapes — readable by the LLM at call-time, no external docs needed.

What to include in a prompt

Include these details when relevant:
  • Time range — “last 7 days”, “yesterday”, “this month”
  • Target — an agent, campaign, contact, conversation, or schedule
  • Output — summary, ranking, comparison, trend, or draft
  • Action boundary — “prepare only”, “show preview”, or “do not send”

Example prompt patterns

Analysis
  • “Summarize agent performance for the last 7 days.”
  • “Which campaigns drove the most completed calls last week?”
  • “Compare SMS vs WhatsApp delivery rates for the last 14 days.”
Audience and contact investigation
  • “Show recent conversations for contact +90555…”
  • “List appointments booked in the last 3 days.”
  • “Which contacts have the vip tag?”
Operational requests
  • “Initiate a call from agent X to +90555… with greeting ‘Hi…’”
  • “Create a listing for these 50 leads under agent Y.”
  • “Stop the active listing named ‘Q2 outbound’.”

How write actions work

Write actions follow the underlying Mihu API permissions of the token:
  • The token inherits exactly what your API key can do in the panel — nothing more.
  • Bulk operations (e.g. create_listing with thousands of contacts) are accepted, but the agent’s channel binding and tenant rate limits still apply.
  • All actions are logged in the standard Mihu request logs for the tenant.

Troubleshooting

Support