{"id":47857576,"url":"https://github.com/tphakala/autotask-mcp","last_synced_at":"2026-04-03T23:00:46.224Z","repository":{"id":346750749,"uuid":"1191397816","full_name":"tphakala/autotask-mcp","owner":"tphakala","description":"MCP server for Kaseya Autotask PSA — Go implementation","archived":false,"fork":false,"pushed_at":"2026-03-26T10:32:19.000Z","size":127,"stargazers_count":1,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-04-03T22:59:52.654Z","etag":null,"topics":["ai-tools","autotask","golang","mcp","mcp-server","model-context-protocol","psa"],"latest_commit_sha":null,"homepage":null,"language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/tphakala.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-03-25T07:48:04.000Z","updated_at":"2026-03-26T12:13:09.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/tphakala/autotask-mcp","commit_stats":null,"previous_names":["tphakala/autotask-mcp"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/tphakala/autotask-mcp","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tphakala%2Fautotask-mcp","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tphakala%2Fautotask-mcp/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tphakala%2Fautotask-mcp/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tphakala%2Fautotask-mcp/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tphakala","download_url":"https://codeload.github.com/tphakala/autotask-mcp/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tphakala%2Fautotask-mcp/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31381007,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-03T21:40:47.592Z","status":"ssl_error","status_checked_at":"2026-04-03T21:40:05.436Z","response_time":107,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["ai-tools","autotask","golang","mcp","mcp-server","model-context-protocol","psa"],"created_at":"2026-04-03T23:00:23.062Z","updated_at":"2026-04-03T23:00:46.217Z","avatar_url":"https://github.com/tphakala.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# autotask-mcp\n\nA [Model Context Protocol](https://modelcontextprotocol.io/) (MCP) server for [Kaseya Autotask PSA](https://www.autotask.com/), written in Go.\n\nProvides AI assistants (Claude, GPT, etc.) with structured access to Autotask data and operations — tickets, companies, contacts, projects, time entries, billing, quotes, and more.\n\n## Features\n\n- **59 MCP tools** covering all major Autotask entity types\n- **4 lazy loading meta-tools** for progressive tool discovery\n- **7 MCP resource templates** for direct data access\n- **Dual transport**: stdio (Claude Desktop/Code) + HTTP (gateway deployments)\n- **Rate limiting**: token bucket (5000 req/hour) + 3-thread concurrency limiter\n- **Circuit breaker**: automatic backoff on API failures\n- **ID-to-name mapping cache** with batch preloading and 30-minute per-entry TTL\n- **Compact response formatting** to minimize LLM context usage\n\n## Quick Start\n\n### Stdio (Claude Desktop / Claude Code)\n\n```bash\n# Set credentials\nexport AUTOTASK_USERNAME=api_user@company.com\nexport AUTOTASK_SECRET=your_secret\nexport AUTOTASK_INTEGRATION_CODE=YOUR_CODE\n\n# Run\ngo run .\n```\n\n### Claude Desktop Configuration\n\nAdd to `claude_desktop_config.json`:\n\n```json\n{\n  \"mcpServers\": {\n    \"autotask\": {\n      \"command\": \"/path/to/autotask-mcp\",\n      \"env\": {\n        \"AUTOTASK_USERNAME\": \"api_user@company.com\",\n        \"AUTOTASK_SECRET\": \"your_secret\",\n        \"AUTOTASK_INTEGRATION_CODE\": \"YOUR_CODE\"\n      }\n    }\n  }\n}\n```\n\n### HTTP / Container\n\n```bash\ncp .env.example .env\n# Edit .env with your credentials\n\n# With Podman\npodman-compose up -d\n\n# With Docker\ndocker compose up -d\n```\n\nThe server starts on port 8080 with endpoints:\n- `POST /mcp` — MCP Streamable HTTP transport\n- `GET /health` — Health check\n\n### Gateway Mode\n\nFor multi-tenant deployments, set `AUTH_MODE=gateway`. Credentials are injected per-request via headers:\n\n```\nX-API-Key: username\nX-API-Secret: secret\nX-Integration-Code: code\n```\n\n## Environment Variables\n\n| Variable | Default | Description |\n|----------|---------|-------------|\n| `AUTOTASK_USERNAME` | — | Autotask API username (required for env mode) |\n| `AUTOTASK_SECRET` | — | Autotask API secret (required for env mode) |\n| `AUTOTASK_INTEGRATION_CODE` | — | Autotask integration code (required for env mode) |\n| `AUTOTASK_API_URL` | auto-discovered | Override API base URL |\n| `MCP_TRANSPORT` | `stdio` | Transport: `stdio` or `http` |\n| `MCP_HTTP_PORT` | `8080` | HTTP server port |\n| `MCP_HTTP_HOST` | `0.0.0.0` | HTTP server bind address |\n| `AUTH_MODE` | `env` | Authentication: `env` or `gateway` |\n| `LOG_LEVEL` | `info` | Log level: `debug`, `info`, `warn`, `error` |\n| `LAZY_LOADING` | `false` | Enable progressive tool discovery |\n\n## Available Tools\n\n### Core Entities\n| Category | Tools |\n|----------|-------|\n| Tickets | search, get details, create, update |\n| Companies | search, create, update |\n| Contacts | search, create |\n| Projects | search, create |\n| Tasks | search, create |\n| Resources | search |\n| Time Entries | create, search |\n| Configuration Items | search |\n| Contracts | search |\n\n### Notes \u0026 Attachments\n| Category | Tools |\n|----------|-------|\n| Ticket Notes | get, search, create |\n| Project Notes | get, search, create |\n| Company Notes | get, search, create |\n| Ticket Attachments | get, search |\n\n### Financial\n| Category | Tools |\n|----------|-------|\n| Quotes | get, search, create |\n| Quote Items | get, search, create, update, delete |\n| Opportunities | get, search, create |\n| Invoices | search |\n| Billing Items | get, search |\n| Billing Approvals | search |\n| Expense Reports | get, search, create |\n| Expense Items | create |\n\n### Catalog\n| Category | Tools |\n|----------|-------|\n| Products | get, search |\n| Services | get, search |\n| Service Bundles | get, search |\n\n### Utility\n| Category | Tools |\n|----------|-------|\n| Connection | test |\n| Picklists | queues, statuses, priorities, field info |\n| Meta-tools | list categories, list tools, execute, router |\n\n## Architecture\n\n```\nautotask-mcp\n├── main.go / config.go / server.go    # Entry point, config, transport setup\n├── services/\n│   ├── mapping.go                      # Company/resource name cache (batch preload)\n│   ├── picklist.go                     # Lazy-loaded field/picklist cache\n│   └── formatter.go                    # Compact response formatting\n├── tools/                              # 59 MCP tool handlers\n│   ├── tickets.go, companies.go, ...   # Entity CRUD tools\n│   ├── register.go                     # Shared helpers\n│   └── lazy.go                         # Progressive discovery meta-tools\n└── resources/                          # 7 MCP resource templates\n```\n\nBuilt on:\n- [go-autotask](https://github.com/tphakala/go-autotask) — Autotask REST API client with typed generics\n- [Go MCP SDK](https://github.com/modelcontextprotocol/go-sdk) — Official MCP server framework\n\n## Building\n\n```bash\ngo build -o autotask-mcp .\n```\n\n## Development\n\n```bash\n# Run tests\ngo test ./...\n\n# Run with race detector\ngo test -race ./...\n\n# Vet\ngo vet ./...\n```\n\n## License\n\nApache 2.0\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftphakala%2Fautotask-mcp","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftphakala%2Fautotask-mcp","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftphakala%2Fautotask-mcp/lists"}