Sponsored by Deepsite.site

🔌 Itential - MCP Server

Created By
itential7 months ago
🔌 Itential Platform MCP Server
Content

License: GPL v3 Python Version Build Status Code Style

🔌 Itential - MCP Server

A Model Context Protocol (MCP) server that provides tools for connecting LLMs to Itential Platform. Enable AI assistants to manage network automations, orchestrate workflows, and monitor platform health.

📒 Features

  • Multiple Transport Methods: Choose between stdio (default) or SSE transport for MCP server
  • Dynamic Tool Loading: Automatically discovers and registers tools without modifying core code
  • Flexible Authentication: Supports both basic authentication and OAuth for Itential Platform
  • Configurable: Set options via command line parameters or environment variables
  • Containerized: Run as a Docker container with configurable environment
  • Extensible: Easy to add new tools without deep knowledge of the code base

🔍 Requirements

🔧 Installation

The itential-mcp application can be installed using either PyPI or it can be run directly from source.

PyPI Installation

To install it from PyPI, simply use pip:

pip install itential-mcp

Local Development

The repository can also be clone the repository to your local environment to work with the MCP server. The project uses uv and make so both tools would need to be installed and available in your environment.

The following commands can be used to get started.

git clone https://github.com/itential/itential-mcp
cd itential-mcp
make build

Build Container Image

Build and run as a container:

# Build the container image
make container

# Run the container with environment variables
docker run -p 8000:8000 \
  --env ITENTIAL_MCP_TRANSPORT=sse \
  --env ITENTIAL_MCP_HOST=0.0.0.0 \
  --env ITENTIAL_MCP_PORT=8000 \
  --env ITENTIAL_MCP_PLATFORM_HOST=URL \
  --env ITENTIAL_MCP_PLATFORM_CLIENT_ID=CLIENT_ID \
  --env ITENTIAL_MCP_PLATFORM_CLIENT_SECRET=CLIENT_SECRET \
  itential-mcp:devel

📝 Basic Usage

Start the MCP server with default settings (stdio transport):

itential-mcp --transport --host 0.0.0.0 --port 8000

Start with SSE transport:

itential-mcp --transport sse --host 0.0.0.0 --port 8000

Server Options

OptionDescriptionDefault
--transportTransport protocol (stdio or sse)stdio
--hostHost address to listen onlocalhost
--portPort to listen on8000
--log-levelLog level (DEBUG, INFO, WARNING, ERROR, CRITICAL)INFO

Platform Configuration

OptionDescriptionDefault
--platform-hostItential Platform hostnamelocalhost
--platform-portPlatform port (0 = auto-detect)0
--platform-disable-tlsDisable TLS for platform connectionfalse
--platform-disable-verifyDisable certificate verificationfalse
--platform-timeoutConnection timeout30
--platform-userUsername for authenticationadmin
--platform-passwordPassword for authenticationadmin
--platform-client-idOAuth client IDnone
--platform-client-secretOAuth client secretnone

Environment Variables

All command line options can also be set using environment variables prefixed with ITENTIAL_MCP_. For example:

export ITENTIAL_MCP_TRANSPORT=sse
export ITENTIAL_MCP_PLATFORM_HOST=platform.example.com
itential-mcp  # Will use the environment variables

💡 Available Tools

The MCP server provides the following tools for interaction with Itential Platform:

System Tools

  • get_health: Retrieve platform health status including memory, CPU usage, and service status

Workflow Engine Tools

  • get_job_metrics: Get aggregated workflow job metrics
  • get_task_metrics: Get aggregated workflow task metrics

Workflow Management Tools

  • get_workflows: List available workflows (with optional filtering)
  • start_workflow: Start a workflow with provided variables and permissions

🛠️ Adding new Tools

Adding a new tool is simple:

  1. Create a new Python file in the src/itential_mcp/tools/ directory or add a function to an existing file
  2. Define an async function with a Context parameter annotation:
from fastmcp import Context

async def my_new_tool(ctx: Context) -> dict:
    """
    Description of what the tool does

    Args:
        ctx (Context): The FastMCP Context object

    Returns:
        dict: The response data

    Raises:
        None
    """
    # Get the platform client
    client = ctx.request_context.lifespan_context.get("client")

    # Make API requests
    res = await client.get("/your/api/path")

    # Return JSON-serializable results
    return res.json()

Tools are automatically discovered and registered when the server starts.

Running Tests

Run the test suite with:

make test

For test coverage information:

make coverage

Contributing

Contributions are welcome! Please read our Code of Conduct before contributing.

  1. Fork the repository
  2. Create a feature branch: git checkout -b feature/my-feature
  3. Commit your changes: git commit -am 'Add new feature'
  4. Push to the branch: git push origin feature/my-feature
  5. Submit a pull request

Before submitting:

  • Run make premerge to ensure tests pass and code style is correct
  • Add documentation for new features
  • Add tests for new functionality

License

This project is licensed under the GNU General Public License v3.0 - see the LICENSE file for details.

Copyright (c) 2025 Itential, Inc

Recommend Servers
TraeBuild with Free GPT-4.1 & Claude 3.7. Fully MCP-Ready.
MCP AdvisorMCP Advisor & Installation - Use the right MCP server for your needs
CursorThe AI Code Editor
Serper MCP ServerA Serper MCP Server
DeepChatYour AI Partner on Desktop
MiniMax MCPOfficial MiniMax Model Context Protocol (MCP) server that enables interaction with powerful Text to Speech, image generation and video generation APIs.
Zhipu Web SearchZhipu Web Search MCP Server is a search engine specifically designed for large models. It integrates four search engines, allowing users to flexibly compare and switch between them. Building upon the web crawling and ranking capabilities of traditional search engines, it enhances intent recognition capabilities, returning results more suitable for large model processing (such as webpage titles, URLs, summaries, site names, site icons, etc.). This helps AI applications achieve "dynamic knowledge acquisition" and "precise scenario adaptation" capabilities.
Howtocook Mcp基于Anduin2017 / HowToCook (程序员在家做饭指南)的mcp server,帮你推荐菜谱、规划膳食,解决“今天吃什么“的世纪难题; Based on Anduin2017/HowToCook (Programmer's Guide to Cooking at Home), MCP Server helps you recommend recipes, plan meals, and solve the century old problem of "what to eat today"
Visual Studio Code - Open Source ("Code - OSS")Visual Studio Code
Amap Maps高德地图官方 MCP Server
AiimagemultistyleA Model Context Protocol (MCP) server for image generation and manipulation using fal.ai's Stable Diffusion model.
ChatWiseThe second fastest AI chatbot™
BlenderBlenderMCP connects Blender to Claude AI through the Model Context Protocol (MCP), allowing Claude to directly interact with and control Blender. This integration enables prompt assisted 3D modeling, scene creation, and manipulation.
TimeA Model Context Protocol server that provides time and timezone conversion capabilities. This server enables LLMs to get current time information and perform timezone conversions using IANA timezone names, with automatic system timezone detection.
Context7Context7 MCP Server -- Up-to-date code documentation for LLMs and AI code editors
WindsurfThe new purpose-built IDE to harness magic
Tavily Mcp
Playwright McpPlaywright MCP server
EdgeOne Pages MCPAn MCP service designed for deploying HTML content to EdgeOne Pages and obtaining an accessible public URL.
Baidu Map百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
Jina AI MCP ToolsA Model Context Protocol (MCP) server that integrates with Jina AI Search Foundation APIs.