
Research
/Security News
Critical Vulnerability in NestJS Devtools: Localhost RCE via Sandbox Escape
A flawed sandbox in @nestjs/devtools-integration lets attackers run code on your machine via CSRF, leading to full Remote Code Execution (RCE).
@mia-platform/console-mcp-server
Advanced tools
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.
Client Secret Basic
authorization mode (the only one supported at this time)
the Client Secret Basic
one.miactl
installed you can run any command to login,
the same session will then be used by the mcp server to authenticate.[!WARNING] When using miactl session, auto-refresh by the MCP Server is not currently supported, once the session created with miactl expires you have to refresh it with miactl again.
[!IMPORTANT] When using miactl session, the host you provide to the MCP Server MUST be the exact same as the one you have logged in with miactl, including scheme and any possible trailing slash.
To run the MCP server on your machine you can follow the instructions in the Setup Documentation
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": {
"mia-platform-console": {
"command": "node",
"args": [
"${workspaceFolder}/mcp-server",
"start",
"--stdio",
"--host=https://console.cloud.mia-platform.eu"
],
"env": {
"MIA_PLATFORM_CLIENT_ID": "<YOUR_CLIENT_ID>",
"MIA_PLATFORM_CLIENT_SECRET": "<YOUR_CLIEND_SECRET>"
}
}
}
}
}
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:
npm ci
Once has finished you will have all the dependencies installed on the project, then you have to prepare an environent file by copying the default.env file and edit it accordingly.
cp default.env .env
Finally to verify everything works, run:
set -a && source .env
npm run local:test
If you are not targeting the Console Cloud installation you can use the --host
flag and specify your own host
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 tools discovery and calls without the needs of a working llm environment.
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>
FAQs
Mia-Platform Console MCP Server
The npm package @mia-platform/console-mcp-server receives a total of 15 weekly downloads. As such, @mia-platform/console-mcp-server popularity was classified as not popular.
We found that @mia-platform/console-mcp-server demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 6 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Research
/Security News
A flawed sandbox in @nestjs/devtools-integration lets attackers run code on your machine via CSRF, leading to full Remote Code Execution (RCE).
Product
Customize license detection with Socket’s new license overlays: gain control, reduce noise, and handle edge cases with precision.
Product
Socket now supports Rust and Cargo, offering package search for all users and experimental SBOM generation for enterprise projects.