# OTOBO MCP Server

> Connect Claude and Cursor to OTOBO with the open-source OTOBO MCP Server, a FastMCP process that calls your helpdesk.

- HTML: https://otobo-docs.softoft.de/en/administration/automation/otobo-mcp-server/
- Markdown: https://otobo-docs.softoft.de/en/administration/automation/otobo-mcp-server.md

The **OTOBO MCP Server** lets Claude Desktop, Cursor, and other MCP clients work on OTOBO tickets. It is an open-source Python process built with [FastMCP](https://gofastmcp.com/). The source is [github.com/openticketai/otobo-mcp](https://github.com/openticketai/otobo-mcp).

[Model Context Protocol](https://modelcontextprotocol.io/) (MCP) is the way those clients call tools. The server exposes OTOBO ticket work as tools. The client never talks to OTOBO directly.

## Where it runs

The server is not an OTOBO package. You do not install it in **Admin → Package Manager**, and nothing is copied into `Kernel/`. It runs next to the helpdesk: on the workstation for one person, or as one process on a private host for several people.

OTOBO sees a normal agent session over HTTPS. Queues and permissions on that agent are the limit of what the assistant can do.

```mermaid
flowchart LR
  Client["Claude Desktop or Cursor"] --> Server["OTOBO MCP Server\nFastMCP"]
  Server --> Otobo["OTOBO over HTTPS"]
```

## Prepare OTOBO

1. Create a dedicated agent. Do not reuse a personal admin login.
2. Give that agent only the queues it should touch, and only the permissions the assistant needs (`ro` to read, `note` for an internal article, and so on).
3. Serve the helpdesk over HTTPS.
4. Follow the repository README for the HTTP API that release calls. That is a bearer token from the [REST API](https://otobo-docs.softoft.de/en/administration/automation/rest-api/) package. The README names the URL and the credential. This page does not, so a later release cannot make the docs lie.

The agent still needs the usual group and role setup. See [groups and roles](https://otobo-docs.softoft.de/en/agents/groups-roles/).

## Connect Claude Desktop or Cursor

Desktop clients start the process themselves and speak MCP on standard input and output. FastMCP provides that stdio mode.

1. Clone [openticketai/otobo-mcp](https://github.com/openticketai/otobo-mcp).
2. Copy the run command from that repository's README. That command is the one you put in the client. Do not guess a package name.
3. In Claude Desktop or Cursor, add an MCP server that runs that command.
4. Put the OTOBO URL and the agent credential in the environment block the README names. Keep both out of the chat.

Claude Desktop stores servers in `claude_desktop_config.json`. Cursor stores them in its MCP settings. Both expect an entry under `mcpServers` whose `command` starts a local process. After you save the config, restart the client and ask it to list the tools from the OTOBO server. If the list is empty, the process did not start: read the client log, then the README.

## One server for several people

FastMCP can also listen for [Streamable HTTP](https://modelcontextprotocol.io/specification/2025-03-26/basic/transports). Use that when a shared client should reach one process. Bind the listener to localhost or a private network. Put authentication in front of it before anyone outside the helpdesk network can open the URL. The README has the HTTP command for this repository.

## What you can ask

Once the client lists the tools, ask in normal language. Typical work on OTOBO tickets:

- which tickets are open in a queue
- show this ticket, including the articles
- add an internal note
- create a ticket for a customer

The model picks a tool. OTOBO applies the agent permissions. A refused action fails the same way a click from that agent would fail.

The exact tool names live in the repository. They are not copied here, so this page stays valid when a tool is added or renamed.

## MCP, REST, and a pipeline

|                           | OTOBO MCP Server                                         | REST API or OTOBO API            | Open Ticket AI Runtime             |
| ------------------------- | -------------------------------------------------------- | -------------------------------- | ---------------------------------- |
| Who calls it              | Claude Desktop, Cursor, another MCP client               | Your own program                 | A pipeline you define              |
| What you install in OTOBO | Nothing. An agent, plus the HTTP API the README requires | The REST-API package             | The REST-API package for the runtime |
| When it runs              | While a person is in the chat                            | When your program calls it       | On a schedule or on a ticket event |

Use the OTOBO MCP Server when a person should ask an assistant about tickets. Use the [REST API](https://otobo-docs.softoft.de/en/administration/automation/rest-api/) when you are writing the HTTP client yourself. Use [Open Ticket AI Runtime](https://otobo-docs.softoft.de/en/administration/automation/open-ticket-ai-runtime/) when the work should run without a chat.

## Security

- One agent for the server. No admin group, no access to queues the assistant should not see.
- HTTPS only. The credential stays in the client environment or the server environment, never in a prompt.
- Stdio stays on the workstation. Do not publish that process.
- An HTTP listener is a private address until you have authentication in front of it.
- Read the tool list before you enable a tool that writes. A customer-visible article should wait until a person has read the draft.

## FastMCP

[FastMCP](https://gofastmcp.com/) is the Python framework this server is built with. A tool is a typed Python function, and FastMCP publishes it over MCP. You do not write FastMCP code to use the server. You need the framework only if you change the server in [openticketai/otobo-mcp](https://github.com/openticketai/otobo-mcp).

## Frequently asked questions

### Does the OTOBO MCP Server install inside OTOBO?

No. The OTOBO MCP Server is a separate Python process built with FastMCP. You clone it from GitHub and run it beside OTOBO. The Package Manager is not involved, and you do not copy Perl modules into Kernel/.

OTOBO only sees a normal agent calling its HTTP API. Queues, groups, and permissions on that agent are the limit of what the assistant can do. Create a dedicated agent for the server and leave your own admin account out of it.

- [OTOBO MCP Server](https://otobo-docs.softoft.de/en/administration/automation/otobo-mcp-server/)
- [Model Context Protocol](https://modelcontextprotocol.io/)
- [FastMCP](https://gofastmcp.com/)

### Which clients can talk to the OTOBO MCP Server?

Any client that speaks the Model Context Protocol. Claude Desktop and Cursor start the server on your machine and talk to it over standard input and output. A shared client such as LibreChat or Open WebUI connects over HTTP when you run the server as a Streamable HTTP process on a private address.

The run command, the environment variable names, and the tool list are in the GitHub repository. Copy them from the README of the release you are running, because those details change as the server grows.

- [openticketai/otobo-mcp](https://github.com/openticketai/otobo-mcp)
- [FastMCP](https://gofastmcp.com/)
- [Model Context Protocol](https://modelcontextprotocol.io/)

### How is this different from the OTOBO REST API?

The REST API from the REST-API package is HTTP that your own program calls. The OTOBO MCP Server sits in front of that HTTP API and turns ticket work into tools an AI client can call. You still need the HTTP API and an agent account. You do not hand the model a password and a raw URL.

Scheduled pipelines that run without a person in the chat are a different product. See Open Ticket AI Runtime for that.

- [OTOBO REST API](https://otobo-docs.softoft.de/en/administration/automation/rest-api/)
- [OTOBO API](https://otobo-docs.softoft.de/en/otobo-api/overview/)
- [Open Ticket AI Runtime](https://otobo-docs.softoft.de/en/administration/automation/open-ticket-ai-runtime/)

### What can the assistant change on OTOBO tickets?

Only what the OTOBO agent behind the server is allowed to do. A read-only agent can search and open tickets. An agent with note permission can add an internal article. Move, priority, and customer-visible email follow the same permission check as a click in the agent interface.

Read the tool list in the repository before you turn a write tool on. If a tool can send a customer-visible article, leave it off until a person reviews the draft.

- [OTOBO MCP Server](https://otobo-docs.softoft.de/en/administration/automation/otobo-mcp-server/)
- [Agents, groups, and roles](https://otobo-docs.softoft.de/en/agents/groups-roles/)
- [openticketai/otobo-mcp](https://github.com/openticketai/otobo-mcp)
