claude-halopsa-mcp
Enables Claude to interact with HaloPSA by authenticating via Azure CLI and fetching OAuth secrets from Azure Key Vault at runtime.
README
claude-halopsa-mcp
PrecisionIT launcher for the HaloPSA MCP connector. Mirrors the Meraki connector
pattern: the connector authenticates to Azure with the technician's own
az login identity and pulls HaloPSA OAuth config from Azure Key Vault at
runtime. No secrets ever land in the Claude config file.
The actual MCP server is the upstream package
@adamhancock/halopsa-mcp;
this repo is the Key Vault launcher that wraps it.
How it works
-
Claude Desktop / Claude Code spawns
node mcp-keyvault-launch.js. -
The launcher uses
AzureCliCredential(the tech'saz loginsession) to read four secrets from Key Vault — RW vault first, whole-set fallback to RO:Vault secret Env var injected HaloPsaUrlHALOPSA_URLHaloPsaTenantHALOPSA_TENANTHaloPsaClientIdHALOPSA_CLIENT_IDHaloPsaClientSecretHALOPSA_CLIENT_SECRET -
With those in the environment, it spawns
@adamhancock/halopsa-mcpover stdio. stdout is the MCP JSON-RPC channel; all launcher diagnostics go to stderr.
Vaults: PrecisionIT-MCP-RW (read-write techs) and PrecisionIT-MCP-RO
(read-only techs). RW vs RO is an Entra entitlement, not a machine setting.
Prerequisites
- git
- Node.js 18+
- Azure CLI, signed in (
az login) with an identity entitled to one of the vaults - Claude Desktop and/or Claude Code
Install
macOS / Linux
curl -fsSL https://raw.githubusercontent.com/dspray/claude-halopsa-mcp/main/install/install.sh | bash
Windows (PowerShell)
powershell -ExecutionPolicy Bypass -Command "iwr https://raw.githubusercontent.com/dspray/claude-halopsa-mcp/main/install/install.ps1 -OutFile $env:TEMP\h.ps1; & $env:TEMP\h.ps1"
The installer resolves node's absolute path, clones this repo to
~/claude-halopsa-mcp, runs npm ci, and writes the halopsa entry into the
Claude Desktop config (backing it up first) and Claude Code (via claude mcp add, if the CLI is present). It is idempotent.
After installing, fully quit and reopen Claude Desktop, then confirm the
halopsa tools load and run a harmless read (e.g. "list a couple of Halo
clients").
Manual config (if you skip the installer)
{
"mcpServers": {
"halopsa": {
"command": "/absolute/path/to/node",
"args": ["/Users/you/claude-halopsa-mcp/mcp-keyvault-launch.js"]
}
}
}
No env block — the launcher fetches everything at runtime.
Troubleshooting
- No tools after install: confirm a full quit + reopen (not just closing the window), and that the config was written to the app you're actually using.
- Credential error on stderr:
az loginsession expired (az loginagain) orazisn't on the launcher's PATH. - 401/403 from Halo on a working install: the OAuth token cache (~1 hour after a scope change). Disconnect and reconnect the connector to force a fresh token.
- Calls hang then time out: the MCP server wedged — fully quit and relaunch Claude Desktop.
Notes
- The connector authenticates as a shared PrecisionIT HaloPSA OAuth application; Halo action attribution reflects that app. Per-tech attribution here is at the Key Vault access layer (who pulled the secret), same as the Meraki connector.
- If you rename the Key Vault secrets, edit
SECRET_MAPat the top ofmcp-keyvault-launch.jsto match.
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.