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.

ParameterTypeRequiredDescription
providerstringnoFilter by provider name, e.g. aws, gcp, azure
regionstringnoFilter 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.

ParameterTypeRequiredDescription
typestringyesOne of vm, spot, k8s, volume, security-group
idintegeryesThe 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.

ParameterTypeRequiredDescription
windowstringnotoday, 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.

ParameterTypeRequiredDescription
severitystringnoReturn 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.

FlagDescription
--tokenRequired. An emma MCP key in the form emma_ak_<keyId>.<secret>; the server refuses to start with a missing or malformed key
--api-keyAlias for --token
--base-urlThe emma AI Console URL. Default https://iap.emma.ms
-h, --helpPrint 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

How is this guide?

Last updated on 24 Sept 2026

On this page