MCP tools reference
The four read-only tools the emma MCP server exposes to your AI client, their parameters, and the server's command-line flags.
The emma MCP server exposes your infrastructure to any MCP-compatible AI client (Claude Desktop, Cursor, your own agent) as a set of tools. There are four, all read-only.
Set up the server first — see Connect the MCP server. Every tool is scoped to the company of the key you start the server with.
Resources
emma_list_resources
Lists the VMs, spot instances, Kubernetes clusters, and volumes across the providers your emma account manages. Both filters are optional and match a case-insensitive substring.
| Parameter | Type | Required | Description |
|---|---|---|---|
provider | string | no | Filter by provider name, e.g. aws, gcp, azure |
region | string | no | Filter by region or location name, e.g. us-east-1 |
Returns a list of resources (id, name, type, status, provider, region, costMonthly) plus any
warnings. There is no filter by resource type.
Example: emma_list_resources(region: "eu-central")
emma_get_resource
Returns the full record of one resource. Use emma_list_resources first to find its id.
| Parameter | Type | Required | Description |
|---|---|---|---|
type | string | yes | One of vm, spot, k8s, volume, security-group |
id | integer | yes | The numeric resource id (a positive integer) |
Example: emma_get_resource(type: "vm", id: 28911)
Cost
emma_get_cost
Returns the cost trend for your emma-managed infrastructure, one data point per day.
| Parameter | Type | Required | Description |
|---|---|---|---|
window | string | no | today, 7d (default), or 30d |
Security
emma_get_security_findings
Returns the findings from the latest cloud security scan: counts per severity and the top findings.
| Parameter | Type | Required | Description |
|---|---|---|---|
severity | string | no | Return only findings of exactly this severity: critical, high, medium, low, or info. Omit for all |
The filter is an exact match, not a minimum: high returns high findings only, not critical ones.
Server flags
These are flags of the server process, set once in your MCP client's config — not per-tool parameters.
| Flag | Description |
|---|---|
--token | Required. An emma MCP key in the form emma_ak_<keyId>.<secret>; the server refuses to start with a missing or malformed key |
--api-key | Alias for --token |
--base-url | The emma AI Console URL. Default https://iap.emma.ms |
-h, --help | Print usage |
The server does not read the key from an environment variable, and there is no output-format flag.
The server has no write tools: nothing it exposes can create, change, or delete infrastructure. Changes go through the console, where Safety & confirmations applies.
See also
Last updated on 24 Sept 2026