{"$schema":"https://wellknown.network/schemas/agent-record-v1.json","schemaVersion":"1","id":"ag_qvqhxczmssqg","handle":"ct-kubecost-mcp-server","url":"https://wellknown.network/agents/ct-kubecost-mcp-server","links":{"self":"https://wellknown.network/agents/ct-kubecost-mcp-server/record.json","html":"https://wellknown.network/agents/ct-kubecost-mcp-server","markdown":"https://wellknown.network/agents/ct-kubecost-mcp-server/record.md","api":"https://wellknown.network/api/v1/agents/ct-kubecost-mcp-server","status":"https://wellknown.network/api/v1/agents/ct-kubecost-mcp-server/status","claim":"https://wellknown.network/agents/ct-kubecost-mcp-server/claim","claimApi":"https://wellknown.network/api/v1/claims","claimDescriptor":"https://wellknown.network/agents/ct-kubecost-mcp-server/claim.json","badge":"https://wellknown.network/agents/ct-kubecost-mcp-server/badge.svg","openapi":"https://wellknown.network/openapi.json"},"ard":{"identifier":"urn:air::server:ct-kubecost-mcp-server","type":"application/mcp-server-card+json"},"kind":"mcp_server","declared":{"name":"ct-kubecost-mcp-server","summary":"CloudThinker stdio MCP server for KubeCost / OpenCost: reads KUBECOST_* env at startup, auto-connects to the cost API, and serves read-only Kubernetes cost allocation, assets, cloud cost, and efficiency (right-sizing) tools.","description":"# ct-kubecost-mcp-server\n\nA CloudThinker stdio MCP server for [KubeCost](https://www.kubecost.com/) and\n[OpenCost](https://www.opencost.io/). It **auto-connects from environment\nvariables** and serves read-only Kubernetes cost tools, so it drops into\nCloudThinker's env-injection connection model.\n\nThere is no pip-installable upstream MCP to wrap — OpenCost's MCP server is Go,\ncompiled into its cost-model binary (`pkg/mcp/server.go`). This server authors the\ntools directly against the KubeCost/OpenCost HTTP cost API, mirroring OpenCost's\nfour query types: **allocation, asset, cloudcost, efficiency**.\n\n## What it does\n\n- Reads `KUBECOST_*` env vars at startup and connects to the cost API.\n- Serves read-only tools over **stdio**.\n- KubeCost serves the API under `/model` (`/model/allocation`); bare OpenCost serves\n  it at the root (`/allocation`). Controlled by `KUBECOST_API_PREFIX` (default `/model`).\n\n## Run\n\n```bash\nuvx --from ct-kubecost-mcp-server@0.2.0 ct-kubecost-mcp-server\n```\n\n## Environment\n\n| Var | Required | Default | Purpose |\n|---|---|---|---|\n| `KUBECOST_URL` | yes | — | base URL of the KubeCost/OpenCost endpoint |\n| `KUBECOST_AUTH_TYPE` | no | `none` | `none` \\| `bearer` \\| `basic` |\n| `KUBECOST_TOKEN` | when `bearer` | — | bearer token (`Authorization: Bearer …`) |\n| `KUBECOST_USERNAME` | when `basic` | — | HTTP basic username |\n| `KUBECOST_PASSWORD` | when `basic` | — | HTTP basic password |\n| `KUBECOST_API_PREFIX` | no | `/model` | path prefix; set empty (`\"\"`) for bare OpenCost |\n| `KUBECOST_INSECURE_SKIP_VERIFY` | no | `false` | `true` → skip TLS verification |\n| `LOG_LEVEL` | no | `info` | mapped to `FASTMCP_LOG_LEVEL` |\n\n## Tools (read-only)\n\n| Tool | Purpose | API |\n|---|---|---|\n| `get_allocation` | in-cluster cost by namespace/controller/pod (chargeback) | `GET {prefix}/allocation` |\n| `get_assets` | cloud asset cost (nodes, disks, network) | `GET {prefix}/assets` |\n| `get_cloud_cost` | out-of-cluster cloud bill | `GET {prefix}/cloudCost` |\n| …","publisher":{"name":"CloudThinker","url":null},"homepage":"https://github.com/cloudthinker/ct-kubecost-mcp-server","repository":"https://github.com/cloudthinker/ct-kubecost-mcp-server","version":"0.2.0","license":"Apache-2.0","protocols":["mcp"],"tags":["cloudthinker","cost","finops","kubecost","kubernetes","llm","mcp","opencost"],"pricing":null,"endpoints":[{"url":"pypi:ct-kubecost-mcp-server","type":"package_pypi","auth":null,"probeable":false}],"skills":null,"tools":null,"extra":null,"attribution":{"kind":"pypi","name":"pypi","license":"pypi","repoUrl":"pypi","summary":"pypi","version":"pypi","description":"pypi","homepageUrl":"pypi","publisherName":"pypi"}},"derived":{"capabilities":[{"slug":"infra.cloud","name":"Cloud Platforms","confidence":1,"provenance":"declared"},{"slug":"security.identity","name":"Identity & Access","confidence":0.825,"provenance":"derived"}],"categories":["infra","security"],"language":"en"},"observed":{"status":"unknown","statusReason":"Distributed as a package to run locally; no network endpoint to check.","lastOkAt":null,"lastProbedAt":null,"statusComputedAt":null,"reliability30d":null,"latestObservations":[],"tools":null,"package":{"name":"ct-kubecost-mcp-server","registry":"pypi","observedAt":"2026-09-09T13:22:05.442Z","publishedAt":"2026-06-22T01:50:05.961179Z","latestVersion":"0.2.0"}},"verification":{"claimed":false,"claimedAt":null,"proofs":[]},"provenance":{"sources":[{"source":"pypi","key":"ct-kubecost-mcp-server","url":"https://pypi.org/project/ct-kubecost-mcp-server/","firstSeenAt":"2026-09-09T13:21:01.231Z","fetchedAt":"2026-09-09T13:21:01.231Z","normalizedAt":"2026-09-09T13:21:01.231Z"}]},"firstSeenAt":"2026-09-09T13:21:01.231Z","updatedAt":"2026-09-09T13:22:05.442Z"}