Cover image
Try Now
2025-04-14

Servidor MCP de consola de plataforma MIA

3 years

Works with Finder

1

Github Watches

0

Github Forks

1

Github Stars

Mia-Platform Console MCP Server

pipeline status license

Introduction

The Mia-Platform Console MCP Server is a Model Context Protocol (MCP) server that provides seamless integration with Mia-Platform Console APIs, enabling advanced automation and interaction capabilities for developers and tools.

Prerequisites

  1. To run the server in a container, you will need to have Docker installed.
  2. Once Docker is installed, you will also need to ensure Docker is running.
  3. Lastly you will need to Create a Mia-Platform Service Account. For now the only authentication method supported is the Client Secret Basic one.

Installation

VS Code

For manual installation, add the following JSON block to your User Settings (JSON) file in VS Code. You can do this by pressing Ctrl + Shift + P and typing Preferences: Open User Settings (JSON). Optionally, you can add it to a file called .vscode/mcp.json in your workspace.

Once you have done it, toggle Agent mode (located by the Copilot Chat text input) and the server will start.

Note that the mcp key is not needed in the .vscode/mcp.json file.

Also note that you can change the host of the Console instance to your custom installation

{
  "mcp": {
    "inputs": [
      {
        "type": "promptString",
        "id": "mia_client_id",
        "description": "Mia-Platform Client ID",
        "password": false
      },
      {
        "type": "promptString",
        "id": "mia_client_secret",
        "description": "Mia-Platform Client Secret",
        "password": true
      },
    ],
    "servers": {
      "mia-platform-console": {
        "command": "docker",
        "args": [
          "run",
          "-i",
          "--rm",
          "-e",
          "MIA_PLATFORM_CLIENT_ID",
          "-e",
          "MIA_PLATFORM_CLIENT_SECRET",
          "ghcr.io/mia-platform/console-mcp-server",
          "node",
          "build/index.js",
          "start",
          "--host=https://console.cloud.mia-platform.eu"
        ],
        "env": {
          "MIA_PLATFORM_CLIENT_ID": "${input:mia_client_id}",
          "MIA_PLATFORM_CLIENT_SECRET": "${input:mia_client_secret}",
        }
      }
    }
  }
}

More about using MCP server tools in VS Code's agent mode documentation.

Claude Desktop

{
  "mcpServers": {
    "mia-platform-console": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "-e",
        "MIA_PLATFORM_CLIENT_ID",
        "-e",
        "MIA_PLATFORM_CLIENT_SECRET",
        "ghcr.io/mia-platform/console-mcp-server",
        "node",
        "build/index.js",
        "start",
        "--host=https://console.cloud.mia-platform.eu"
      ],
      "env": {
        "MIA_PLATFORM_CLIENT_ID": "<YOUR_CLIENT_ID>",
        "MIA_PLATFORM_CLIENT_SECRET": "<YOUR_CLIEND_SECRET>",
      }
    }
  }
}

Run from sources

If you don't have Docker installed, you can use NPM and Node.js for running it locally. Once you have cloned the project you can run the commands:

npm ci
npm run build

These commands will install all the dependencies and then transpile the typescript code in the build folder.
Once these steps are completed you can setup the MCP server using the node command like the following:

{
  "mcp": {
    "servers": {
      "github": {
        "command": "node",
        "args": [
          "/path/to/the/project/build/index.js",
          "start",
          "--host=https://console.cloud.mia-platform.eu"
        ],
        "env": {
          "MIA_PLATFORM_CLIENT_ID": "<YOUR_CLIENT_ID>",
          "MIA_PLATFORM_CLIENT_SECRET": "<YOUR_CLIEND_SECRET>",
        }
      }
    }
  }
}

Local Development

To help with the development of the server you need Node.js installed on your machine.
The reccomended way is to use a version manager like nvm or mise.

Once you have setup your environment with the correct Node.js version declared inside the .nvmrc file you can run the following command:

npm ci

Once has finished you will have all the dependencies installed on the project, then you can run:

npm run local:test

This command will download and launch the MCP inspector on http://localhost:6274 where you can test if the implementation will work correctly testing the tools discovery and calls without the needs of a working llm environmnet.

To run tests for new implementations you can use:

npm test

Or running a test for a single file run:

node --test --import tsx <FILE_PATH>

相关推荐

  • av
  • Ejecute sin esfuerzo LLM Backends, API, frontends y servicios con un solo comando.

  • WangRongsheng
  • 🧑‍🚀 全世界最好的 llM 资料总结(数据处理、模型训练、模型部署、 O1 模型、 MCP 、小语言模型、视觉语言模型) | Resumen de los mejores recursos del mundo.

  • 1Panel-dev
  • 🔥 1Panel proporciona una interfaz web intuitiva y un servidor MCP para administrar sitios web, archivos, contenedores, bases de datos y LLM en un servidor de Linux.

  • rulego
  • ⛓️Rulego es un marco de motor de regla de orquestación de componentes de alta generación de alto rendimiento, de alto rendimiento y de alto rendimiento para GO.

  • hkr04
  • SDK liviano C ++ MCP (Protocolo de contexto del modelo)

  • sigoden
  • Cree fácilmente herramientas y agentes de LLM utilizando funciones Plain Bash/JavaScript/Python.

  • RockChinQ
  • 😎简单易用、🧩丰富生态 - 大模型原生即时通信机器人平台 | 适配 Qq / 微信(企业微信、个人微信) / 飞书 / 钉钉 / Discord / Telegram / Slack 等平台 | 支持 Chatgpt 、 Deepseek 、 DiFy 、 Claude 、 Gemini 、 Xai 、 PPIO 、 Ollama 、 LM Studio 、阿里云百炼、火山方舟、 Siliconflow 、 Qwen 、 Moonshot 、 Chatglm 、 SillyTraven 、 MCP 等 LLM 的机器人 / Agente | Plataforma de bots de mensajería instantánea basada en LLM, admite Discord, Telegram, WeChat, Lark, Dingtalk, QQ, Slack

  • modelscope
  • Iniciar aplicaciones de múltiples agentes empoderadas con Building LLM de manera más fácil.

  • evilsocket
  • El kit de desarrollo de agentes simples.

    Reviews

    3.7 (10)
    Avatar
    user_AsanXubJ
    2025-04-26

    As a loyal user of the console-mcp-server by mia-platform, I can confidently say it's an outstanding tool for managing multiple console applications seamlessly. The interface is intuitive, and it offers reliable performance and efficient process management. Highly recommend this for anyone looking to streamline their app console operations!

    Avatar
    user_BhQCgIIa
    2025-04-26

    As a loyal user of the console-mcp-server by Mia-Platform, I must say this product is a game-changer. User-friendly and robust, it streamlines server management effortlessly. The intuitive interface and seamless integration make it indispensable for efficient workflows. Highly recommend!

    Avatar
    user_RuRT9TGz
    2025-04-26

    As a dedicated user of the console-mcp-server by mia-platform, I am thoroughly impressed by its performance and reliability. The seamless integration and efficient server management have significantly streamlined my workflow. The user-friendly interface and comprehensive features make it an indispensable tool for any project. Highly recommended for anyone seeking a top-notch mcp application!

    Avatar
    user_xufTt2dF
    2025-04-26

    I've been using console-mcp-server by mia-platform, and it's simply amazing! The seamless integration and easy-to-use interface make server management hassle-free. High performance and reliability have always been its hallmark. Highly recommended for anyone serious about efficient server administration.

    Avatar
    user_PoRdWgV4
    2025-04-26

    The console-mcp-server by Mia-Platform is an absolute game-changer for managing microservices. Its seamless integration and user-friendly interface make it a must-have for any developer. The efficient monitoring and robust features have significantly improved our workflow. Highly recommended!

    Avatar
    user_zGKs4HU1
    2025-04-26

    As a dedicated user of the console-mcp-server by mia-platform, I've found it to be an outstanding tool for managing my cloud infrastructure. Its intuitive interface and powerful features streamline the deployment and monitoring processes. Highly recommended for anyone seeking efficient and reliable cloud server management.

    Avatar
    user_oRup5h0a
    2025-04-26

    As a loyal user of console-mcp-server by Mia-Platform, I find it indispensable for managing microservices. Its user-friendly interface and robust features streamline operations and enhance productivity. Highly recommended for anyone looking to efficiently oversee their microservices architecture!

    Avatar
    user_53iM8Kd1
    2025-04-26

    As a dedicated user of the console-mcp-server by mia-platform, I am thoroughly impressed by its performance and reliability. This server seamlessly manages all my application needs, ensuring a smooth and efficient experience. Highly recommended for anyone looking for a robust MCP solution!

    Avatar
    user_ja984ZBF
    2025-04-26

    As a dedicated user of console-mcp-server by Mia-Platform, I must say this product is fantastic. The seamless integration and robust performance have significantly enhanced our project management. Highly recommend it for anyone seeking a reliable MCP application.

    Avatar
    user_vpp293kp
    2025-04-26

    As a dedicated user of console-mcp-server by mia-platform, I must say this product has greatly enhanced my application management experience. The interface is intuitive, and the functionality is robust, allowing seamless server control. Highly recommend it to anyone looking for a reliable and efficient MCP solution!