Cloudmon MCP Server: Connect AI Clients with an API Key

MCP Server

AI

MCP Server

Connect external AI clients to Cloudmon with a personal API key, and manage which AI providers can receive your monitoring data.

Overview

The Cloudmon MCP Server lets external AI clients, such as claude.ai, Claude Desktop, Claude Code, Cursor, GitHub Copilot, and Gemini CLI, connect to your Cloudmon environment. Each connection is made with an API key that you create. A key connects one external client to Cloudmon as you, and you can revoke it at any time to disconnect that client immediately.

API keys and data sharing consents are managed per user from your profile, so each user creates and controls their own keys.

Cloudmon MCP Server: connection flow
STEP 1
Create API key
Profile > MCP API Keys > Create Key
STEP 2
Copy details
Shown only once. Copy before Done
STEP 3
Add to AI client
Server URL, header, or local variable
RESULT
Client connected
Cloudmon data is available to the AI
Revoke a key to disconnect its client immediately. To reconnect, create a new key and start again from Step 1.

Opening the MCP Settings

  1. Click your user icon in the top navigation bar.
  2. Select Edit Profile.
  3. Click MCP API Keys at the end of the form. The MCP Server - API Keys & Consents window opens, with a section for API Keys and a section for Data Sharing Consents.

Creating an API Key

  1. In the API Keys section, click Create Key.
  2. Enter a Label for the key. The label is required and can be up to 64 characters. Use a descriptive name, such as the name of the client and who uses it, so you know which client the key belongs to.
  3. Click Create. Cloudmon creates the key and shows the connection details.
  4. Click Copy to copy the URL, and paste it into the Server URL field of the connector in your AI client.
  5. If your client asks for a header or an API key field instead of a URL, expand Client asks for a header or an API key field instead of a URL?. It shows the API key on its own, with a Copy button, and the settings for header-based and local clients described in Connecting a Client.
  6. Click Done to hide the values.
⚠️

Important: the connection details are shown only once, when the key is created. Copy them before you click Done. If you did not copy them, revoke the key and create a new one.

Connecting a Client

Use the connection details that match your client. Replace <cloudmon-address> with the address of your Cloudmon, and <key> with the API key.

ClientWhat to use
A connector with a Server URL fieldPaste the full URL shown when the key is created into the Server URL field. The URL has the form https://<cloudmon-address>/mcp/<key>.
Header-based clients, such as Copilot or Gemini CLIUse the Server URL https://<cloudmon-address>/mcp, and send the key in an authorization header: Authorization: Bearer <key>.
Claude Desktop or Claude Code (local)Set the environment variable CLOUDMON_API_KEY=<key> to the key.

For the steps to add an MCP server in each client, see the client's own documentation:

Managing API Keys

Your keys are listed in the API Keys section.

ColumnDescription
LabelThe label you entered when you created the key.
CreatedThe date and time the key was created.
Last UsedWhen a client last used the key. A dash means the key has not been used yet.
ActionsThe delete icon, used to revoke the key.

Use the search box to find a key by label. To revoke a key, click its delete icon. Revoking a key disconnects any client using it immediately. To reconnect that client, create a new key and add the new connection details to the client.

Data Sharing Consents

The Data Sharing Consents section lists the AI providers you have approved to receive your live monitoring data during AI chat. Each provider shows the date you approved it.

To withdraw your approval, click Revoke beside the provider. After a provider is revoked, you are asked to approve it again before your next conversation.

Troubleshooting

IssueWhat to check
The connection details were not copiedThey are shown only once. Revoke the key and create a new one.
A client stopped connectingCheck the API Keys list to confirm the key still exists. A revoked key disconnects its client immediately, and the client needs a new key.
An AI provider asks for approval againRevoking a provider under Data Sharing Consents means you must approve it again before the next conversation.