mcp-trmm

mcp-trmm

3.2

If you are the rightful owner of mcp-trmm and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to henry@mcphub.com.

The mcp-trmm project is designed to interact with the Tactical Remote Monitoring and Management (RMM) API, create an SQLite3 database from the API schema, and enable Retrieval-Augmented Generation (RAG) to enhance interaction with the API.

The primary goal of the mcp-trmm project is to parse the RMM API schema, store it in an SQLite3 database, and use it to augment queries made to the live RMM API. This is accomplished using several components, which work together to parse the RMM API schema and store it in an SQLite3 database, forward API queries to a live production RMM API server, and provide an LLM-powered CLI interface for querying and retrieving paths from the RMM API. The project includes scripts for converting YAML to JSON, creating a database from the JSON schema, querying the database, and acting as a proxy server to forward requests to the live RMM API. Additionally, it provides a command-line interface for interacting with the RMM API using a Large Language Model (LLM).

Features

  • Schema Parsing: Converts RMM API schema from YAML to JSON and stores it in an SQLite3 database.
  • Database Querying: Allows searching for API endpoints in the SQLite3 database using keywords.
  • MCP Proxy Server: Forwards requests to the live RMM API server using the MCP protocol.
  • Retrieval-Augmented Generation: Enhances API interaction with intelligent querying using LLM.
  • Asynchronous Requests: Utilizes httpx for asynchronous HTTP requests to the production API.

Tools

  1. 00_convert_yaml_json.py

    Convert YAML files to JSON format

  2. 01_create_database.py

    Create SQLite3 database from JSON schema

  3. 02_query_database.py

    Search API endpoints in the database by keywords

  4. 02_debug_relay2RMM.py

    As a proxy server, query the local database and forward the request to the real-time API

  5. 03_mcpserver.py

    As an MCP proxy server, forward requests to the real-time RMM API

  6. 03_flaskapi.py

    Provides API endpoints for querying databases and forwarding requests

  7. 03_llm_cli__rag.py

    Provides an LLM-driven CLI interface for intelligent querying API paths