Connect Hermes
Connect Hermes Agent to Krutrim Cloud using Hosted MCP or local stdio and an API key.
Connect Hermes Agent to Krutrim Cloud with your API key. Use Hosted MCP without installing a local MCP server, or choose local stdio below.
Hosted MCP
Install Hermes Agent and create a Krutrim Cloud API key. See Hosted MCP for API-key setup.
Add the hosted server
Open ~/.hermes/config.yaml and merge the mcp_servers configuration below with your existing settings. Preserve other server entries. The JSON-formatted example is also valid YAML.
{
"mcp_servers": {
"krutrim-cloud": {
"url": "https://mcp.olakrutrim.com/mcp",
"headers": {
"Authorization": "Bearer <krutrim-api-key>"
},
"transport": "http"
}
}
}Replace <krutrim-api-key> with your API key and keep the Bearer prefix. Save it only in your private configuration, never in shared files or source control.
Use either the hosted or local configuration for krutrim-cloud, not both.
Local MCP (stdio)
Before you begin
Install Hermes Agent. Its standard installation includes MCP support.
Complete the package installation and API-key setup in Local MCP (stdio) before using the local configuration below.
Make sure
uvxis available to Hermes and keep your raw Krutrim Cloud API key private.
Add the local MCP server
mcp_servers:
krutrim-cloud:
command: "uvx"
args: ["krutrim-mcp-server"]
env:
KRUTRIM_API_KEY: "YOUR_KRUTRIM_API_KEY"Replace the placeholder only in your private local file. Use the raw key without a Bearer prefix or surrounding spaces. Hermes passes these explicit env values to the subprocess; do not rely on a secret merely being present in your shell.
This is a local stdio connection. Do not add a remote URL or OAuth configuration. Keep the secret-bearing YAML file out of source control and shared logs.
Next steps
Before changing Cloud resources, follow the safety guidance in the MCP Overview. Start with a read-only request and review the exact region and resource identifiers.
Need help? Open Troubleshooting for startup, API-key, and tool-discovery checks.
Official references
Last updated
Was this helpful?

