---
title: "MCP server"
description: "Your coding agent searches and reads the docs without leaving its editor."
canonical: https://www.charitips.com/docs/get-started/mcp
---

# MCP server

> Your coding agent searches and reads the docs without leaving its editor.

## Connect it

The server is at `https://www.charitips.com/docs/mcp`. It is read-only and needs no account.

**Prompt**

```prompt
Read https://www.charitips.com/docs/get-started/mcp.md and connect the Charitips MCP server to this project.
```

**Claude Code**

```bash
claude mcp add --transport http charitips https://www.charitips.com/docs/mcp
```

**Codex**

```bash
codex mcp add charitips --url https://www.charitips.com/docs/mcp
```

Or in `~/.codex/config.toml`:

```toml
[mcp_servers.charitips]
url = "https://www.charitips.com/docs/mcp"
```

**Cursor**

In `.cursor/mcp.json`:

```json
{
  "mcpServers": {
    "charitips": { "url": "https://www.charitips.com/docs/mcp" }
  }
}
```

**VS Code**

In `.vscode/mcp.json`:

```json
{
  "servers": {
    "charitips": { "type": "http", "url": "https://www.charitips.com/docs/mcp" }
  }
}
```

## What you can ask

- My last call to `POST /v1/donations` returned 403. Find why in the docs and fix my code.
- Which fields does Create a campaign take, and which ones does the API require?
- Add the claim step to my checkout, following the Charitips docs.

## What it can do

Four tools, all read-only.

- `search_docs`: search every page, section, endpoint and field.
- `get_doc_page`: read one page as Markdown, or one section of it with `section`. It also reads the build spec of a demo (`demos/checkout`), the skill (`skill`) and the index (`llms.txt`).
- `list_api_operations`: every endpoint with its id, optionally for one tag.
- `get_api_operation`: authentication, fields and their rules, and the errors it returns with their fix.

The server cannot call the API. To run a call, your agent uses your sandbox credentials from environment variables, as described in [Set up your coding agent](https://www.charitips.com/docs/get-started/coding-agent.md).
