HaloPSA MCP Server
An MCP (Model Context Protocol) server that provides access to HaloPSA's reporting and REST APIs, allowing AI assistants to query and analyze HaloPSA data intelligently.
Features
🔐 Secure OAuth2 authentication with HaloPSA API
📊 Execute SQL queries against HaloPSA database
🔍 Intelligent schema search and query suggestions
📋 Complete database schema with 800+ tables
🤖 AI-friendly query building assistance
🌐 Full API exploration with swagger schema access
📖 Browse and search API endpoints with pagination
🔧 Direct API calls to any HaloPSA endpoint
Installation
NPM
Install the package from npm:
Docker
Pull and run the Docker image:
Usage with Claude Desktop
Using NPM Package
Add to your Claude Desktop configuration (~/Library/Application Support/Claude/claude_desktop_config.json):
Using Docker
Add to your Claude Desktop configuration:
Available Tools
Database Query Tools
halopsa_list_tables
List all available tables in the HaloPSA database:
halopsa_list_columns
List columns for a specific table:
halopsa_query
Execute SQL queries against the HaloPSA database:
halopsa_table_info
Get detailed information about a specific table including all columns, data types, and relationships:
halopsa_build_query
Build SQL queries programmatically with a helper:
API Exploration Tools
halopsa_list_api_endpoints
List all API endpoints with basic information. Supports pagination:
halopsa_get_api_endpoint_details
Get complete details for specific API endpoints including parameters and schemas:
halopsa_search_api_endpoints
Search for API endpoints by keywords. Supports pagination:
halopsa_get_api_schemas
Get API schemas/models from the swagger definition. Supports pagination:
halopsa_api_call
Make authenticated API calls to any HaloPSA endpoint:
Common Queries
Open Tickets
User List
Request Types
Development
Run in Development Mode
Test Connection
Schema Information
The MCP includes a complete HaloPSA database schema with:
818 tables
Key tables include:
FAULTS (622 columns) - Tickets/Requests
USERS (213 columns) - User information
SITE (115 columns) - Client/Site data
ACTIONS (196 columns) - Ticket actions
REQUESTTYPE (332 columns) - Ticket types
Security Notes
Never commit
.envfilesStore credentials securely
Use read-only API credentials when possible
Rotate API keys regularly
License
ISC
remote-capable server
The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.
Tools
Enables AI assistants to interact with HaloPSA data through secure OAuth2 authentication. Supports SQL queries against the HaloPSA database, API endpoint exploration, and direct API calls for comprehensive PSA data analysis and management.