> ## Documentation Index
> Fetch the complete documentation index at: https://docs.thanx.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Docs MCP Server

> Set up the Thanx documentation MCP server for AI-powered search and interaction

The Thanx Docs MCP Server enables you to search and interact with the entire Thanx API documentation using natural language through AI tools like Claude Code.

## Features

* **Natural Language Search**: Find API endpoints, parameters, and examples using plain English
* **Instant Answers**: Get quick responses about authentication, rate limits, and best practices
* **Code Examples**: Request code samples in any programming language
* **Context-Aware Help**: The AI understands the relationships between different API endpoints

## Installation

The easiest way to use the Thanx documentation MCP server is to connect to our hosted remote server. This requires no local installation and provides instant access.

#### For Claude Code

Add to your project's `.mcp.json` file:

```json theme={null}
{
  "mcpServers": {
    "thanx-docs": {
      "type": "http",
      "url": "https://docs.thanx.com/mcp",
      "description": "Thanx Docs MCP server for searching and interacting Thanx API Docs"
    }
  }
}
```

or install this for your user:

```
claude mcp add thanx-docs https://docs.thanx.com/mcp --transport http
```

## Usage Examples

Once installed, you can ask questions like:

* "How do I authenticate with the Thanx API?"
* "Show me how to create a new user with the Consumer API"
* "What are the rate limits for the Partner API?"
* "Generate Python code to fetch a user's rewards"
* "Explain the difference between the Consumer and Partner APIs"

## Configuration

The documentation MCP server requires no additional configuration. It automatically:

* Indexes all public documentation at docs.thanx.com
* Updates when documentation changes
* Provides search across all API sections

## Troubleshooting

1. Verify the server URL is correctly configured
2. Check your internet connection
3. Restart your MCP client application

## Privacy & Security

* The MCP server only accesses publicly available documentation
* No API credentials are required for documentation search
* All queries are processed locally by your AI client
* No usage data is sent to Thanx servers

## Next Steps

* Explore the [Thanx API documentation](https://docs.thanx.com)
* Learn more about [Model Context Protocol](https://modelcontextprotocol.io/)
