MCP ExplorerExplorer

Tm1mcp

@andreyeaon 9 months ago
1 MIT
FreeCommunity
AI Systems
MCP server for TM1

Overview

What is Tm1mcp

tm1mcp is a Python-based MCP server designed for controlling and interacting with IBM TM1 instances using any compatible large language model (LLM).

Use cases

Use cases for tm1mcp include automating data retrieval from TM1, integrating TM1 with other applications, and developing custom tools for enhanced TM1 functionality.

How to use

To use tm1mcp, clone the repository, install the required dependencies, configure the TM1 connection parameters in config.py, and run the server using the command ‘uv run main.py’.

Key features

Key features of tm1mcp include easy access to TM1 instances through MCP, a collection of useful TM1 tools and utilities, and a simple extension mechanism for adding custom tools.

Where to use

tm1mcp can be used in various fields that require data analysis, business intelligence, and financial modeling, particularly where IBM TM1 is utilized.

Content

alt text

TM1 MCP Server

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.

Tools

No tools

Comments

Recommend MCP Servers

View All MCP Servers