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:
{
  "mcpServers": {
    "thanx-docs": {
      "type": "http",
      "url": "https://docs.mcp.thanx.com/",
      "description": "Thanx Docs MCP server for searching and interacting Thanx API Docs"
    }
  }
}

Option 2: Local Installation (Fallback)

If you prefer to run the MCP server locally or cannot connect to the remote server, you can install it on your machine.

For Claude Code

Claude Code users have two local installation options:
Global Installation
# Install the MCP server globally
npm install -g @mintlify/mcp

# Follow the instructions to add it to Claude Code via project `.mcp.json`
npx mint-mcp add docs.thanx.com --client claude

For Other MCP Clients

If you’re using a different MCP-compatible client, refer to your client’s documentation for adding servers. The server command is:
npx mint-mcp add docs.thanx.com

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

Server Not Appearing in Client

For Remote Server:
  1. Verify the server URL is correctly configured
  2. Check your internet connection
  3. Restart your MCP client application
For Local Installation:
  1. Ensure you have Node.js installed
  2. Check that the installation command completed successfully
  3. Restart your MCP client application

Search Not Working

For Remote Server:
  1. Verify your internet connection
  2. Check if the server is accessible: curl https://docs.mcp.thanx.com/health
  3. Check that the “type”: “http” is correctly set in your configuration
For Local Installation:
  1. Verify your internet connection
  2. Ensure docs.thanx.com is accessible
  3. Try reinstalling the server with npx mint-mcp add docs.thanx.com

Permission Errors

If you encounter permission errors during global installation:
sudo npm install -g @mintlify/mcp

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