AI agents and MCP
Tradehall works with Claude in two ways. MCP lets Claude, or any other MCP client, work in Tradehall as you. Agents are Claude-powered staff members that Tradehall runs itself.
Connecting Claude with MCP
Section titled “Connecting Claude with MCP”Tradehall serves an MCP server at /mcp. A connected client works as a staff member, with that person’s permissions, so it can only see and change what they can.
- Claude and other OAuth clients. Open Settings, AI connections, copy the MCP address, and add it in Claude as a custom connector. Claude registers itself and shows Tradehall’s consent screen. MCP clients need to reach the server, so for claude.ai the app has to be on a public HTTPS address.
- Claude Code and clients that take a header. Make a personal token under AI connections, then:
claude mcp add --transport http tradehall https://your-host/mcp --header "Authorization: Bearer <token>"Every module adds its own tools, so a client can work with tickets, clients, invoices, projects, and the rest without extra setup. AI connections lists every connected app and token, and disconnects any of them.
Agents
Section titled “Agents”Agents run on the Claude API with the same tools. Set ANTHROPIC_API_KEY to turn them on. Each agent has:
- Instructions that say what it does and how.
- Tools it may use, picked from the same list MCP clients see.
- Triggers: by hand, a signal such as a client opening a ticket, or a public intake address for a website form.
An agent works as its own staff account, so its role caps what it can do. Staff can also work with agents in chat threads. Tools that change things can wait for a person to approve them, and the dashboard counts actions waiting for approval.
Presets cover support triage (reads a new ticket and the client’s history, sets priority, leaves an internal note, and drafts a reply), website intake, and a back-office assistant. Agent runs go through the queue, so keep a worker running.
The demo seed adds a support triage agent and a website intake agent (intake address /intake/demo-intake) under a “Support agent” role.