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

# MCP Integration

> Expose Share Of Model data to LLM agents via Model Context Protocol

Share Of Model exposes a read-only [Model Context Protocol](https://modelcontextprotocol.io) surface so LLM agents — Claude.ai, Claude Desktop, Claude Code, or any MCP-compatible client — can query your workspace data directly.

## What is exposed

The endpoints tagged `mcp` in the [API Reference](/api-reference/introduction) are reachable through MCP. They are read-only by design: agents can browse analyses, metrics, and brand catalogs, but cannot mutate state.

## Server URL

```
https://mcp.shareofmodel.ai/mcp
```

Transport: Streamable HTTP.

## Authentication

The server uses **OAuth 2.0**. You do not pass an API key or a JWT — on first connection, the client opens your browser, you sign in with your Share Of Model account (same credentials as the web app), and the client stores the resulting token. There is nothing to configure manually.

## Connect from Claude Code

```bash theme={null}
claude mcp add --transport http share-of-model https://mcp.shareofmodel.ai/mcp
```

The first time you invoke a tool, Claude Code opens your browser to complete the OAuth flow. Subsequent calls reuse the stored token.

## Connect from Claude.ai or Claude Desktop

1. Open **Settings** → **Connectors**.
2. Scroll to the bottom and click **Add custom connector**.
3. Paste `https://mcp.shareofmodel.ai/mcp` and click **Connect**.
4. Sign in with your Share Of Model account in the browser window that opens.

The Share Of Model tools then appear in the tools panel of any new conversation.

## Connect from MCP Inspector

```bash theme={null}
npx @modelcontextprotocol/inspector
```

In the Inspector UI, choose **Streamable HTTP** as the transport, paste the server URL, then click **Connect**. You will be prompted to sign in on first use.

For the full walkthrough, available tools, and example prompts, see [Get started with Share of Model MCP](/platform/getting-started/get-started-with-share-of-model-mcp).
