Cumulocity MCP Server logo

Cumulocity MCP Server

Organization
Cumulocity-IoT

A Python-based server that provides Cumulocity IoT platform functionality through the MCP (Model Control Protocol) interface.

PublisherCumulocity-IoT
Repositorycumulocity-mcp-server
LanguagePython
Forks
5
Stars
8
Available tools
0
Transport typestdio, streamable-http
Categories
LicenseApache-2.0
Links
  • Connect tools to AI workflows

    Cumulocity MCP Server exposes MCP capabilities that can be used by compatible AI clients and agents.

  • 0 available tools

    Browse the callable actions below, including names and descriptions when provided by the server.

  • Ready-to-copy setup

    Use the installation snippets to configure this server in your preferred MCP client.

  • Open source signals

    8 stars and 5 forks from the linked repository.

Cumulocity MCP Server

A Python-based server that provides Cumulocity IoT platform functionality through the MCP (Model Control Protocol) interface. This server enables seamless interaction with Cumulocity's device management, measurements, and alarm systems.

Available Tools

Device Management

  1. Get Devices

    • List and filter devices
    • Parameters:
      • type: Filter by device type
      • name: Filter by device name
      • page_size: Results per page (max 2000)
      • current_page: Page number
  2. Get Device by ID

    • Retrieve detailed information for a specific device
    • Parameter:
      • device_id: Device identifier
  3. Get Child Devices

    • View child devices of a specific device
    • Parameter:
      • device_id: Parent device identifier
  4. Get Device Fragments

    • Access device fragments and their values
    • Parameter:
      • device_id: Device identifier

Measurements

Get Device Measurements

  • Retrieve device measurements with time filtering
  • Parameters:
    • device_id: Device identifier
    • date_from: Start date (ISO 8601 format)
    • date_to: End date (ISO 8601 format)
    • page_size: Number of measurements to retrieve

Alarms

Get Active Alarms

  • Monitor active alarms in the system
  • Parameters:
    • severity: Filter by severity level
    • page_size: Number of results to retrieve

Dynamic Mapper

evaluate_jsonata_expression Evaluate a JSONata expression against a given JSON object.

Input: A JSON object as string and a JSONata expression string. Output: Result of the JSONata expression evaluation.

Installation & Deployment

Local Installation

Using uv (recommended)

When using uv no specific installation is needed for this package. We will use uvx to directly run mcp-server-c8y.

Using PIP

Alternatively you can install mcp-server-c8y via pip:

bash
pip install mcp-server-c8y

After installation, you can run it as a script using:

bash
python -m mcp_server_c8y

Deployment on Cumulocity Tenant

You can deploy this server as a Cumulocity microservice for direct integration with your tenant. This is done by uploading a special deployment package (mcp-server-c8y.zip) to your Cumulocity tenant.

Building the Microservice Deployment Package

  1. Ensure you have Docker and zip installed on your system.
  2. Run the provided build script to create the deployment package:
bash
./scripts/buildcontainer.sh

This will:

  • Build the Docker image for the microservice
  • Save the image as image.tar in the docker/ directory
  • Package image.tar and cumulocity.json into docker/mcp-server-c8y.zip

Deploying to Cumulocity

  1. Log in to your Cumulocity tenant as a user with microservice deployment permissions.
  2. Navigate to Administration > Ecosystem > Microservices.
  3. Click Add microservice and upload the mcp-server-c8y.zip file from the docker/ directory.
  4. Wait for the microservice to be deployed and started. You should see its status as "Available" once ready.
  5. The microservice will be accessible under your tenant's service URL, typically: https://<your-tenant>.cumulocity.com/service/mcp-server-c8y/mcp/

For more details on Cumulocity microservice deployment, see the official documentation.

Usage with Claude Desktop

This MCP Server can be used with Claude Desktop to enable Claude to interact with your Cumulocity IoT platform. Follow these steps to set it up:

  1. Download and install Claude Desktop

  2. Configure Claude Desktop to use this MCP Server:

    • Open Claude Desktop
    • Click on the Claude menu and select "Settings..."
    • Navigate to "Developer" in the left-hand bar
    • Click "Edit Config"
  3. Add the following configuration to your claude_desktop_config.json:

json
"mcpServers": {
  "mcp-c8y": {
    "command": "uvx",
    "args": [
      "mcp-server-c8y",
      "--transport",
      "stdio"
    ],
    "env": {
      "C8Y_BASEURL": "https://your-cumulocity-instance.com",
      "C8Y_TENANT": "your-tenant-id",
      "C8Y_USER": "<your-username>",
      "C8Y_PASSWORD": "<your-password>"
    }
  }
}

Replace the following placeholders with your actual values:

  • https://your-cumulocity-instance.com: Your Cumulocity instance URL
  • your-tenant-id: Your Cumulocity tenant ID
  • your-username: Your Cumulocity username
  • your-password: Your Cumulocity password
  1. Restart Claude Desktop

  2. You should now see a hammer icon in the bottom right corner of the input box. Click it to see the available Cumulocity tools.

For more detailed information about using MCP Servers with Claude Desktop, visit the official MCP documentation.

Cursor MCP Server Settings Example

If you are using Cursor and have deployed your MCP Server to a Cumulocity tenant, you can configure your MCP server connection with a .cursor/mcp.json file. Example (with sensitive data anonymized):

json
{
  "mcpServers": {
    "Cumulocity": {
      "url": "https://your-cumulocity-instance.com/service/mcp-server-c8y/mcp/",
      "headers": {
        "Authorization": "Basic <YOUR_BASE64_AUTH_TOKEN>"
      }
    }
  }
}
  • https://your-cumulocity-instance.com: Your Cumulocity instance URL
  • Replace <YOUR_BASE64_AUTH_TOKEN> with your actual Base64-encoded credentials. Never commit real credentials to version control.

Contributing

We welcome contributions from everyone! Here's how you can contribute to this project:

  1. Fork the repository
  2. Create a new branch for your feature or bugfix
  3. Make your changes following these best practices:
    • Write clear, descriptive commit messages
    • Follow the existing code style and conventions
    • Add tests for new features
    • Update documentation as needed
    • Ensure all tests pass
  4. Submit a pull request

Installation

TypingMind
Prerequisites:

Node.js 18+

{
  "mcpServers": {
    "cumulocity-iot-cumulocity-mcp-server": {
      "command": "",
      "args": []
    }
  }
}

Use Cumulocity MCP Server MCP with multiple AI models

TypingMind connects MCP tools at the workspace level, so once Cumulocity MCP Server is connected, you can use it with different AI models in TypingMind instead of setting it up separately for each model. You can run MCP locally on your device or connect to a remote MCP server URL.

Option 1: Use the local connector

Use this when the MCP server needs access to local files, apps, or private resources on your computer.

1

Open the MCP settings

In TypingMind, go to Settings, Advanced Settings, then Model Context Protocol and choose Setup Connector.

  1. Open TypingMind in your browser.
  2. Click the Settings icon.
  3. Go to Advanced Settings.
  4. Open the Model Context Protocol section.
  5. Click Setup Connector and choose This Device.
TypingMind MCP connector setup screen with This Device selected
2

Run the connector command

Choose This Device, copy the command from TypingMind, and run it in Terminal. Keep the process running while you use MCP.

  1. Copy the setup command shown by TypingMind.
  2. Open Terminal on macOS or Windows Terminal on Windows.
  3. Paste and run the command.
  4. Approve the package install if Terminal asks you to proceed.
  5. Keep the Terminal window running while using MCP tools.
3

Add Cumulocity MCP Server as a server

When the connector status is Ready, click Edit Servers and paste the MCP server configuration.

  1. Wait until the connector status shows Ready.
  2. Click Edit Servers.
  3. Paste the Cumulocity MCP Server MCP server configuration.
  4. Save the server list.
  5. Refresh if you want to confirm the connector is still ready.
TypingMind MCP settings showing active server and Edit Servers button
{
  "mcpServers": {
    "cumulocity-iot-cumulocity-mcp-server": {
      "command": "npx",
      "args": [
        "-y",
        "mcp_server_c8y"
      ]
    }
  }
}
4

Use it across models

Save the server list, open Plugins, enable the Cumulocity MCP Server MCP tools, then select any supported AI model in TypingMind and use the tools in chat or assign them to an AI agent.

  1. Open the Plugins page in TypingMind.
  2. Enable the Cumulocity MCP Server MCP tools.
  3. Start a chat and choose the AI model you want to use.
  4. Use the MCP tools in chat or assign them to an AI agent.
  5. Switch to another AI model whenever needed without reconnecting MCP.
TypingMind chat using enabled MCP tools with a selected AI model
Can you use Cumulocity MCP Server to help me with this task?
Cumulocity MCP Server
Sure. I read it.
Here is what I found using Cumulocity MCP Server.

Option 2: Add an MCP server URL

Use this when Cumulocity MCP Server is already hosted remotely or your team wants one shared connector that multiple users can access.

1

Open MCP connectors

In TypingMind, go to Plugins, open MCP connectors, then choose Add URL.

  1. Open TypingMind in your browser.
  2. Go to Plugins.
  3. Open MCP connectors.
  4. Click Add URL.
TypingMind Add Custom MCP Server URL form
2

Paste the server URL

Enter your server URL in the Server URL field. Add a connection name, description, icon, custom HTTP headers, or OAuth client settings if the server requires them.

  1. Paste your server URL into the Server URL field.
  2. Enter a connection name for Cumulocity MCP Server.
  3. Add a description and icon if you want it to be easier to identify.
  4. Add custom HTTP headers or OAuth client details if the server requires authentication.
3

Create the connection

Click Create connection, then return to the Plugins list and confirm the new MCP connection is active.

  1. Click Create connection.
  2. Return to the MCP connectors list.
  3. Confirm the Cumulocity MCP Server connection appears as active.
  4. Refresh the plugin list if the connection does not appear immediately.
4

Switch models without reconnecting

Start a chat with your preferred model, enable the Cumulocity MCP Server tools from Plugins, and switch to another model whenever needed. The MCP connection stays available to the TypingMind workspace.

  1. Start a new chat in TypingMind.
  2. Select the AI model you want to use.
  3. Enable the Cumulocity MCP Server tools from Plugins.
  4. Ask the model to use the tool when needed.
  5. Switch to another AI model and reuse the same MCP connection.
TypingMind chat using enabled MCP tools with a selected AI model
Can you use Cumulocity MCP Server to help me with this task?
Cumulocity MCP Server
Sure. I read it.
Here is what I found using Cumulocity MCP Server.

Frequently asked questions

What is the Cumulocity MCP Server MCP server used for?

Cumulocity MCP Server is an MCP server that lets compatible AI clients connect to external tools and context. In TypingMind, you can add this MCP server once and make its tools available in your AI workspace.

Can I use Cumulocity MCP Server MCP with multiple AI models in TypingMind?

Yes. TypingMind connects MCP tools at the workspace level, so you can use Cumulocity MCP Server with different AI models such as Claude, ChatGPT, Gemini, or other models you have configured in TypingMind without setting up the MCP server separately for each model.

Why use Cumulocity MCP Server MCP with TypingMind?

TypingMind is one of the best frontends for LLM chat because it brings multiple AI models, prompts, plugins, AI agents, API keys, and MCP tools into one workspace. With Cumulocity MCP Server connected, you can use its MCP tools across your preferred models while keeping your chat workflow organized in TypingMind.

How do I connect Cumulocity MCP Server MCP to TypingMind?

Cumulocity MCP Server can be connected in TypingMind with the local MCP connector or by adding a remote MCP server URL. Use the local connector when the server needs access to files, apps, or private resources on your device, and use a server URL when the MCP server is hosted remotely.

What tools does Cumulocity MCP Server MCP provide in TypingMind?

Cumulocity MCP Server exposes MCP capabilities that can be enabled from the TypingMind Plugins page and used in chat or assigned to AI agents.

Do I need to share my API keys with TypingMind to use Cumulocity MCP Server MCP?

No. TypingMind is local-first and lets you keep your model providers, API keys, prompts, and MCP configuration under your control. If Cumulocity MCP Server requires authentication, add the required headers, OAuth settings, or local configuration for that MCP server when you create the connection.

Related MCP Servers

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇