ConnectWise API Gateway MCP Server logo

ConnectWise API Gateway MCP Server

by jasondsmith72

The ConnectWise API Gateway MCP server provides a comprehensive interface for interacting with the ConnectWise Manage API. It simplifies API discovery, execution, and management for both developers and AI assistants.

View on GitHub

Last updated: N/A

What is ConnectWise API Gateway MCP Server?

This server is a Model Context Protocol (MCP) server that acts as an API gateway for ConnectWise Manage. It provides tools for discovering, executing, and managing ConnectWise API calls, making it easier to integrate with ConnectWise.

How to use ConnectWise API Gateway MCP Server?

To use the server, first install it using either the NPM package or manual installation steps outlined in the README. Then, configure your ConnectWise API credentials as environment variables. Finally, you can use the provided tools to search for API endpoints, execute API calls, and manage frequently used queries using the Fast Memory feature. It can also be integrated with Claude Desktop for natural language API interaction.

Key features of ConnectWise API Gateway MCP Server

  • API Discovery with natural language search

  • Simplified API Execution with parameter handling

  • Fast Memory System for efficient workflows

  • Raw API Access for complete control

  • Database-backed API discovery using SQLite

Use cases of ConnectWise API Gateway MCP Server

  • Automating ConnectWise tasks

  • Integrating ConnectWise with other systems

  • Building custom ConnectWise applications

  • Using AI assistants to interact with ConnectWise

FAQ from ConnectWise API Gateway MCP Server

How do I fix a 'Database Not Found' error?

Run the build_database.py script with the path to your ConnectWise API definition file: python build_database.py path/to/manage.json

How do I resolve API Authentication Issues?

Check your environment variables to ensure all ConnectWise credentials are correct: Verify your CONNECTWISE_COMPANY_ID, CONNECTWISE_PUBLIC_KEY, and CONNECTWISE_PRIVATE_KEY. Ensure the API key has the necessary permissions in ConnectWise. Check that CONNECTWISE_AUTH_PREFIX is set correctly for your environment.

What are the benefits of using Fast Memory?

Fast Memory saves time by quickly executing complex API calls, reduces errors by reusing successful calls, adaptively learns valuable calls, and persists parameters for future use.

How do I optimize API queries for better performance?

Use specific conditions to narrow queries, limit field selection to request only necessary fields, and paginate large results using page and pageSize parameters.

Where can I find the logs for the API Gateway?

The main log file is located at api_gateway/api_gateway.log. The SQLite databases are located at api_gateway/connectwise_api.db (API Database) and api_gateway/fast_memory_api.db (Fast Memory Database).