Best MCP Servers for DevOps: What Each Can Read and Change
An MCP server for your CI system or cloud account is not like one for a notes app. The agent that reads your Sentry issues at 2 a.m. can, with the wrong token, also delete a Kubernetes namespace or change a DNS record. So this list sorts DevOps MCP servers by one question first: what can the agent change once it is connected?
We only included servers published by the vendor itself (or, for Kubernetes, an actively maintained open-source project whose creator and lead maintainer works at Red Hat, per his GitHub profile), and we checked each repository's activity in late November 2026. If you want the broader catalogue, our earlier posts on MCP servers for DevOps and CI, cloud infrastructure and observability go wider. This one is about picking a small, safe set.
A rule before the list
Every server below acts with the identity you give it. A read-only flag inside the server is a convenience. The real limit is the token, the IAM role or the RBAC binding behind it. The Kubernetes MCP server's own README puts it plainly: its read_only setting is a best-effort guardrail, and the RBAC of the identity it runs as is the control to rely on.
So the pattern for every entry is the same:
- Create a dedicated identity for the agent (a service account, a fine-grained token, a separate IAM role).
- Give it read access only.
- Turn on the server's own read-only switch as a second layer.
- Add write scopes one at a time, when a real task needs them, and keep your client's approval prompts on.
Source control: GitHub and GitLab
GitHub MCP Server (repo) is GitHub's official server. The hosted version lives at https://api.githubcopilot.com/mcp/ and supports OAuth in VS Code and other clients, or a personal access token sent as a bearer header. Run locally, it reads GITHUB_PERSONAL_ACCESS_TOKEN.
What it exposes is grouped into toolsets. With nothing configured you get context, repos, issues, pull_requests and users. You can narrow that with --toolsets (or GITHUB_TOOLSETS) and add the --read-only flag, which the README says skips write tools even if you asked for them by name. A sensible starting point for a reviewer agent:
docker run -i --rm \
-e GITHUB_PERSONAL_ACCESS_TOKEN \
-e GITHUB_TOOLSETS="repos,issues,pull_requests,actions" \
ghcr.io/github/github-mcp-server --read-only
Write risk: issues, comments, branches and pull requests. These are reversible, but other people see them, and a prompt-injected issue body can ask the agent to open a PR you did not want. See our GitHub MCP page for setup in each client.
GitLab MCP server is built into GitLab itself. The GitLab docs list it as generally available since GitLab 19.5 on Free, Premium and Ultimate, at https://gitlab.com/api/v4/mcp (or your own instance's /api/v4/mcp). Auth is either OAuth with the mcp scope or a fine-grained personal access token; legacy personal, project and group tokens get a 403. Default toolsets are core, merge_requests, work_items, repository and ci, with wikis and code_security opt-in. On GitLab.com the top-level group has to allow MCP access first, which is a good place for an admin to say no until there is a plan. More on our GitLab MCP page.
Errors and observability: Sentry, Grafana, Datadog
These are the easiest wins, because most of the useful work is reading.
Sentry. The MCP server now lives in getsentry/toolkit, alongside the Sentry CLI. The hosted endpoint is https://mcp.sentry.dev/mcp with OAuth; a stdio mode reads SENTRY_AUTH_TOKEN. It has search tools for errors, traces, logs and issues, plus Seer analysis. The README's recommended token scopes include project:write and event:write, so if you only want triage, mint a narrower token. Our Sentry MCP page covers the client config.
Grafana. mcp-grafana needs GRAFANA_URL and GRAFANA_SERVICE_ACCOUNT_TOKEN. It covers dashboards, Prometheus and Loki queries, alerting, incidents, OnCall and more. Two flags matter: --disable-write removes create and update tools, and --disable-query stops the agent running datasource queries while leaving discovery tools. Categories such as Admin are off unless you enable them. Pair --disable-write with a Viewer-role service account and you have a solid incident helper. See Grafana MCP.
Datadog. Datadog's official server is managed and remote, at https://mcp.datadoghq.com/v1/mcp for the US1 site, with per-site endpoints elsewhere (for example mcp.datadoghq.eu). The README describes querying logs, metrics, traces and incidents and points to Datadog's docs for the tool list and auth options. We did not find write tools documented on the README, so check the full tool list before assuming it is read-only. Our Datadog MCP page has more.
Cloud providers: AWS, Azure, Google Cloud
This is where the blast radius gets real.
AWS. The awslabs/mcp repo now tells you to start with the AWS MCP Server, a remote server run by AWS that combines API access and documentation and works through IAM permissions. For narrower jobs there are separate servers for EKS and ECS. Their write paths are switched off in the install examples: the EKS server takes --allow-write and --allow-sensitive-data-access flags, and the ECS server uses ALLOW_WRITE and ALLOW_SENSITIVE_DATA environment variables set to "false". Local servers pick up credentials from AWS_PROFILE and AWS_REGION, so point them at a profile for a read-only role. See AWS MCP, ECS and Lambda.
Azure. Microsoft moved the Azure MCP Server into the microsoft/mcp monorepo; the old Azure/azure-mcp repository is archived, so ignore install guides that point there. Its README installs it with npx -y @azure/mcp@latest server start and authenticates through the Azure Identity SDK, for example after az login, or with AZURE_TENANT_ID, AZURE_CLIENT_ID and AZURE_CLIENT_SECRET in Docker. It documents no read-only flag; it says destructive-operation flags are not standardised across MCP clients and that your Azure RBAC role is the real limit, so run it as a Reader-role identity until you need more. The monorepo also lists the Azure DevOps server, which runs locally from the separate microsoft/azure-devops-mcp project with the npm package @azure-devops/mcp. Azure DevOps can write work items, pull requests and pipelines, so treat it like GitLab. Links: Azure MCP, Azure DevOps MCP.
Google Cloud. gcloud-mcp runs with npx -y @google-cloud/gcloud-mcp and exposes one main tool, run_gcloud_command, under your active gcloud credentials. It blocks some commands that take arbitrary input or open interactive sessions, but anything else your account can do, the agent can do. The README suggests impersonating a service account with a restricted role, and the same repo ships observability and storage servers (storage includes delete_bucket). Two caveats from the README itself: it is in preview with possible breaking changes, and it is not an officially supported Google product. See GCP MCP.
Kubernetes and Terraform
Kubernetes. containers/kubernetes-mcp-server runs with npx -y kubernetes-mcp-server@latest and uses your kubeconfig (or in-cluster config), including multiple contexts. Settings live in a TOML config: read_only = true and denied_resources are the guardrails, with the config and core toolsets on by default and Helm, Tekton and observability toolsets available. Because it follows your kubeconfig's current context, run it with a kubeconfig that only knows about the cluster and ServiceAccount you intend. Our Kubernetes MCP page has the client setup.
Terraform. HashiCorp's terraform-mcp-server has two personalities. The registry toolset reads public provider and module docs, which is mostly what you want when an agent writes HCL, since it stops it inventing resource arguments. The terraform toolset talks to HCP Terraform or Terraform Enterprise through TFE_TOKEN and TFE_ADDRESS, and can manage workspaces, variables and runs. Tools that need explicit approval stay off until ENABLE_TF_OPERATIONS is set, and it defaults to false. Our advice: registry toolset only, until you have a reason. See Terraform MCP.
Edge and hosting: Vercel and Cloudflare
Vercel. Vercel MCP is a remote OAuth server at https://mcp.vercel.com, available on all plans. It searches docs, manages projects and deployments, reads deployment logs and queries Web Analytics. Vercel's own docs warn that connecting grants the AI the same access as your Vercel user, and they recommend human confirmation for changes. Adding it to Claude Code is one line:
claude mcp add --transport http vercel https://mcp.vercel.com
Then run /mcp inside Claude Code to sign in. See Vercel MCP.
Cloudflare. The Cloudflare repo now recommends one Cloudflare API MCP server at https://mcp.cloudflare.com/mcp, and marks several of the older single-purpose servers (Observability, Workers Bindings, Workers Builds, Radar, Logpush and others) as deprecated. A docs-only server remains at https://docs.mcp.cloudflare.com/mcp, which needs no special care. The API server is the one that can touch DNS, Workers and zone settings, so give it an API token scoped to the zones and permissions you actually want. If an older blog post tells you to install the Observability server, it is out of date. See Cloudflare MCP.
A starter set for most teams
If you want something to copy, this is what we would connect on day one:
- GitHub or GitLab, read-only, limited to repos, issues, pull requests and CI.
- Sentry plus either Grafana (
--disable-write) or Datadog, for incident triage. - Terraform registry toolset, so the agent writes HCL against real provider docs.
- Your cloud provider's documentation server rather than its full API server.
Leave the gcloud, AWS write paths, Kubernetes writes and HCP Terraform runs for later, and when you do turn them on, do it in a sandbox account first. Our guide to running AI coding agents safely covers approvals and sandboxes, and the post on tool poisoning and prompt injection explains why a read-only incident bot can still be tricked into leaking what it reads. For client config syntax across Claude Code, Cursor and VS Code, see configuring MCP servers. Our MCP config generator writes the JSON for each client, and the MCP config validator catches wrong root keys and missing fields before you restart the client.
One last habit: re-check these servers every few months. In the last year Sentry moved repos, Azure archived its old one and Cloudflare folded many single-purpose servers into one API server. Install instructions age quickly, and an outdated one can leave you running an unmaintained package with your production credentials.
Written by AIDToolStack Editorial
Researched from official documentation, specifications and vendor pages, listed under Sources below. Last checked November 2026.
Sources
- github.com /github/github-mcp-server
- docs.gitlab.com /user/gitlab_duo/model_context_protocol/mcp_server
- github.com /getsentry/toolkit
- github.com /grafana/mcp-grafana
- github.com /datadog-labs/mcp-server
- github.com /awslabs/mcp
- github.com /microsoft/mcp
- github.com /microsoft/mcp/blob/main/servers/Azure.Mcp.Server/README.md
- github.com /googleapis/gcloud-mcp
- github.com /containers/kubernetes-mcp-server
- github.com /hashicorp/terraform-mcp-server
- vercel.com /docs/mcp/vercel-mcp
- github.com /cloudflare/mcp-server-cloudflare