ucontrol-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., "@ucontrol-mcp list all schema definitions"
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.
ucontrol-mcp
MCP stdio server for the uControl Schema, uAsset, and uMap APIs documented in:
DOCC80-API Settings-060526-173133.pdfDOCC80-Schema API's-060526-173649.pdfDOCC80-uAsset API's-060526-173407.pdfDOCC80-uMap API's-060526-173553.pdf
The server deliberately separates protocols by access type:
Read-only tools are named
ucontrol_read_*and are registered withreadOnlyHint: true.Write/mutation tools are named
ucontrol_write_*and are registered withreadOnlyHint: false.Destructive write tools, such as delete, remove, unlink, and decommission operations, are registered with
destructiveHint: true.ucontrol_read_protocolsreturns the complete local inventory with read/write/destructive classification and whether each tool is currently registered.
Install
npm install
npm run buildRelated MCP server: SpatialGrid MCP Server
Configuration
Required:
UCONTROL_BASE_URL=https://ucontrol.example.com/uControlOptional:
UCONTROL_API_TOKEN=...
UCONTROL_COOKIE=JSESSIONID=...
UCONTROL_TIMEOUT_MS=30000
UCONTROL_TOOL_MODE=read-only
UCONTROL_ALLOW_WRITES=falseAuthentication follows the API Settings document: uControl can be configured to require bearer-token authentication, and authenticated users must be in the API-Access team.
UCONTROL_BASE_URL should normally include the /uControl context path. The server appends documented API paths such as /api/schema/definitions.
Read-only mode
This is the default. Only ucontrol_read_* tools are registered.
{
"mcpServers": {
"ucontrol": {
"command": "node",
"args": ["/Volumes/Hub/Code/GitHub/ucontrol-mcp/dist/index.js"],
"env": {
"UCONTROL_BASE_URL": "https://ucontrol.example.com/uControl",
"UCONTROL_API_TOKEN": "replace-me",
"UCONTROL_TOOL_MODE": "read-only"
}
}
}
}Read/write mode
Write tools are registered only when UCONTROL_TOOL_MODE=read-write. They still refuse to execute unless UCONTROL_ALLOW_WRITES=true.
{
"mcpServers": {
"ucontrol": {
"command": "node",
"args": ["/Volumes/Hub/Code/GitHub/ucontrol-mcp/dist/index.js"],
"env": {
"UCONTROL_BASE_URL": "https://ucontrol.example.com/uControl",
"UCONTROL_API_TOKEN": "replace-me",
"UCONTROL_TOOL_MODE": "read-write",
"UCONTROL_ALLOW_WRITES": "true"
}
}
}
}LM Studio setup
LM Studio can run local stdio MCP servers from its MCP configuration. Build this project first, then add the server in LM Studio's MCP settings. If LM Studio exposes an Edit mcp.json action, use that; otherwise add the same JSON through its MCP server UI.
From this repository:
cd /Volumes/Hub/Code/GitHub/ucontrol-mcp
npm install
npm run buildRecommended starting configuration is read-only:
{
"mcpServers": {
"ucontrol": {
"command": "node",
"args": ["/Volumes/Hub/Code/GitHub/ucontrol-mcp/dist/index.js"],
"env": {
"UCONTROL_BASE_URL": "https://ucontrol.example.com/uControl",
"UCONTROL_API_TOKEN": "replace-me",
"UCONTROL_TOOL_MODE": "read-only"
}
}
}
}If LM Studio cannot find node, replace "command": "node" with the absolute path from:
which nodeFor write access, change the environment block explicitly:
"env": {
"UCONTROL_BASE_URL": "https://ucontrol.example.com/uControl",
"UCONTROL_API_TOKEN": "replace-me",
"UCONTROL_TOOL_MODE": "read-write",
"UCONTROL_ALLOW_WRITES": "true"
}Restart or reload LM Studio's MCP servers after saving the configuration. In a chat, verify the connection with:
Use the ucontrol_read_protocols tool and summarize which uControl tools are registered.Expected behavior:
In read-only mode, only
ucontrol_read_*tools appear as registered.In read/write mode,
ucontrol_write_*tools also appear, but write calls still fail unlessUCONTROL_ALLOW_WRITES=true.If uControl requires authentication, the API token must belong to a user in the API-Access team.
VS Code setup
VS Code supports MCP servers through an mcp.json file. You can configure this server either for one workspace or for your VS Code user profile.
Options:
Workspace config: create or edit
.vscode/mcp.jsonin the workspace where you want the server available.User config: run MCP: Open User Configuration from the Command Palette.
Guided flow: run MCP: Add Server from the Command Palette and choose Workspace or Global.
Build the server first:
cd /Volumes/Hub/Code/GitHub/ucontrol-mcp
npm install
npm run buildRecommended read-only .vscode/mcp.json:
{
"inputs": [
{
"type": "promptString",
"id": "ucontrol-api-token",
"description": "uControl API bearer token",
"password": true
}
],
"servers": {
"ucontrol": {
"type": "stdio",
"command": "node",
"args": ["/Volumes/Hub/Code/GitHub/ucontrol-mcp/dist/index.js"],
"env": {
"UCONTROL_BASE_URL": "https://ucontrol.example.com/uControl",
"UCONTROL_API_TOKEN": "${input:ucontrol-api-token}",
"UCONTROL_TOOL_MODE": "read-only"
}
}
}
}For write access, change only the environment values intentionally:
"env": {
"UCONTROL_BASE_URL": "https://ucontrol.example.com/uControl",
"UCONTROL_API_TOKEN": "${input:ucontrol-api-token}",
"UCONTROL_TOOL_MODE": "read-write",
"UCONTROL_ALLOW_WRITES": "true"
}After saving the config, start or restart the server with MCP: List Servers, then select ucontrol and choose Start or Restart. VS Code may ask you to trust the local server before exposing its tools in chat.
Verification prompt in VS Code Chat:
Use the ucontrol_read_protocols tool and summarize which uControl tools are registered.Troubleshooting:
If VS Code cannot find Node.js, replace
"command": "node"with the absolute path fromwhich node.If tools do not refresh after a code change, run MCP: Reset Cached Tools and restart the server.
Use MCP: List Servers >
ucontrol> Show Output to inspect startup errors.For remote SSH/devcontainer workspaces, configure the MCP server in the environment where Node.js and this repo path exist.
Avoid committing real API tokens. Use VS Code
inputsas shown above, or anenvFileoutside source control.
Tool matrix
Tool | Access | HTTP | Endpoint | Destructive |
| read | LOCAL | local | no |
| read | GET |
| no |
| read | GET |
| no |
| read | GET |
| no |
| read | GET |
| no |
| read | GET |
| no |
| read | GET |
| no |
| write | POST |
| no |
| write | POST |
| yes |
| write | POST |
| no |
| write | POST |
| yes |
| write | POST |
| no |
| write | POST |
| yes |
| write | POST |
| yes |
| write | POST |
| no |
| write | POST |
| yes |
| write | POST |
| no |
| write | POST |
| no |
| write | POST |
| no |
| write | POST |
| yes |
| write | POST |
| no |
| write | POST |
| no |
| write | POST |
| no |
| write | POST |
| yes |
| read | GET |
| no |
| read | GET |
| no |
| read | GET |
| no |
| read | GET |
| no |
| write | POST |
| no |
| write | POST |
| no |
| write | POST |
| no |
| write | POST |
| no |
| write | POST |
| no |
| write | POST |
| no |
| write | POST |
| no |
| write | POST |
| yes |
| write | POST |
| yes |
| read | GET |
| no |
| read | GET |
| no |
| read | GET |
| no |
| read | GET |
| no |
| read | GET |
| no |
| read | GET |
| no |
| read | GET |
| no |
| read | GET |
| no |
| read | GET |
| no |
| read | GET |
| no |
| read | GET |
| no |
| write | POST |
| no |
| read | GET |
| no |
| read | GET |
| no |
| write | POST |
| no |
| write | POST |
| no |
| write | POST |
| no |
| write | POST |
| no |
| write | POST |
| no |
| write | POST |
| no |
| write | POST |
| no |
| write | POST |
| no |
| write | POST |
| yes |
| write | POST |
| yes |
| write | POST |
| no |
Notes on documented edge cases
ucontrol_read_asset_tagspreserves the vendor-documentedGETrequest with a JSON body. Nativefetchdisallows GET bodies, so the client uses Node's HTTP client for that path.ucontrol_write_umap_populatesendsContent-Type: text/plainwith a JSON string body shaped as{ "data": [...] }, matching the uMap document.Query values that accept multiple IDs can be passed either as a comma-separated string or as an array; arrays are serialized as comma-separated values.
ucontrol_write_umap_model_modifykeeps the vendor warning in the tool description: omitted optional values may wipe existing values.
Development
npm run build
npm testThe test suite starts a local loopback HTTP server. In restricted sandboxes, that may require approval.
Available Tools
24 toolsucontrol_read_assetUcontrol Read AssetBRead-onlyIdempotent
uAsset API: read one asset by definition and record identifier.
Inputs: definition (required), record_identifier (required), fields, tagInfo, +3 more.
ucontrol_read_assetsUcontrol Read AssetsARead-onlyIdempotent
uAsset API: read asset records for a definition. Optional filter syntax follows the vendor docs: aliases asset, geo, unit, context; operators EQUALS and NOT-EQUALS; clauses AND/OR.
Inputs: definition (required), limit, fields, filter, +6 more.
ucontrol_read_asset_tagsUcontrol Read Asset TagsBRead-onlyIdempotent
uAsset API: view tags for assets. The vendor docs specify a JSON body on GET; this server preserves that behavior with a Node HTTP request.
Inputs: data (required).
ucontrol_read_protocolsUcontrol Read ProtocolsARead-onlyIdempotent
List this MCP server's uControl protocol inventory, split by read-only and write access. Write protocols are only registered when UCONTROL_TOOL_MODE=read-write.
Inputs: no named parameters.
ucontrol_read_schema_dataUcontrol Read Schema DataBRead-onlyIdempotent
Schema API: read the fields and metadata for a schema definition.
Inputs: definition (required).
ucontrol_read_schema_definitionsUcontrol Read Schema DefinitionsBRead-onlyIdempotent
Schema API: list uControl schema definitions.
Inputs: no named parameters.
ucontrol_read_schema_ire_rulesUcontrol Read Schema Ire RulesARead-onlyIdempotent
Schema API: read Identification/Reconciliation Engine rules for an asset kind.
Inputs: kind (required).
ucontrol_read_umap_application_typesUcontrol Read Umap Application TypesARead-onlyIdempotent
uMap API: list model application types.
Inputs: no named parameters.
ucontrol_read_umap_bmc_appliancesUcontrol Read Umap Bmc AppliancesBRead-onlyIdempotent
uMap API: list BMC appliances.
Inputs: no named parameters.
ucontrol_read_umap_componentsUcontrol Read Umap ComponentsBRead-onlyIdempotent
uMap API: list components.
Inputs: no named parameters.
ucontrol_read_umap_dependenciesUcontrol Read Umap DependenciesBRead-onlyIdempotent
uMap API: list dependencies.
Inputs: no named parameters.
ucontrol_read_umap_environmentsUcontrol Read Umap EnvironmentsARead-onlyIdempotent
uMap API: list environments.
Inputs: no named parameters.
ucontrol_read_umap_ire_rulesUcontrol Read Umap Ire RulesARead-onlyIdempotent
uMap API: read IRE rules for a kind before populating or linking CIs.
Inputs: kind (required).
ucontrol_read_umap_lead_accountsUcontrol Read Umap Lead AccountsARead-onlyIdempotent
uMap API: list lead accounts.
Inputs: no named parameters.
ucontrol_read_umap_model_cisUcontrol Read Umap Model CisCRead-onlyIdempotent
uMap API: list CIs linked to a uMap model.
Inputs: kind (required), uMapId (required).
ucontrol_read_umap_model_detailsUcontrol Read Umap Model DetailsARead-onlyIdempotent
uMap API: read model details. Omit name to return all records.
Inputs: name.
ucontrol_read_umap_modelling_typesUcontrol Read Umap Modelling TypesBRead-onlyIdempotent
uMap API: list modelling types.
Inputs: no named parameters.
ucontrol_read_umap_model_patternsUcontrol Read Umap Model PatternsARead-onlyIdempotent
uMap API: list discovery patterns linked to a uMap model.
Inputs: uMapId (required).
ucontrol_read_umap_modelsUcontrol Read Umap ModelsCRead-onlyIdempotent
uMap API: list models.
Inputs: page, size.
ucontrol_read_umap_review_dataUcontrol Read Umap Review DataCRead-onlyIdempotent
uMap API: read review data.
Inputs: no named parameters.
ucontrol_read_umap_servicesUcontrol Read Umap ServicesCRead-onlyIdempotent
uMap API: list services.
Inputs: page, size.
ucontrol_read_umap_service_typesUcontrol Read Umap Service TypesARead-onlyIdempotent
uMap API: list service types.
Inputs: no named parameters.
ucontrol_read_umap_sso_group_detailsUcontrol Read Umap Sso Group DetailsBRead-onlyIdempotent
uMap API: read SSO group details.
Inputs: no named parameters.
ucontrol_read_umap_team_detailsUcontrol Read Umap Team DetailsARead-onlyIdempotent
uMap API: read team details. Omit name to return all records.
Inputs: name.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
TDQS
Scored across 24 tools
Most tools target distinct resources (protocols, schemas, assets, uMap sub-entities), but some overlap exists between model-related reads (e.g., read_umap_model_details vs. read_umap_models) which could cause misselection. The consistent prefix helps, but the volume of similar read tools creates mild ambiguity.
All tools follow a consistent verb_noun pattern with the prefix 'ucontrol_read_', making the naming highly predictable and uniform. There are no mixed conventions or arbitrary verb choices.
With 24 tools, the server is on the heavy side but justifiable given the multiple sub-APIs it exposes (protocols, schemas, assets, uMap). The count is within a manageable range for the scope, though it approaches the upper limit.
The server is entirely read-only; there are no create, update, or delete tools, which is a significant gap for a 'control' server. The description hints at write protocols but none are implemented, leaving the surface severely incomplete for any management or mutation workflows.
Maintenance
Related MCP Connectors
MCP server for Product Management
MCP server for mandates, delegation, policy-gated execution, credential grants, and audit.
Related MCP Servers
- FlicenseCqualityDmaintenanceMCP server that enables deployment and management of MCP servers through a simple configuration-based interface.1-
- AlicenseNot gradedqualityDmaintenanceMCP server providing tools for spatial grid applications including calculations, MongoDB management, asset management, project creation, and experience publishing.ISC
- AlicenseNot gradedqualityDmaintenanceUnified MCP server for ArcGIS Online and Enterprise providing tools for user/group management, item management, geoprocessing, feature layer queries/editing, and server administration.3MIT
- AlicenseNot gradedqualityDmaintenanceMCP server for unified SQL database access, supporting multiple databases with schema discovery, caching, and safety controls.14 npm1MIT