trac-mcp-server
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@trac-mcp-servercreate a ticket for bug fix in login module"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
trac-mcp-server
Standalone MCP server that gives AI agents full access to Trac project management -- tickets, wiki, milestones, and search -- via the Model Context Protocol.
Quick Start
Requires Python 3.10 or later.
pip install .Set your Trac connection:
export TRAC_URL="https://trac.example.com"
export TRAC_USERNAME="your-username"
export TRAC_PASSWORD="your-password"Run the server:
trac-mcp-serverUsing auto-pm? When trac-mcp-server is driven through auto-pm, auto-pm reads its connection settings from
.auto_pm/config.ymlin your project root (rather than the environment variables above). Runauto-pm setupin your project directory to generate the file; the resulting.auto_pm/config.ymlcarriestrac.url,trac.username, a${TRAC_PASSWORD}reference, and component mappings.
Related MCP server: ClickUp MCP Server
Configuration
Configuration via environment variables, .env file, or YAML config file (.trac_mcp/config.yaml):
Variable | Required | Default | Description |
| Yes | -- | Trac instance URL |
| Yes | -- | Trac username |
| Yes | -- | Trac password |
| No |
| Skip SSL verification (development only) |
| No |
| Enable debug logging |
| No |
| Max parallel XML-RPC requests |
| No |
| Max items per batch operation (1-10000) |
For YAML config file format and advanced options, see Configuration Reference.
MCP Client Integration
Claude Desktop
Add to claude_desktop_config.json:
{
"mcpServers": {
"trac": {
"command": "trac-mcp-server",
"env": {
"TRAC_URL": "https://trac.example.com",
"TRAC_USERNAME": "your-username",
"TRAC_PASSWORD": "your-password"
}
}
}
}Claude Code
claude mcp add trac -e TRAC_URL=https://trac.example.com \
-e TRAC_USERNAME=your-username \
-e TRAC_PASSWORD=your-password \
-- trac-mcp-serverOther MCP Clients
Any MCP client that supports stdio transport can launch trac-mcp-server as a subprocess. Pass Trac credentials via environment variables.
Available Tools (42)
Tickets (11)
Tool | Description |
| Search tickets with Trac query language |
| Get ticket details by ID |
| Create new tickets |
| Update existing tickets |
| Delete tickets |
| Get ticket change history |
| List available ticket fields |
| Get available ticket actions |
| Create multiple tickets in one batch |
| Delete multiple tickets in one batch |
| Update multiple tickets in one batch |
Ticket Attachments (4)
Tool | Description |
| Upload a local file as an attachment to a ticket (bytes sent via XML-RPC, not inlined) |
| Download a ticket attachment to a local file (bytes written to output_path, not inlined) |
| List attachments on a ticket |
| Delete a ticket attachment (requires TICKET_ADMIN) |
Ticket Admin (6)
Tool | Description |
| Create a new ticket component (requires TICKET_ADMIN) |
| List all ticket components |
| Delete a ticket component (requires TICKET_ADMIN) |
| Create a new enum value (priority, resolution, severity, type, version) — requires TICKET_ADMIN |
| List enum values for a given enum type |
| Delete an enum value (requires TICKET_ADMIN) |
Wiki (7)
Tool | Description |
| Get wiki page content (with Markdown conversion) |
| Search wiki pages |
| Create new wiki pages |
| Update existing wiki pages |
| Delete wiki pages |
| List recent wiki changes |
| Get version history for a wiki page |
Wiki Files (3)
Tool | Description |
| Push local file to wiki (auto format conversion) |
| Pull wiki page to local file |
| Detect content format (Markdown/TracWiki) |
Wiki Attachments (4)
Tool | Description |
| Upload a local file as an attachment to a wiki page (bytes sent via XML-RPC, not inlined) |
| Download a wiki attachment to a local file (bytes written to output_path, not inlined) |
| List attachments on a wiki page |
| Delete a wiki attachment (requires WIKI_DELETE) |
Milestones (5)
Tool | Description |
| List all milestones |
| Get milestone details |
| Create new milestones |
| Update existing milestones |
| Delete milestones |
System (2)
Tool | Description |
| Test connectivity and return API version |
| Get Trac server time |
Development
pip install -e ".[dev]"
pytest tests/ -vProject Structure
src/trac_mcp_server/
config.py # Environment variable configuration
core/ # Trac XML-RPC client, async utilities
mcp/ # MCP server, tools, resources
converters/ # Markdown <-> TracWiki conversion
detection/ # Content format detectionDocumentation
See docs/reference/overview.md for detailed tool reference, configuration, and troubleshooting.
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- Alicense-qualityCmaintenanceEnables AI agents to interact with tasks, spaces, lists, and folders across multiple ClickUp workspaces via the Model Context Protocol.Last updated221MIT
- Flicense-qualityDmaintenanceEnables AI agents to interact with ClickUp tasks, spaces, lists, and folders through the Model Context Protocol, supporting task creation, updates, moves, duplicates, and workspace organization.Last updated28,056
- Flicense-qualityDmaintenanceEnables AI agents to manage OpenProject projects, work packages, activities, and wiki pages through the Model Context Protocol.Last updated
- Alicense-qualityDmaintenanceEnables AI clients to manage Trilium Notes with full CRUD operations, search, calendar integration, and system administration through the Model Context Protocol.Last updated12MIT
Related MCP Connectors
A comprehensive Model Context Protocol (MCP) server that enables AI assistants to interact with yo…
Cross-agent artifact workspace with provenance across Claude Code, Codex, Cursor, LangGraph.
Manage projects, tasks, time tracking, and team collaboration through natural language.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/nerpatech/trac-mcp-server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server