OTOBO MCP Server
An MCP server for searching and retrieving tickets from OTOBO via the Generic Interface REST API.
Prerequisites
- Python 3.10+
- An OTOBO instance with the Generic Interface enabled
- uv package manager
OTOBO web service setup
In Admin > Web Services, create or edit a web service with these operations:
| Operation | Route | Method |
|---|---|---|
| Ticket::TicketSearch | /TicketSearch | POST |
| Ticket::TicketGet | /TicketGet | POST |
POST is required for both — GET cannot handle the nested search parameters.
Quickstart
git clone https://github.com/youruser/otobo-mcp-server.git
cd otobo-mcp-server
# Create environment and install dependencies
uv venv
source .venv/bin/activate
uv sync
Run the server:
# STDIO (default)
uv run otobo_mcp_server.py
# SSE
uv run otobo_mcp_server.py -t sse -p 8080
# Streamable HTTP
uv run otobo_mcp_server.py -t streamable-http -p 8080
Configuration
All configuration is through environment variables:
| Variable | Required | Default | Description |
|---|---|---|---|
OTOBO_HOST |
yes | Base URL, e.g. https://otobo.example.com |
|
OTOBO_USER |
yes | Agent username | |
OTOBO_PASSWORD |
yes | Agent password | |
OTOBO_WEBSERVICE |
no | GenericTicketConnectorREST |
Web service name in OTOBO admin |
OTOBO_SSL_VERIFY |
no | true |
SSL certificate verification |
OTOBO_TIMEOUT |
no | 30 |
HTTP timeout in seconds |
OTOBO_TRANSPORT |
no | stdio |
Transport: stdio, sse, streamable-http |
For SSE/HTTP transports, bind address is set via FASTMCP_HOST (default 127.0.0.1) and FASTMCP_PORT (default 8000), or use --host / --port flags.
Usage
"otobo": {
"command": "uv",
"args": [
"--directory", "/absolute/path/to/otobo-mcp-server",
"run", "otobo_mcp_server.py"
],
"env": {
"OTOBO_HOST": "https://otobo.example.com",
"OTOBO_USER": "api_agent",
"OTOBO_PASSWORD": "secret"
}
}
Usage with Claude Code
claude mcp add otobo \
-e OTOBO_HOST=https://otobo.example.com \
-e OTOBO_USER=api_agent \
-e OTOBO_PASSWORD=secret \
-- uv --directory /absolute/path/to/otobo-mcp-server run otobo_mcp_server.py
Remote (SSE / Streamable HTTP)
uv run otobo_mcp_server.py -t sse --host 0.0.0.0 -p 8080
SSE endpoint: http://your-host:8080/sse
Streamable HTTP endpoint: http://your-host:8080/mcp
Tools
search_tickets — search with filters: title keywords, date range, state, priority, customer, queue. Returns JSON with ticket details and all articles/comments.
get_ticket_details — fetch a single ticket by ID with dynamic fields and articles.
get_ticket_articles — fetch only the article/comment history for a ticket.
check_connection — verify OTOBO connectivity and authentication.
Testing
# With MCP Inspector
npx @modelcontextprotocol/inspector uv run otobo_mcp_server.py
License
MIT
Metadata
Release files for otobo-mcp-server 1.0.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| otobo_mcp_server-1.0.2.tar.gz | 57.6 kB | With provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| otobo_mcp_server-1.0.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 64.0 kB
Release files / otobo_mcp_server-1.0.2.tar.gz
| Download URL | otobo_mcp_server-1.0.2.tar.gz |
|---|---|
| Size | 57.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
28cce0e0b3f228f7132af1aa6bacd6f803f42bbe3979233c7e21946e13fecb22
|
|
BLAKE2b-256 checksum How to use checksums |
655f84b26fcb71190771b50a2afbda00b584bca8a9402a47b3dcbe75dddf9149
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Feb 25, 2026.
Transparency logRelease files / otobo_mcp_server-1.0.2-py3-none-any.whl
| Download URL | otobo_mcp_server-1.0.2-py3-none-any.whl |
|---|---|
| Size | 6.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
e58ef75582456bd252385b89cb52abaa394119e295ba0dff94d2422947e0c84f
|
|
BLAKE2b-256 checksum How to use checksums |
84421e540ed13dc68045a587cc785860160057119c768b4791b1f717ac16745e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Feb 25, 2026.
Transparency logSecurity for otobo-mcp-server 1.0.2
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
All 2 files in this release have been uploaded with provenance metadata.
Attestation for otobo_mcp_server-1.0.2.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Feb 25, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.