Cloudwatch Logs MCP Server

An MCP (Model Context Protocol) server that provides tools for accessing AWS CloudWatch logs. This server allows AI assistants to list log groups and

Local serverstdio

What is the Cloudwatch Logs MCP MCP server?

If you already use Cloudwatch Logs MCP, the cloudwatch logs mcp mcp server is the piece that lets your assistant work with it directly. An MCP (Model Context Protocol) server that provides tools for accessing AWS CloudWatch logs. This server allows AI assistants to list log groups and read log entries from AWS CloudWatch.

Installation

Setup follows the usual MCP pattern — install or clone the server, register it in your client's configuration file, restart the client. The configuration blocks on this page cover the common clients.

Available tools

The toolset is worth reading before you wire it up, because it tells you what the integration is really for:

  • list_groups — The list_groups tool exposed by this server
  • get_logs — The get_logs tool exposed by this server

Credentials and setup notes

Configuration is passed through the environment: AWS_ACCESS_KEY_ID, AWS_SECRET_ACCESS_KEY, YOUR_ACCESS_KEY_ID, YOUR_SECRET_ACCESS_KEY. Treat anything key-shaped as a real credential — scope it to the minimum the server needs, and rotate it if it ever lands in a shared config.

Worth knowing first

  • It runs with your machine's permissions. That is convenient and also the reason to think about what you point it at before you approve a tool call.
  • Missing credentials fail quietly in some clients — if no tools show up, check the environment block first.
  • Keep per-call confirmation enabled while you learn its behaviour; it is the cheapest safeguard you have.

Where it fits

Plenty of monitoring and observability servers cover similar ground. The differences that matter in practice are scope of access and how much setup stands between you and a working tool call. Cloudwatch Logs MCP's toolset — list_groups, get_logs — is a fair guide to whether it matches your workflow. It is maintained by serkanh; worth a glance at recent repository activity before you build anything load-bearing on it.

We check each listing at SyncDev against the project's documentation before it goes live — if something here drifts out of date, it is a bug worth reporting.

Available tools

ToolWhat it does
list_groupsThe list_groups tool exposed by this server.
get_logsThe get_logs tool exposed by this server.

How to install the Cloudwatch Logs MCP MCP server

{
  "mcpServers": {
    "cloudwatch-logs": {
      "command": "python3",
      "args": ["/path/to/cloudwatch-logs-mcp/main.py"],
      "env": {
        "AWS_ACCESS_KEY_ID": "<YOUR_ACCESS_KEY_ID>",
        "AWS_SECRET_ACCESS_KEY": "<YOUR_SECRET_ACCESS_KEY>",
      },
      "disabled": false,
      "autoApprove": []
    }
  }
}

Configuration as documented by the project. Restart the client after saving.

Configuration

VariableDescriptionRequired
AWS_ACCESS_KEY_IDCredential the server authenticates with.Yes
AWS_SECRET_ACCESS_KEYCredential the server authenticates with.Yes
YOUR_ACCESS_KEY_IDCredential the server authenticates with.Yes
YOUR_SECRET_ACCESS_KEYCredential the server authenticates with.Yes

Example prompts to try

  • Use Cloudwatch Logs MCP to list groups.
  • Use Cloudwatch Logs MCP to get logs.

Frequently asked questions

It connects Cloudwatch Logs MCP to MCP-compatible AI assistants such as Claude and Cursor, exposing 2 tools (list_groups, get_logs) that the assistant can call on your behalf. Instead of copying data back and forth by hand, the assistant works with Cloudwatch Logs MCP directly.