For agents · setup guide

Connect your agent to Houzle.

Give it contacts, deals, quotes and follow-ups through the Houzle MCP server or the REST API, with one contract whichever system owns the data. Pick your client, add an agent key and confirm access with one read-only call.

Transport
Streamable HTTP
Auth
Agent key
Permissions
Capability presets

Let your agent do the setup

Paste this into your agent

Your agent follows the guide for its client, asks you for an agent key and checks its access with a read-only call.

or configure it yourself

Send Authorization: Agent <key> with every request. Step 2 below shows where to keep the key.

Pick your client

Instructions for the client you use.

Each guide gives you the exact configuration, where to keep the key and how to check the connection.

Your client isn’t listed? If it supports Streamable HTTP and custom headers, follow Any MCP client.

At a glance
Client
Hermes
Transport
Streamable HTTP
Auth
Agent key
Key in
~/.hermes/.env
Client
Any MCP client
Transport
Streamable HTTP
Auth
Agent key
Key in
environment
Client
REST API
Transport
HTTPS + JSON
Auth
Agent key
Key in
shell

1. Before you start

  • AccountA Houzle workspaceCreate one with your email, or sign in to an existing one.Create a workspace Sign in
  • CredentialAn agent and its keyA workspace admin opens Agents in the console, creates an agent and picks its preset. The key is shown once.
  • PresetRead only, assistant, closer or fullNew agents are assistants: they read and record commercial data and prepare quotes. Agents are never admins.
PresetWhat it allowstools/list
Read only read_onlyReads commercial data and previews quotes, without changing them. commercial.read, mail.read10 tools
Assistant assistantAlso records contacts, deals and tasks and saves draft quotes. The preset of new agents. + commercial.write, mail.draft17 tools
Closer closerAlso accepts quotes and turns them into orders. + sales.close, mail.send19 tools
Full fullEvery capability: also invoicing, purchases, stock and its own webhooks. + billing.*, extensions.*, webhooks.manage19 tools

Counts are with every type in Houzle; a connected owner that lacks an operation removes it. tools/list always ends with searchTools and callTool, which reach the rest of the catalog. The mail capabilities only apply to mailboxes, which are in limited testing.

Creating the account and the key is a step for a person. An agent following this guide asks you to do it and waits.

Steps 2–4 · Hermes

2. Store the key

Save the key in the environment file Hermes reads on the machine where it runs.

~/.hermes/.env
HOUZLE_AGENT_KEY=<your-agent-key>

Keep the key out of prompts, chat history and files you commit. Replace it from the console if it leaks.

3. Add the server

Add Houzle under mcp_servers, then start Hermes or run /reload-mcp in an open conversation. Run it again after the agent’s preset changes: tools/list only shows what the key may run.

~/.hermes/config.yaml
mcp_servers:
  houzle:
    url: "https://api.houzle.com/mcp"
    headers:
      Authorization: "Agent ${HOUZLE_AGENT_KEY}"
    timeout: 60

4. Verify the connection

Ask Hermes: "Call getMe on Houzle and tell me my workspace, my capabilities and where each type of data lives." getMe is read-only.

Expected getMe response
{
  "role": "editor",
  "auth_kind": "agent",
  "workspace": {
    "id": "00000000-0000-4000-8000-000000000010",
    "name": "Demo · Madrid"
  },
  "agent": {
    "id": "…",
    "name": "Revisión de stock · Madrid 8"
  },
  "capabilities": [
    "commercial.read",
    "commercial.write",
    "mail.read",
    "mail.draft"
  ],
  "capability_source": "granted",
  "routing": {
    "contacts": {
      "provider": "houzle",
      "connection_id": null,
      "status": "active",
      "concurrency": "atomic"
    },
    "leads": {
      "provider": "houzle",
      "connection_id": null,
      "status": "active",
      "mode": "contacts"
    },
    …
  },
  "connections": { "mailboxes": [], "integrations": [] }
}
  • auth_kind is agent
  • workspace is the one the key was created in
  • capabilities match the preset chosen for the agent
  • routing names the owner of each type: houzle for every type, today
  • Anything else? Stop and check step 6.

5. First task

Ask for something that fits the preset. Your agent picks the tools.

Ask your agentTools it usesMinimum preset
“Find Clínica Alameda and tell me what is open with them.”resolveContact · getContactContextRead only
“Which follow-up tasks are due this week?”listWorkRead only
“Log Estudio Lumen as a lead and open a deal.”createContact · createOpportunityAssistant
“Prepare a draft quote for Clínica Alameda: two units of Producto anterior 85.”resolveContact · prepareQuoteAssistant

6. Troubleshooting

Errors come back as JSON with error.code, error.message and a request_id. Messages are in Spanish.

StatusMessageWhat to do
401 UNAUTHENTICATED“Inicia sesión en Houzle” · the header is missingAdd the Authorization header to the server config.
401 UNAUTHENTICATED“Sesión no válida o caducada” · malformed headerSend "Agent " followed by the 43-character key.
401 UNAUTHENTICATED“Credencial de agente no válida” · revoked or unknown keyAsk a workspace admin to rotate the key.
403 FORBIDDEN“El agente no tiene la capacidad commercial.write para esta operación” · missing capabilityerror.details.missing_capability names it. Ask an admin for a preset that includes it.
404 NOT_FOUND“Ruta no encontrada” · wrong URLUse https://api.houzle.com/mcp exactly.

Still stuck? Share the request_id with your workspace admin: calls made with a valid key appear in the agent’s request history. Never share the key.

For AI agents

This page is also the instruction set.

Point your agent at this URL or at the Markdown version. Both come from the same source, so they never disagree.

houzle.com/agents · for agents
## For AI agents reading this page

You are helping a person connect Houzle to the client you run in.

1. Identify your client. Follow its guide on this page, or "Any MCP client".
2. Check that the person has a Houzle workspace and an agent key with
   the preset they need: read_only, assistant, closer or full. If not,
   send them to https://console.houzle.com/signup
   and to Agents in the console (https://console.houzle.com/admin/agents).
   Do not create accounts or keys yourself.
3. Ask them to store the key in your client's secret store or
   environment. Never ask them to paste it into the chat.
4. Add https://api.houzle.com/mcp as a Streamable HTTP server with
   the header Authorization: Agent <key>. There is no OAuth.
5. Call getMe. Confirm the workspace and capabilities with the person,
   and read routing: it says which system owns each type of data.
   If it fails, stop and report error.code and request_id.
6. Suggest a first task that fits the capabilities. tools/list holds
   the core tools; searchTools and callTool reach the rest.

## Reference
MCP      https://api.houzle.com/mcp
REST     https://api.houzle.com
Docs     https://console.houzle.com/api-docs
Guide    https://houzle.com/agent-quickstart.md
OpenAPI  https://houzle.com/openapi.yaml
Reference

Documentation a model can read.