Zammad
STDIOMCP server for Zammad API integration enabling ticket management and user operations
MCP server for Zammad API integration enabling ticket management and user operations
MCP Server for accessing the Zammad API.
This server enables:
The server exposes the following MCP Resources and Tools:
Resources allow the AI to read data from Zammad in a structured way using URIs.
zammad://tickets
application/jsonzammad://tickets/{ticket_id} (Template)
{ticket_id}.application/jsonzammad://users
application/jsonzammad://users/{user_id} (Template)
{user_id}.application/jsonTools allow the AI to perform actions or specific queries within Zammad.
create_ticket: Creates a new ticket in Zammad.
title, group, customer (email or user ID), body.type (article type, default: "note"), internal (boolean, default: false).search_tickets: Searches for tickets based on a query string.
query.limit (default: 50).add_note_to_ticket: Adds an internal note (article) to an existing ticket.
ticket_id, body.internal (boolean, default: true).get_ticket: Retrieves details for a specific ticket by its ID.
ticket_id.get_user: Retrieves details for a specific user by their ID.
user_id.search_users: Searches for users based on a query string (e.g., email, login, name).
query.limit (default: 50).get_ticket_articles: Retrieves all articles (communications) for a specific ticket.
ticket_id.You need to generate an API token within Zammad to allow this MCP server to authenticate and interact with the API.
ticket.agent (or ticket.customer depending on use case) - To view, create, search tickets and add articles.user.reader - To view and search users.admin.user might be needed for broader user searches or modifications if you add those tools later. Review Zammad's permission documentation for specifics.Clone the repository:
git clone https://github.com/arush15june/zammad-mcp-go.git cd zammad-mcp-go
Build the binary:
go build -o zammad-mcp-go main.go
This will create an executable file named zammad-mcp-go (or zammad-mcp-go.exe on Windows) in the current directory.
{ "mcpServers": { "zammad": { "command": "<path-to>/zammad-go-mcp.exe", "args": [], "env": { "ZAMMAD_URL": "<zammad_url>", "ZAMMAD_TOKEN": "<zammad_token>" } } } }