Back to Home
mia-platform icon

console-mcp-server

by mia-platform

Overview

The Mia-Platform Console MCP Server provides integration with Mia-Platform Console APIs to enable advanced automation and interaction capabilities for developers and tools via the Model Context Protocol (MCP).

Installation

Run Command
npm run start

Environment Variables

  • CONSOLE_HOST
  • MIA_PLATFORM_CLIENT_ID
  • MIA_PLATFORM_CLIENT_SECRET
  • LOG_LEVEL
  • PORT
  • CLIENT_EXPIRY_DURATION

Security Notes

The server includes an `/mcp-internal` endpoint that explicitly bypasses authentication and proxies specified headers. While intended for use within a trusted network, its presence poses a significant security risk if the server is not deployed in a truly isolated and trusted environment, as it could expose sensitive APIs without proper authentication enforcement at the code level. Review of `miactl-cache.ts` shows file system interaction for loading deprecated local tokens; while `sha256` is used for cache paths, any potential manipulation of the `endpoint` leading to arbitrary file reads (though not immediately obvious with current hashing) warrants caution. Input validation is generally strong due to `zod` usage.

Similar Servers

Stats

Interest Score33
Security Score5
Cost ClassMedium
Avg Tokens500
Stars3
Forks2
Last Update2025-12-05

Tags

Mia-PlatformMCPAPI IntegrationAutomationDevelopment Tools