@veeemlab/itglue-mcp
An MCP server for IT Glue that provides 56 tools for managing organizations, configurations, passwords, documents, flexible assets, contacts, locations, users, groups, attachments, related items, and bulk operations, with built-in rate limiting, caching, and security guards.
README
@veeemlab/itglue-mcp
A Model Context Protocol (MCP) server for IT Glue with full read + write support. Talks JSON:API to api.itglue.com / api.eu.itglue.com / api.au.itglue.com and exposes 56 tools to any MCP-compatible client (Claude Desktop, Claude Code, MCPHub, etc.). Built-in rate limiting and retry-with-backoff keep you safely under IT Glue's 3000 req / 5min ceiling. Destructive operations require explicit confirm tokens; password reveal requires a separate acknowledgement; the HTTP transport requires a bearer token and binds to loopback by default.
Quick start
Add it to any MCP client's config (example for MCPHub's mcp_settings.json):
{
"itglue": {
"command": "npx",
"args": ["-y", "@veeemlab/itglue-mcp"],
"env": {
"ITGLUE_API_KEY": "${ITGLUE_API_KEY}",
"ITGLUE_REGION": "${ITGLUE_REGION}"
}
}
}
npx resolves the latest published version from npm and caches it; subsequent runs are instant.
Alternative: run from GitHub HEAD
If you want the bleeding-edge main branch without waiting for an npm release:
"args": ["-y", "github:veeemlab/itglue-mcp"]
Environment
| Variable | Required | Default | Notes |
|---|---|---|---|
ITGLUE_API_KEY |
yes | – | Sent as the x-api-key header. |
ITGLUE_REGION |
no | us |
One of us, eu, au. |
ITGLUE_READ_ONLY |
no | false |
Set to true to skip registration of all 25 mutating tools (create/update/delete/bulk/publish). |
ITGLUE_TRANSPORT |
no | stdio | Set to http to expose the server over Streamable HTTP on :PORT/mcp (with /health for liveness). |
ITGLUE_HTTP_TOKEN |
when http |
– | Bearer token required on /mcp requests. Must be ≥ 16 chars; server refuses to start without it. |
ITGLUE_HTTP_HOST |
no | 127.0.0.1 |
Only used when ITGLUE_TRANSPORT=http. Loopback by default — set explicitly (0.0.0.0 etc.) to expose. |
PORT |
no | 3000 |
Only used when ITGLUE_TRANSPORT=http. |
Tools
All tools share the itglue_ prefix. Read-only tools accept pageSize / pageNumber for page[size] / page[number], plus typed filters that map to filter[...].
Organizations — search_organizations, get_organization
Configurations — search_configurations, get_configuration, create_configuration, update_configuration, delete_configuration, list_configuration_types, list_configuration_statuses
Passwords — search_passwords, get_password, create_password, update_password, delete_password, list_password_categories (pass showPassword: true to reveal plaintext)
Documents — search_documents, get_document, create_document, list_document_sections, create_document_section, update_document_section, delete_document_section, publish_document
Flexible Assets — list_flexible_asset_types, list_flexible_asset_fields, search_flexible_assets, get_flexible_asset, create_flexible_asset, update_flexible_asset, delete_flexible_asset
Flexible assets use a dynamic
traitsobject — always calllist_flexible_asset_fieldsfor the target type first to learn the valid keys.
Contacts — search_contacts, get_contact, create_contact, update_contact, delete_contact
Locations — list_locations, get_location, create_location, update_location, delete_location
Users — list_users, get_user
Groups — list_groups, get_group
Attachments — list_attachments, delete_attachment
Related Items — list_related_items, create_related_item, delete_related_item
Bulk — bulk_update, bulk_delete (one tool per operation across resource types)
Deduplication — find_org_match, find_contact_match, find_config_match, scan_duplicates
Health — itglue_health_check
Token-saving formatOptions
Every read tool accepts an optional formatOptions argument: format: "compact" keeps id + a small set of identifying attributes, fields: [...] whitelists specific attribute keys, omitEmpty: true drops null and empty values. Combine to reduce response tokens by up to 80%.
How it works
- JSON:API request/response envelopes (
type+id+attributes) with kebab-case attribute keys GET/POST/PATCH/DELETEmap cleanly to IT Glue's CRUD verbs- Errors from the API are parsed and surfaced as
isError: truetool responses with the originalerrors[]payload - Transport defaults to
StdioServerTransport; opt intoStreamableHTTPServerTransportwithITGLUE_TRANSPORT=http
Rate limiting & retry
Every outbound request goes through a serialized queue with a configurable minimum interval (100 ms by default → ~10 req/s, comfortably under IT Glue's 3000 / 5 min limit). 429 responses are retried up to 3 times with exponential backoff (1 s, 2 s, 4 s) and honor the Retry-After header. 408 and 5xx responses are retried only for GET and DELETE — POST and PATCH surface the error to the caller, since retrying them risks duplicate side effects.
LRU response cache
GET responses are kept in an in-memory LRU cache with per-resource TTLs (1 hour for reference data, 5 minutes for organizations/locations, 1 minute for configurations/contacts/documents/flexible-assets, never for passwords). Successful write operations invalidate every cache entry for the touched resource.
Security
This server can read, modify, and delete IT Glue records — including passwords. Guards built in:
ITGLUE_READ_ONLY=truedisables registration of all 25 mutating tools;listToolsnever advertises them. The intended posture for handing an LLM an inspection-only view.- Confirm tokens are required on every destructive tool. Each tool refuses to run unless the caller passes a verbatim
confirmvalue matching the operation:DELETE_CONFIGURATION,DELETE_CONTACT,DELETE_DOCUMENT_SECTION,DELETE_FLEXIBLE_ASSET,DELETE_LOCATION,DELETE_ATTACHMENT,DELETE_RELATED_ITEM,DELETE_PASSWORD,PUBLISH_DOCUMENT,BULK_UPDATE,BULK_DELETE. showPassword=trueonget_password/search_passwordsis conditionally gated: passing it withoutconfirm: "SHOW_PASSWORD"is refused. The plaintext path stays available but cannot be hit by accident.- Error response redaction: API error bodies pass through a redactor that masks values whose key matches
/password|secret|token|api_key|otp|private_key/i. IT Glue sometimes echoes back submitted fields on validation failure — the redactor catches that before the LLM sees them. - HTTP transport: requires
ITGLUE_HTTP_TOKEN(≥ 16 chars) and binds to127.0.0.1by default./mcprequests must carryAuthorization: Bearer <token>; token comparison usestimingSafeEqual./healthis unauthenticated for liveness probes.
Passwords are never cached regardless of TTL settings.
Why dist/ is committed
npx -y github:veeemlab/itglue-mcp runs the package straight from GitHub without a build step. So the compiled output under dist/ is intentionally tracked in git. A prepare script (tsc) regenerates it as a fallback if the package is ever installed from source.
Local development
npm install
npm run build # or npm run dev for watch mode
ITGLUE_API_KEY=... ITGLUE_REGION=eu node dist/index.js
Project layout:
src/
index.ts # stdio entry (+ optional HTTP with bearer auth)
server.ts # MCP server wiring + read-only filter
client.ts # IT Glue HTTP client (throttle, retry, cache)
cache.ts # LRU cache + per-resource TTL table
format.ts # formatOptions transform
redact.ts # secret-key redaction for error responses
searchFallback.ts # diacritic / first-word variants for filter[name]
similarity.ts # Jaro-Winkler + normalize for dedup tools
tools/
organizations.ts
configurations.ts
passwords.ts
documents.ts
flexibleAssets.ts
contacts.ts
locations.ts
users.ts
groups.ts
attachments.ts
relatedItems.ts
bulk.ts
deduplication.ts
health.ts
shared.ts # tool helpers (schemas, errors, pagination, confirm)
index.ts # tool registry
License
MIT — see LICENSE.
推荐服务器
Baidu Map
百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
Playwright MCP Server
一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。
Audiense Insights MCP Server
通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。
Magic Component Platform (MCP)
一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。
VeyraX
一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。
Kagi MCP Server
一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。
graphlit-mcp-server
模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。
mcp-server-qdrant
这个仓库展示了如何为向量搜索引擎 Qdrant 创建一个 MCP (Managed Control Plane) 服务器的示例。
e2b-mcp-server
使用 MCP 通过 e2b 运行代码。
Neon MCP Server
用于与 Neon 管理 API 和数据库交互的 MCP 服务器