Skip to main content

Krutrim Cloud MCP Server

Use Krutrim Cloud from VS Code, Cursor, Claude Desktop, Claude Code, or Codex. The local stdio server provides 186 tools for discovery and controlled operations across compute, networking (including load balancers and certificates), storage, Kubernetes, KPods, VM Sandbox, and IAM (read-only).

Install

Run the pinned package without installing it into your current Python environment:

uvx krutrim-mcp-server@1.0.16 --version

Python virtual environment

python3 -m venv .venv
source .venv/bin/activate
python -m pip install krutrim-mcp-server==1.0.16
python -m krutrim_mcp_server --version

On Windows, activate with .venv\Scripts\activate.

Connect locally

Create a key in Krutrim Cloud Console → Administration → API keys → Create API Key. Configure KRUTRIM_API_KEY with the raw key, without a Bearer prefix or surrounding spaces. Keep keys private and restart the MCP client after changing the key.

Create an API key with curl or Postman

Use POST https://cloud.olakrutrim.com/iam/v1/apikey with an authorized Cloud Console access token. This token is for key creation only; MCP uses the resulting API key, not the Console token.

With KRUTRIM_CONSOLE_ACCESS_TOKEN set privately:

curl --request POST 'https://cloud.olakrutrim.com/iam/v1/apikey' \
  --header "Authorization: Bearer ${KRUTRIM_CONSOLE_ACCESS_TOKEN}" \
  --header 'Content-Type: application/json' \
  --header 'x-region: In-Hyderabad-1' \
  --data '{"apiKeyName":"mcp-key"}'

In Postman, import this curl request, set Authorization → Bearer Token to your Console access token, and send the JSON body. Browser cookies are not needed. Store the returned secretKey securely and use it as KRUTRIM_API_KEY.

VS Code

Use .vscode/mcp.json; the masked prompt keeps the key out of the file:

{
  "servers": {
    "krutrim-cloud": {
      "type": "stdio",
      "command": "uvx",
      "args": ["krutrim-mcp-server@1.0.16"],
      "env": {
        "KRUTRIM_API_KEY": "${input:krutrim-api-key}"
      }
    }
  },
  "inputs": [
    {
      "id": "krutrim-api-key",
      "type": "promptString",
      "description": "Krutrim Cloud API key",
      "password": true
    }
  ]
}

Cursor or Claude Desktop

Use your client's private MCP configuration:

{
  "mcpServers": {
    "krutrim-cloud": {
      "command": "uvx",
      "args": ["krutrim-mcp-server@1.0.16"],
      "env": {
        "KRUTRIM_API_KEY": "YOUR_KRUTRIM_API_KEY"
      }
    }
  }
}

Codex

Add this to your private ~/.codex/config.toml:

[mcp_servers.krutrim-cloud]
enabled = true
command = "uvx"
args = ["krutrim-mcp-server@1.0.16"]

[mcp_servers.krutrim-cloud.env]
KRUTRIM_API_KEY = "YOUR_KRUTRIM_API_KEY"

For a virtual environment or local checkout, replace command with the absolute path to .venv/bin/python and args with ["-m", "krutrim_mcp_server"]. On Windows, use .venv\Scripts\python.exe. No environment-cleanup wrapper is needed.

Use the tools

List resources, select exact identifiers and a supported region (In-Bangalore-1 or In-Hyderabad-1), then confirm changes. Examples:

List my VPCs in In-Bangalore-1.
List IAM users.
Show VM Sandbox flavors in In-Hyderabad-1 before creating a VM Sandbox.
Goal Start with
Create a VPC list_vpcs, then create_vpc
Create a VM list_vpcs, list_subnets, and list_compute_flavors
Allocate a floating IP describe_vpc, then create_floating_ip
Create a KPod list_kpod_flavors and list_kpod_templates
Create a VM Sandbox list_vm_sandbox_flavors and list_vm_sandbox_templates in In-Hyderabad-1
Manage storage list_volumes, list_volume_types, or list_buckets
View IAM list_iam_users, list_iam_groups, and list_iam_roles

Mutations require confirm=true, as a boolean. Floating-IP allocation also requires allow_public_ip=true. Set KRUTRIM_MCP_READ_ONLY=true to block mutations. IAM is read-only; make IAM changes in the Cloud Console. After a create timeout, check for the resource before retrying; new VMs can take several minutes to appear in listings.

Verify

With the API key configured privately:

uvx krutrim-mcp-server@1.0.16 --list-tools
uvx krutrim-mcp-server@1.0.16 --doctor

--doctor checks local configuration, not Cloud authentication. Use a read-only Cloud tool such as list_vpcs to verify access.

User guide

See the user guide for configuration details, safety controls, and troubleshooting.

Encrypted storage access-key delivery

create_storage_access_key returns an encrypted bundle, not a plaintext secret. Generate a recipient key with krutrim-mcp-credentials init, then follow Encrypted credential delivery to decrypt it on your device. Never share the private key or decrypted output.

Metadata

Release files for krutrim-mcp-server 1.0.16

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for krutrim-mcp-server 1.0.16
File Size Uploaded Provenance Actions
krutrim_mcp_server-1.0.16.tar.gz 196.6 kB With provenance Details for krutrim_mcp_server-1.0.16.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for krutrim-mcp-server 1.0.16
File Interpreter ABI Platform Actions
krutrim_mcp_server-1.0.16-py3-none-any.whl Python 3 none any Details for krutrim_mcp_server-1.0.16-py3-none-any.whl

Total release size: 339.3 kB

Release files / krutrim_mcp_server-1.0.16.tar.gz

Download URL krutrim_mcp_server-1.0.16.tar.gz
Size 196.6 kB
Tags Source
SHA-256 checksum
How to use checksums
49ff0392757f903140552a43f1abcaf23b7fd04fab9750121f0cb3b7b2b9cd8c
BLAKE2b-256 checksum
How to use checksums
719373b1f5b3477f7af164e76886bf82efca345b7620666eee326064a5d3d964
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 20, 2026.

Transparency log

Release files / krutrim_mcp_server-1.0.16-py3-none-any.whl

Download URL krutrim_mcp_server-1.0.16-py3-none-any.whl
Size 142.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
f340c017e8ee8e97106bfbe915052ba1c61ad5ee864c2350fe4b672c2018e740
BLAKE2b-256 checksum
How to use checksums
8947f1cf7dcb6c7db06ba857216e0ff6cb9b4f997d69a6c4c270c241ae577775
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 20, 2026.

Transparency log

Security for krutrim-mcp-server 1.0.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for krutrim_mcp_server-1.0.16.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 20, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page