JC

jasondsmith72/cwm-api-gateway-mcp

开发工具

本页由 AI 翻译,技术细节请以原文为准。 查看原文

19 stars 28 forks 质量 56 趋势 22

连接Wise 管理 API 网关 MCP Claude 的服务器

概览

这个"模式上下文协议"(MCP)服务器为与"ConnectedWise Management API"互动提供了一个全面的接口. 它简化了开发者和AI助手的API发现,执行和管理. - 使用关键词或自然语言搜索并探索 ConnectWise API 端点 - 执行 API 调用 友好参数处理和自动错误管理 - 保存并检索频繁使用的 API 查询以更高效的工作流程 - 发送自定义 API 请求,对端点,方法和参数有完整的控制 - 使用由 ConnectWise API 定义 JSON 构建的 SQLite 数据库进行快速,高效的端点搜索 - 使用您需要的谈话描述查找相关的 API 端点 - 浏览 API 按功能类别排列的端点 - 查看有关 API 端点的全面信息,包括参数,计划,以及响应格式 - 这个系统通过使用跟踪来了解 API 呼叫对您最有价值 - 说吧...

概述(AI 翻译)

这个"模式上下文协议"(MCP)服务器为与"ConnectedWise Management API"互动提供了一个全面的接口. 它简化了开发者和AI助手的API发现,执行和管理.

□ 核心能力

  • API发现: 使用关键词或自然语言搜索并探索 ConnectWise API 端点
  • ** 简化API执行:** 执行带有友好参数处理和自动错误管理的 API 调用
  • 快速记忆系统: 保存和检索经常使用的API 查询,以便提高工作流程的效率
  • Raw API访问: 发送自定义的 API 请求, 并完全控制端点、 方法和参数

□ 关键特性

  • 数据库的API发现: 使用由 ConnectWise API 定义 JSON 构建的 SQLite 数据库进行快速高效的终点搜索
  • ** 自然语言搜索:** 使用您需要的谈话描述查找相关的 API 端点
  • ** 分类API导航:** 浏览按功能类别排列的 API 端点
  • ** 详细文件查阅:** 查看关于 API 端点的全面信息,包括参数、计划以及响应格式

本页由 AI 翻译,技术细节请以原文为准。

README

以下为原文 README 节选,完整内容请查看原文。

ConnectWise API Gateway MCP Server

This Model Context Protocol (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.

Core Capabilities

  • API Discovery: Search for and explore ConnectWise API endpoints using keywords or natural language
  • Simplified API Execution: Execute API calls with friendly parameter handling and automatic error management
  • Fast Memory System: Save and retrieve frequently used API queries for more efficient workflows
  • Raw API Access: Send custom API requests with complete control over endpoints, methods, and parameters

Key Features

  • Database-Backed API Discovery: Uses a SQLite database built from the ConnectWise API definition JSON for fast, efficient endpoint lookups
  • Natural Language Search: Find relevant API endpoints using conversational descriptions of what you need
  • Categorized API Navigation: Browse API endpoints organized by functional categories
  • Detailed Documentation Access: View comprehensive information about API endpoints including parameters, schemas, and response formats
  • Adaptive Learning: The system learns which API calls are most valuable to you through usage tracking

Installation & Setup

Prerequisites

  • Python 3.10 or higher
  • Access to ConnectWise Manage API credentials
  • ConnectWise API definition file (manage.json) - included in the repository

Installation Steps

You can install the package directly from GitHub:

npm install -g jasondsmith72/CWM-API-Gateway-MCP

This method automatically handles all dependencies and provides a simpler configuration for Claude Desktop.

Option 2: Manual Installation

Windows
  1. Clone or download the repository:

    git clone https://github.com/jasondsmith72/CWM-API-Gateway-MCP.git
    cd CWM-API-Gateway-MCP
    
  2. Install the package:

    pip install -e .
    

macOS

For the NPM installation method, simply run:

npm install -g jasondsmith72/CWM-API-Gateway-MCP

For manual installation:

  1. Install Python 3.10+ if not already installed:

    # Using Homebrew
    brew install [email protected]
    
    # Or using pyenv
    brew install pyenv
    pyenv install 3.10.0
    pyenv global 3.10.0
    
  2. Clone the repository:

    git clone https://github.com/jasondsmith72/CWM-API-Gateway-MCP.git
    cd CWM-API-Gateway-MCP
    
  3. Set up a virtual environment (recommended):

    python3 -m venv venv
    source venv/bin/activate
    
  4. Install the package:

    pip install -e .
    

Linux (Ubuntu/Debian)

For the NPM installation method, simply run:

sudo npm install -g jasondsmith72/CWM-API-Gateway-MCP

For manual installation:

在 GitHub 查看完整 README

安装

npx -y @jasondsmith72/CWM-API-Gateway-MCP
新手?先看 mcpskill.org 教程 →

配置

{ "mcpServers": { "CWM-API-Gateway-MCP": { "command": "npx", "args": [ "-y", "@jasondsmith72/CWM-API-Gateway-MCP" ], "env": { "CONNECTWISE_API_URL": "https://na.myconnectwise.net/v4_6_release/apis/3.0", "CONNECTWISE_COMPANY_ID": "your_company_id", "CONNECTWISE_PUBLIC_KEY": "your_public_key", "CONNECTWISE_PRIVATE_KEY": "your_private_key", "CONNECTWISE_AUTH_PREFIX": "yourprefix+" } } } }