Documentation
MCP
Connect an MCP-capable client to Jetscale, what each of the server's read-only tools answers, and example questions to ask through them.
Jetscale exposes a Model Context Protocol
server, so a client that speaks MCP can query your Jetscale data in place. The
server uses the Streamable HTTP transport and is served at the /mcp path of
your Jetscale environment.
The tools it exposes are read-only. They answer questions about your accounts, discovered resources, costs, and recommendations; they do not change anything in Jetscale or in your cloud environment. Everything a tool returns is scoped to what your own Jetscale account can already see.
Before you start
You need two things:
- The MCP endpoint URL issued for your Jetscale environment. If you do not have it, ask support@jetscale.ai rather than guessing a hostname.
- A Jetscale account that can sign in. Authorization runs against your own account, so the client sees only what that account can already see.
The examples below use https://<your-jetscale-host>/mcp. Replace it with the
URL you were issued.
1. Add the server to your client
Most clients accept an HTTP MCP server as a URL entry:
{
"mcpServers": {
"jetscale": {
"url": "https://<your-jetscale-host>/mcp"
}
}
}
Where the configuration lives depends on the client, so follow your client's own MCP documentation for the file path or settings screen. Some clients also accept the same server from the command line, for example:
claude mcp add --transport http jetscale https://<your-jetscale-host>/mcp
For a client that does not support HTTP MCP servers directly, run a local bridge instead of the direct URL:
{
"mcpServers": {
"jetscale": {
"command": "npx",
"args": ["mcp-remote", "https://<your-jetscale-host>/mcp"]
}
}
}
The bridge needs Node.js available on the machine running the client. If you
already have an mcpServers block, add the jetscale entry inside it rather
than replacing the block.
2. Authorize
The endpoint uses OAuth 2.1 with the authorization code flow and PKCE. On the first connection the client opens a browser window; sign in with your Jetscale account and approve the request. The client then completes the exchange and stores its own token.
Restart the client if it does not pick up the new server, which some clients require after a configuration change.
3. Verify
The connection is working when your client lists the Jetscale server as connected and shows its tools as available. Ask it something that requires Jetscale data, such as which cloud accounts it can see, and confirm the answer matches what you expect for your account.
The tools
The catalog below describes the server's current tool set. Your environment may expose a subset, and the set evolves — the tool listing your connected client shows is the authoritative one for your account.
Accounts and inventory
| Tool | What it answers |
|---|---|
list_cloud_accounts | The cloud accounts you have access to, with provider and status. The starting point for every other tool, which takes a cloud account ID. |
list_discovered_resources | Resources discovered in an account: types, names, regions, and status. |
discover_resources | A resource inventory for an account, keyed by the provider's own resource identifiers. |
get_resources_count | Inventory counts for an account, so you can size an estate before drilling in. |
Recommendations and savings
| Tool | What it answers |
|---|---|
list_recommendations | Existing recommendations for an account, filterable by resource type or action type. It lists what has already been generated; it does not trigger new analysis. |
get_recommendation | The full detail and evidence behind a single recommendation. |
get_remediation | Read-only remediation context for a recommendation: where the remediation lives and any artifacts already prepared. |
get_open_recommendations | A summary of the open recommendations for an account. |
get_savings | A savings summary for an account. |
Cost
| Tool | What it answers |
|---|---|
get_cost_summary | Daily account-level cost from normalized billing line items. |
get_cost_breakdown | Cost broken down by service, usage type, and region. |
get_cost_drivers | The top service, category, and region cost drivers for a period. |
get_resource_costs | The top resource-level costs, keyed by provider resource ID. |
get_resource_cost_attribution | How cost rows map to individual resources, with confidence and unattributed-cost caveats. |
get_cost_usage | Cost usage grouped by category, from a separate dashboard source than the line-item tools. |
get_cost_data_freshness | Which cost data source an account uses and when it was last ingested. |
get_cost_line_item_coverage | How completely the normalized cost line items cover the account. |
get_cost_coverage_summary | Aggregate coverage and quality of the normalized cost evidence. |
Governance and health
| Tool | What it answers |
|---|---|
get_governance_gaps | Aggregate governance gap counts, across gap types such as encryption, monitoring, tagging, and public access. |
get_resources_by_gap | The resources behind one named gap type. |
get_governance_history | Historical governance gap snapshots for an account. |
get_governance_recent_changes | Recently changed non-compliant resources. |
get_resource_health_summary | An aggregate resource health summary for an account. |
get_resource_health_details | Resource health details, with links to validate each item. |
get_integration_status | The provider integration status for an account, with sensitive values redacted. |
Reading the results
- Coverage varies by provider and by account. Cost and governance tools do not have the same depth on every cloud, and an account whose data has not been ingested into a given view returns an empty result there. An empty result means that view has no data for that account — not that the account has no spend. Try the related tool in the same group, or ask support@jetscale.ai what your account's coverage should be.
- Listings are bounded.
list_recommendationsreturns at most 100 items per call, and responses report how many were available versus returned. When an account has more, narrow with the resource-type or action-type filters and combine the parts rather than trusting a single full page. - Time-bounded tools default to the last 30 days. Pass explicit start and end dates when the question is about a specific billing period, and keep the same window across calls you intend to compare.
Example questions
You do not call the tools directly; you ask your assistant a question and it chooses the tools. Questions that work well:
Which cloud accounts can you see through Jetscale?
List the open recommendations for our production AWS account and
total the estimated monthly savings.
Show me the full evidence behind recommendation <id>. What was
observed, and what change is proposed?
What drove costs in account <name> last month? Break it down by
service and region.
Which resources in our Azure account have tagging gaps?
How fresh is the cost data for account <name>, and how completely
does it cover the account?
Answers are only as good as the account's data coverage, so when a number matters — a savings total, a spend figure — ask the assistant which tool and which period the number came from, and verify it against your own billing data before you circulate it. How to review the findings themselves is covered in the recommendation workflow.
If the connection fails
- Confirm the URL matches the one you were issued, including the
/mcppath. - Confirm your client supports HTTP MCP servers. If it does not, use the bridge configuration above.
- Confirm you completed the browser sign-in and that the browser returned to the client.
- If the client reports a discovery or metadata error, capture the exact message.
Authorization metadata is published at
/.well-known/oauth-protected-resource/mcpand/.well-known/oauth-authorization-serveron the same host, and the message usually identifies which step failed.
Still stuck, or unsure which URL applies to your environment? Contact support@jetscale.ai.