invgate-mcp
Click on "Deploy 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., "@invgate-mcp list computers with name containing 'IT'"
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.
invgate-mcp
A curated Model Context Protocol (MCP) server that exposes 12 read-only tools over stdio for InvGate Asset Management. Any MCP-compatible client (Claude Desktop, etc.) can query assets, people, computers, servers, software, and API health through natural language.
Transport: stdio only (the universal default for local agents).
Auth: OAuth2 client-credentials flow (
scope=read), in-memory token cache with a 60-second expiry buffer and one-shot 401 retry.Validation: every tool input is validated with zod; invalid input returns a structured
validation_errorwithout calling the API.Resilience: HTTP, auth, and network failures are converted to MCP text content with
isError: true— the server never crashes the host.Distribution: published to npm, runnable via
npx invgate-mcp.
Install
# Run without installing
npx invgate-mcp
# Or install globally
npm install -g invgate-mcp
invgate-mcpRelated MCP server: servicenow-mcp
Configuration
The server reads three required environment variables at startup:
Env var | Description | Example |
| InvGate public API base URL (ends with |
|
| OAuth2 client ID |
|
| OAuth2 client secret |
|
If any are missing the server prints a descriptive error to stderr and exits with code 1.
The OAuth2 token endpoint is derived from INVGATE_BASE_URL by stripping the
/public-api/v2 segment and appending /oauth2/token/, so
https://acme.invgate.net/public-api/v2 → https://acme.invgate.net/oauth2/token/.
Claude Desktop config
Add invgate-mcp to your mcpServers block
(~/Library/Application Support/Claude/claude_desktop_config.json on macOS):
{
"mcpServers": {
"invgate": {
"command": "npx",
"args": ["-y", "invgate-mcp"],
"env": {
"INVGATE_BASE_URL": "https://acme.invgate.net/public-api/v2",
"INVGATE_CLIENT_ID": "your-client-id",
"INVGATE_CLIENT_SECRET": "your-client-secret"
}
}
}
}Tools
Tool | Input | Behavior |
| none | Returns all asset types |
|
| Paginated asset list with optional filters |
|
| Single asset by ID |
|
| Paginated people list |
|
| Single person by ID |
|
| Assets assigned to a person |
|
| Assets of type "computer" |
|
| Single computer asset |
|
| Assets of type "server" |
|
| Single server asset |
| none | API connectivity status |
|
| Paginated installed-software catalog |
Parameter mapping
Tool inputs use snake_case; the server maps them to the InvGate API query
parameters. per_page → page_size, asset_type_id → asset_types.
The criteria object maps to InvGate's nested syntax:
{ "name": "cont:MacBook" } becomes criteria[name]=cont:MacBook on the
query string (op examples: cont, eq, startswith, …).
Results & errors
Success: the raw JSON response body, pretty-printed, as MCP
textcontent.Errors: structured JSON
{ "error": "...", "message": "...", "status": ... }as text content withisError: true. Types:validation_error,auth_error,api_error,network_error.
Development
npm install
npm run build # tsup → dist/index.js (single ESM bundle)
npm run typecheck # tsc --noEmit
npm test # vitest run (59 tests, MSW for HTTP interception)
npm run test:coverage # vitest run --coverage (80% gate on src/**)
npm run dev # tsx src/index.tsRequires Node.js 20+ (uses native fetch).
License
MIT
Available Tools
12 toolsinvgate_get_assetA
Retrieve a single asset by its ID.
Inputs: asset_id (required).
invgate_get_computerA
Retrieve a single computer by its asset ID.
Inputs: asset_id (required).
invgate_get_healthA
Check InvGate API connectivity status.
Inputs: no named parameters.
invgate_get_personB
Retrieve a single person by ID.
Inputs: person_id (required).
invgate_get_person_assetsB
List assets assigned to a person by their person ID.
Inputs: person_id (required), page, per_page.
invgate_get_serverB
Retrieve a single server by its asset ID.
Inputs: asset_id (required).
invgate_list_assetsB
List and search assets. Supports pagination, asset-type filter, and criteria.
Inputs: page, criteria, per_page, asset_type_id.
invgate_list_asset_typesA
List all asset types registered in InvGate.
Inputs: no named parameters.
invgate_list_computersA
List computer assets with pagination and optional search criteria.
Inputs: page, criteria, per_page.
invgate_list_peopleC
List people with pagination and optional search criteria.
Inputs: page, criteria, per_page.
invgate_list_serversB
List server assets with pagination and optional search criteria.
Inputs: page, criteria, per_page.
invgate_list_softwareB
List installed software with pagination and optional search criteria.
Inputs: page, criteria, per_page.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 12 tools
Each tool targets a distinct resource and action: get/list for assets, computers, servers, people, and specialized tools for asset types, software, and health. No overlapping purposes.
All tools follow the consistent pattern 'invgate_<verb>_<noun>' with snake_case. Verbs are either 'get', 'list', or 'check', and nouns clearly identify the resource.
12 tools is well-scoped for an asset management interface, covering the main entities and common operations without being excessive or sparse.
The tool set only provides read operations (get, list) and lacks any create, update, or delete capabilities. For a full asset management lifecycle, this is a significant gap, potentially causing agent failures when write operations are needed.
Maintenance
Related MCP Connectors
Official Microsoft MCP Server to query Microsoft Entra data using natural language
Query your org's data in natural language — read-only MCP access to SQL, NoSQL, files & warehouses.
Read-only MCP access to a documented IT fleet: state, changes, posture. 15 tools.
Related MCP Servers
- AlicenseCqualityCmaintenanceMCP server for InvGate Service Desk — manage incidents, users, knowledge base, assets and time tracking from any AI assistant.6328 PyPI4MIT
- AlicenseAqualityDmaintenanceA read-only MCP server that enables AI assistants to query ServiceNow instances—incidents, changes, users, CMDB—with malformed query linting and injection protection.7MIT
- AlicenseNot gradedqualityDmaintenanceA read-only MCP server for Cisco Meraki Dashboard, enabling LLMs to discover devices, check health, troubleshoot, and generate reports via natural language.MIT
- AlicenseBqualityBmaintenanceA read-only MCP server for the HCL BigFix root server REST API, enabling session relevance queries, client fast queries, and server/site/operator lookups through natural language.2714 PyPIMIT