Console Mcp Server

io.github.mia-platform由 GitHub 帳號 mia-platform 發布v1.2.2更新於 Nov 2, 2026

The official MCP Server from Mia-Platform to interact with Mia-Platform Console

已驗證Streamable HTTP可網頁執行雲端與基礎設施開發者工具

概覽

AI 產生的概覽

Mia-Platform 官方 MCP 伺服器,讓助理連接 Mia-Platform Console API,在你設定的 Console 執行個體上進行自動化與互動。

可以做什麼
  • 連接 Mia-Platform Console 執行個體,將其 API 提供給助理進行自動化與互動。
  • 可用 Service Account(用戶端 ID 與密鑰)驗證,或透過 OAuth2.1 與動態用戶端註冊流程以個人憑證登入。
  • 可作為遠端 HTTP 端點、本機 Node.js stdio 程序,或執行於可設定埠號的本機 HTTP 服務。
  • README 未列出個別工具,可用操作取決於 Console 執行個體與帳號權限。
適用情境
適合在使用 Mia-Platform Console 時,希望由助理自動化或操作公司 Console 資源,而不必在網頁介面手動完成的情境。
執行需求
需要目標 Mia-Platform Console 執行個體上的有效帳號,並透過 CONSOLE_HOST(或 --host 參數)提供執行個體位址。使用 Service Account 時需 MIA_PLATFORM_CLIENT_ID 與 MIA_PLATFORM_CLIENT_SECRET。本機執行需 Node.js(npm ci、npm run build)或 Docker;可選 PORT、LOG_LEVEL、CLIENT_EXPIRY_DURATION。遠端用戶端需在 Authorization 標頭送出 bearer 權杖。
安裝前請注意
伺服器以所用帳號或 Service Account 的權限操作 Console 公司資源,可能變更實際資源;Service Account 對其建立所在的公司擁有完整存取權。請將 MIA_PLATFORM_CLIENT_SECRET 與 Authorization 權杖視為機密。動態註冊產生的用戶端會在 CLIENT_EXPIRY_DURATION(預設 300 秒)後過期。專案根目錄的 .env 檔會自動載入。

安裝

在 SourceWeft 中

  1. 開啟 儀表板中的 Console Mcp Server,將其新增到工作區。
  2. 連接 Authorization token 憑證。它們會被私密儲存,絕不會在公開頁面上展示。
  3. 為需要使用其工具的對話啟用該服務。

Web executable,透過 Streamable HTTP。 遠端服務在工作區中設定後即可從網頁執行環境執行。

交給代理程式安裝

把這段提示詞貼上到 Claude Code、Codex、Cursor 等代理程式,或 SourceWeft 對話中。代理程式會讀取該伺服器的安裝指南,先向你展示發布者、端點和登入方式,經你同意後再把它新增到你的客戶端。金鑰不會寫進任何命令。

閱讀 https://sourceweft.com/mcp/io.github.mia-platform%2Fconsole-mcp-server/install.md,並按其中說明把這個 MCP 伺服器接入我的客戶端。修改任何設定之前,先告訴我它的發布者、端點和登入方式,等我確認。不要把 API 金鑰寫進命令或我會提交的檔案;問我金鑰應從哪裡取得。

檢視代理程式所依據的安裝指南

其他 MCP 客戶端

把它新增到你客戶端的 mcpServers 設定中。

{
  "mcpServers": {
    "console": {
      "type": "http",
      "url": "https://console.cloud.mia-platform.eu/console-mcp-server/mcp",
      "headers": {
        "Authorization": "Bearer <YOUR_TOKEN>"
      }
    }
  }
}

README

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

To use the Mia-Platform Console MCP Server in your client (such as Visual Studio Code, Claude Desktop, Cursor, Gemini CLI or others), you first need to have a valid account on the Mia-Platform Console instance you want to communicate with. You will be required also to include the instance host address you in the environment variable named CONSOLE_HOST.

You may decide to access via:

  • Service Account to perform machine-2-machine authentication and have full access to the MCP capabilities to perform operations on the Company where the S.A. has been created (for more information, visit our official documentation on how to create a Mia-Platform Service Account). If you do so, you need to include the environment variables MIA_PLATFORM_CLIENT_ID and MIA_PLATFORM_CLIENT_SECRET.
  • Using your own credentials: Mia-Platform Console MCP Server follows the Model Context Protocol specifications on authentication using OAuth2.1 and Dynamic Client Registration: clients that follow that specifications will be able to discover the authentication endpoints of the selected Mia-Platform instance you want to access to and guide you to perform the log in.

How to Run

You can run stable versions of the Mia-Platform Console MCP Server using Docker. You can get detailed guide in the related page of the Mia-Platform documentation.

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

sh
npm cinpm run build

These commands will install all the dependencies and then transpile the typescript code in the build folder.

NOTE

The server automatically loads environment variables from a .env file if present in the project root. You can create one by copying default.env to .env and updating the values as needed.

Once these steps are completed you can setup the MCP server using the node command like the following:

json
{  "mcp": {    "servers": {      "mia-platform-console": {        "command": "node",        "args": [          "${workspaceFolder}/mcp-server",          "start",          "--stdio",          "--host=https://console.cloud.mia-platform.eu"        ]      }    }  }}

TIP

Alternatively, you start the service after the build with the following command:

sh
node mcp-server start

Then add the mcp server to your client simply including the url. As example for VS Code:

json
{  "mcp": {    "servers": {      "mia-platform-console": {        "type": "http",        "url": "http://localhost:3000/console-mcp-server/mcp"      }    }  }}

Instead of 3000, please include the port defined in the environment variable PORT. More detail in the Environment Variables section.

Environment Variables

Environment variables located inside a file named .env are automatically included at service startup.

Variable NameDescriptionRequiredDefault Value
LOG_LEVELLog level of the applicationNoinfo
PORTPort number for the HTTP serverNo3000
CONSOLE_HOSTThe host address of the Mia-Platform Console instanceYes-
MIA_PLATFORM_CLIENT_IDClient ID for Service Account authenticationNo-
MIA_PLATFORM_CLIENT_SECRETClient secret for Service Account authenticationNo-
CLIENT_EXPIRY_DURATIONDuration in seconds of clients generated with the DCR authentication flow. After this time, the client will be expired and cannot be used anylonger.No300

Local Development

To help with the development of the server you need Node.js installed on your machine.
The recommended 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:

sh
npm ci

Once has finished you will have all the dependencies installed on the project, then you have to prepare an environment file by copying the default.env file and edit it accordingly.

sh
cp default.env .env

Finally to verify everything works, run:

sh
npm run local:test

If you are not targeting the Console Cloud installation you can use the --host flag and specify your own host

sh
npm run local:test  -- --host https://CONSOLE_HOST

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 discovery of tools and prompts without the needs of a working llm environment.

To run tests for new implementations you can use:

sh
npm test

Or running a test for a single file run:

sh
node --test --import tsx <FILE_PATH>

來源:README.md,提交 18f6855

工具

0
SourceWeft 尚未讀取此伺服器的工具。

版本歷史

1
  1. v1.2.2最新Sep 16, 2026

評分

已滿足適用檢查項的 85%

該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。

  • 近 30 天內可連通必需25 分
  • 已宣告認證方式必需10 分
  • 已列出工具必需15 分

    請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。

  • 描述必需15 分
  • 圖示10 分
  • 文件15 分
  • 授權條款10 分