Skip to main content
Glama

AMP Control MCP

A Windows stdio MCP server for an operator's CubeCoders AMP controller. It can inspect allowlisted instances and perform explicitly requested application starts and stops. AMP credentials are stored in Windows Credential Manager for the Windows user running the server.

Download the source from GitHub or run git clone https://github.com/brian-dabrowski/amp-control.git.

Setup

  1. Use Windows, Node.js 20 or later, npm, and Windows PowerShell 5.1. Run these commands from the directory containing package.json:

    npm ci
    npm run build
  2. In your AMP controller, create a dedicated account with access only to the instances you want to manage. Start with the privileges needed to list instances, open their management sessions, and read status. Grant application start or stop permissions only if you intend to use those tools. For an instance managed by ADS, use the controller URL and the exact AMP InstanceName shown in the controller, which may differ from the display name.

  3. From an interactive Windows terminal running as the same user as your MCP client, run the following using your own HTTPS controller origin. Enter your AMP username and password at the local prompts. The password is masked. Use a certificate trusted by the local Node.js runtime.

    npm run setup -- https://amp.example.com

    The setup command prints the Credential Manager entry name and verifies the stored credential. It keeps any existing entry in place. To rotate, remove that exact entry under Credential Manager → Windows Credentials → Generic Credentials, then rerun setup. AMP login credentials come from your own controller. This MCP uses no cloud vault or cloud API key.

  4. Register the MCP with your client. Set the two non-secret settings on the server process. The first name is the default. Names are case sensitive and must start with a letter or digit. They may contain letters, digits, dots, underscores, or hyphens, up to 128 characters.

    Example from the built checkout using the Codex CLI:

    $server = (Resolve-Path .\dist\server.mjs).Path
    codex mcp add amp_control --env 'AMP_CONTROLLER_ORIGIN=https://amp.example.com' --env 'AMP_INSTANCE_NAMES=GameServer01,GameServer02' -- node $server

    For another stdio client, use node as the command, the absolute path to dist/server.mjs as the sole argument, and the same two environment values. The process also needs the normal Windows LOCALAPPDATA environment variable. Restart the client or start a fresh session after registering it.

  5. Call amp_list_instances, then amp_get_instance_status for one exact instance name. A daemon-down observation is marked non-authoritative. An empty inventory can mean the configured names do not match or the AMP account cannot see them.

Related MCP server: Windows Admin MCP

Operator and assistant guidance

  • Ask for the controller's HTTPS origin and intended instance names. Have the operator type credentials into the setup terminal. Keep credentials out of chat, MCP configuration, command arguments, environment variables, and repository files.

  • Validate with status calls. Use the workflow in the bundled skill for explicit lifecycle requests. Routine stop blocks when the authoritative active user count is unknown or positive. The separate active user stop workflow requires an expiring challenge and explicit confirmation of the exact count.

  • A missing credential usually means the client is running under a different Windows account or the exact configured HTTPS origin differs from the one used at setup. Match those first.

  • If PowerShell blocks the helper because a trusted downloaded archive is marked as coming from the internet, review the source, then unblock that individual helper file or use a Git clone. Keep normal PowerShell and TLS protections enabled.

Development

Run npm test. The suite includes a bundled stdio handshake and a local Credential Manager round trip with synthetic credentials. Build outputs are generated locally.

Licensed under the MIT License.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    Related MCP Connectors

    Related MCP Servers