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

# Topsort MCP Servers

> Connect AI assistants to Topsort's documentation and analytics platform

export const ChangelogActions = () => {
  return <>
      <style>{`
        .changelog-actions {
          display: flex;
          justify-content: center;
          gap: 12px;
          margin-top: 2rem;
          padding-top: 1.5rem;
          border-top: 1px solid #e5e7eb;
        }
        
        [data-theme="dark"] .changelog-actions {
          border-top-color: #374151;
        }
        
        .changelog-btn {
          display: inline-flex;
          align-items: center;
          gap: 6px;
          padding: 8px 16px;
          border-radius: 9999px;
          border: 1px solid #d1d5db;
          background: transparent;
          color: #6b7280;
          font-size: 14px;
          cursor: pointer;
          transition: all 0.2s ease;
        }
        
        .changelog-btn:hover {
          border-color: #9ca3af;
          background: #f9fafb;
        }
        
        [data-theme="dark"] .changelog-btn {
          border-color: #4b5563;
          color: #9ca3af;
        }
        
        [data-theme="dark"] .changelog-btn:hover {
          border-color: #6b7280;
          background: #1f2937;
        }
      `}</style>
      <div className="changelog-actions">
        <button className="changelog-btn" onClick={() => {
    const btn = event.target.closest("button");
    btn.innerHTML = "❤️ Like";
    btn.style.borderColor = "#ec4899";
  }}>
          🤍 Like
        </button>
        <button className="changelog-btn" onClick={() => {
    const btn = event.target.closest("button");
    navigator.clipboard.writeText(window.location.href);
    const originalContent = btn.innerHTML;
    btn.innerHTML = "✓ Copied";
    btn.style.borderColor = "#22c55e";
    btn.style.color = "#22c55e";
    setTimeout(() => {
      btn.innerHTML = originalContent;
      btn.style.borderColor = "";
      btn.style.color = "";
    }, 2000);
  }}>
          ↗ Share
        </button>
      </div>
    </>;
};

<div
  style={{
display: "flex",
gap: "8px",
flexWrap: "wrap",
marginBottom: "16px",
}}
>
  <Badge color="gray" size="sm" icon="calendar">
    October 22, 2025
  </Badge>

  <Badge color="purple" size="sm" icon="server">
    Ad Server
  </Badge>

  <Badge color="green" size="sm" icon="sparkles">
    New Feature
  </Badge>
</div>

We've added the **Topsort MCP Server** that connects AI assistants directly to Topsort's complete API documentation. This integration enables developers to access accurate, up-to-date information about our APIs without leaving their development environment, making integration faster and reducing context switching.

<Frame>
  <img src="https://mintcdn.com/topsort/kKtg9wT2hJn2uG4V/images/changelog/topsort-mcp-vs-code.gif?s=6ecdb4d5af1f71a1cc9d30c812020157" alt="Topsort VS Code MCP" width="1116" height="720" data-path="images/changelog/topsort-mcp-vs-code.gif" />
</Frame>

The MCP server works with popular AI development tools including **GitHub Copilot** in **VS Code**, **ChatGPT**, **Claude**, **Cursor**, **Windsurf**, and other MCP-compatible clients.

Developers can now ask questions about API endpoints, authentication methods, request schemas, and implementation patterns directly within their workflow, with responses drawing from the latest Topsort documentation.

## Key Benefits

**In-Context Documentation**:
Access complete API documentation directly from your IDE or AI assistant
without browser switching

**Accurate Code Generation**:
AI assistants generate more accurate integration code using current API
schemas and examples

**Faster Troubleshooting**:
Quickly diagnose integration issues with instant access to error codes and
API specifications

**Always Current**:
Documentation stays synchronized automatically without manual updates or
version checking

## Developer Experience

The MCP server provides read-only access to Topsort's API documentation through a standardized protocol. When configured, developers can ask their AI assistant questions like:

* "How do I create a banner campaign?"
* "What are the required fields for the auctions API?"
* "How do I authenticate with the Topsort API?"
* "What's the request format for the bidding endpoint?"

AI assistants respond with answers drawn directly from the documentation, complete with code examples and implementation guidance.

### Quick Setup Across Clients

Configuration is straightforward and takes just a few minutes:

* **GitHub Copilot in VS Code** - Add a simple JSON configuration to your settings
* **ChatGPT Plus/Team** - Add the server through Connections settings
* **Claude Desktop** - Configure through the MCP settings panel
* **Other clients** - Follow standard MCP configuration patterns

Each setup provides immediate access to the full documentation within your preferred development environment.

***

## Two MCP Servers

Topsort now offers two MCP servers for different use cases:

| Server                              | URL                                     | Purpose                                               |
| ----------------------------------- | --------------------------------------- | ----------------------------------------------------- |
| [Documentation MCP](/api/mcp)       | `https://docs.topsort.com/mcp`          | Access API docs, schemas, and integration guidance    |
| [Analytics MCP](/api/mcp-analytics) | `https://mcp-server.api.topsort.ai/mcp` | Real-time analytics, campaign metrics, and benchmarks |

The Documentation MCP is publicly accessible, while the Analytics MCP requires authentication. Contact your Topsort sales representative for Analytics MCP access.

<ChangelogActions />
