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
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-serverConfiguration
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 (27)
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 |
Wiki (6)
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 |
Wiki Files (3)
Tool | Description |
| Push local file to wiki (auto format conversion) |
| Pull wiki page to local file |
| Detect content format (Markdown/TracWiki) |
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
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
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