
Research
/Security News
Weaponizing Discord for Command and Control Across npm, PyPI, and RubyGems.org
Socket researchers uncover how threat actors weaponize Discord across the npm, PyPI, and RubyGems ecosystems to exfiltrate sensitive data.
@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.
[!NOTE] The server automatically loads environment variables from a
.env
file if present in the project root. You can create one by copyingdefault.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:
{
"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>"
}
}
}
}
}
[!TIP] If you have a
.env
file configured with your credentials, you can omit theenv
section from the configuration above as the server will automatically load the environment variables.
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 environment file by copying the default.env file and edit it accordingly.
cp default.env .env
Finally to verify everything works, run:
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 discovery of tools and prompts 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
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 4 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
Socket researchers uncover how threat actors weaponize Discord across the npm, PyPI, and RubyGems ecosystems to exfiltrate sensitive data.
Security News
Socket now integrates with Bun 1.3’s Security Scanner API to block risky packages at install time and enforce your organization’s policies in local dev and CI.
Research
The Socket Threat Research Team is tracking weekly intrusions into the npm registry that follow a repeatable adversarial playbook used by North Korean state-sponsored actors.