TM1 MCP Server

by andreyea

287 downloads Not rated yet
GitHub

About

A Python-based Model Context Protocol (MCP) server that enables compatible LLMs to control and interact with IBM TM1 instances. It provides easy access to TM1 through MCP, a collection of useful TM1 tools and utilities, and a simple mechanism for adding custom tools.

Explore

- Easy access to TM1 instances through MCP
- Collection of useful TM1 tools and utilities
- Simple extension mechanism for adding custom tools

Setting up with Highlight

This MCP is not yet compatible with Highlight’s one-click setup. However, you can still use it with Highlight by following these steps:

  1. Download and install Highlight from highlightai.com/download
  2. Navigate to the plugins tab and select "Add Custom Plugin"
  3. Configure the plugin with the settings below
    Plugin Name TM1 MCP Server
    Command (node, npx, python, etc.)

    Please refer to the README for specific instructions on how to obtain API keys or other required environment variables.

  4. Enable "Start Automatically" if you want the plugin to start when Highlight launches

From the repository

- Python 3.12+
- TM1 instance accessible via TM1py
- Dependencies as specified in pyproject.toml
- uv

Claude Desktop / Cursor

Paste into your MCP client config file to install this server.

{
    "mcpServers": {
        "tm1 mcp server": {
            "tm1mcp": {
                "command": "uv",
                "args": [
                    "run",
                    "main.py"
                ]
            }
        }
    }
}

McpServers

{
    "tm1mcp": {
        "command": "uv",
        "args": [
            "run",
            "main.py"
        ]
    }
}

A Python-based project that provides a MCP server for controlling and interacting with IBM TM1 instances using any compatible LLM

Features

- Easy access to TM1 instances through MCP
- Collection of useful TM1 tools and utilities
- Simple extension mechanism for adding custom tools

Requirements

- Python 3.12+
- TM1 instance accessible via TM1py
- Dependencies as specified in pyproject.toml
- uv

Installation

1. Clone this repository
2. Install dependencies

Configuration

Modify the TM1 connection parameters in config.py as required

Usage

Run the server:

uv run main.py

Run MCP inspector:

mcp dev main.py

Sample config for Claude Desktop (%APPDATA%/Claude/claude_desktop_config.json)
Note: Update directory arg where you save this project

{
  "mcpServers": {
    "tm1": {
      "command": "uv",
      "args": [
        "--directory",
        "/ABSOLUTE/PATH/TO/TM1MCP",
        "run",
        "main.py"
      ]
    }
  }
}

Extending

Add new tools by:

1. Creating new modules in the tools/ directory
2. Decorating functions with @mcp.tool()
3. Importing your modules in main.py

Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

No reviews yet — be the first

Sign in to leave a review

Use Google, GitHub, or an email account so ratings stay tied to real people.

Email sign in

No reviews posted yet.