> For the complete documentation index, see [llms.txt](https://docs.groundcover.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.groundcover.com/~/revisions/ETrLpNk6KtHjyaVUTLoE/getting-started/groundcover-mcp.md).

# groundcover MCP

Supercharge your AI agents with o11y superpowers using the groundcover MCP server. Bring logs, traces, metrics, events, K8s resources, and more directly into your agent’s context — and troubleshoot side by side with your AI assistant to solve issues in minutes.

> **Status:** Work in progress. We keep adding tools and polishing the experience. Got an idea or question? Ping us on Slack!

## What is MCP?

**MCP (Model Context Protocol)** is an open standard that enables AI tools to access external data sources like APIs, observability platforms, and documentation directly within their working context. MCP servers expose these resources in a consistent way, so the AI agent can query and use them as needed to streamline workflows.

groundcover’s MCP server brings your live observability data into the picture - making your agents smarter, faster, and more accurate.

## How Can groundcover's MCP Help You and Your Agent?

By connecting your agent to groundcover’s MCP server, you enable it to:

* Query live logs, traces, and metrics for a workload, container, or issue.
* Run root cause analysis (RCA) on issues, right inside your IDE or chat interface.
* Auto-debug code with observability context built in.
* Monitor deployed code and validate fixes without switching tools.

See examples in our [Getting-started Prompts](/~/revisions/ETrLpNk6KtHjyaVUTLoE/getting-started/groundcover-mcp/getting-started-prompts.md) and [Real-world Use Cases](/~/revisions/ETrLpNk6KtHjyaVUTLoE/getting-started/groundcover-mcp/real-world-use-cases.md).

## Install groundcover's MCP Server

Set up is quick and agent-friendly. We support both **OAuth** (recommended) and **API key** flows.

Head to [Configure groundcover's MCP Server](/~/revisions/ETrLpNk6KtHjyaVUTLoE/getting-started/groundcover-mcp/configure-groundcovers-mcp-server.md) for setup instructions and client-specific guides.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.groundcover.com/~/revisions/ETrLpNk6KtHjyaVUTLoE/getting-started/groundcover-mcp.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
