---
title: Use SIE from your coding agent (MCP)
description: Run the open-source sie-mcp server on your machine against SIE Serverless, add it to Claude Code, and see which of its tools and models work on SIE Serverless today.
canonical_url: https://superlinked.com/docs/cloud/mcp
last_updated: 2026-12-01
---

SIE Serverless has no hosted MCP endpoint yet, so you run the open-source `sie-mcp` server on your machine and point it at SIE Serverless with your API key.

`sie-mcp` serves MCP over streamable HTTP. Your coding agent connects to it on your machine, and the server sends each tool call to SIE Serverless. Version 0.11.4 has no stdio command, so you add it to your agent as an HTTP server.

## Set the environment

You need an SIE Serverless API key. A key with only the **Inference** scope is enough, and that is what the new-key dialog on the **API keys** page selects. The [quickstart](/docs/cloud/quickstart/) shows how to create one.

Set these variables in the shell where you will start the server:

```bash
export SIE_API_KEY=<your SIE Serverless API key>
export SIE_BASE_URL=https://api.superlinked.com

export SIE_MCP_CONNECTOR_SECRET="$(openssl rand -hex 32)"
export SIE_MCP_CONNECTOR_SECRETS="${SIE_MCP_CONNECTOR_SECRET}:local"

export SIE_MCP_RERANK_MODEL=Qwen/Qwen3-Reranker-0.6B
export SIE_MCP_VLOCR_MODEL=lightonai/LightOnOCR-2-1B
export SIE_MCP_EMBED_MODEL=google/siglip2-base-patch16-224
```

`SIE_MCP_CONNECTOR_SECRET` is a random secret you generate. Your agent sends it with every request, and the server answers `401` to a request without it. `SIE_MCP_CONNECTOR_SECRETS` is the setting the server reads, in the form `<secret>:<label>`.

Some of the default models in `sie-mcp` are not served on SIE Serverless. The last three lines replace them with models that are.

## Start the server

```bash
pip install 'sie-mcp==0.11.4'
sie-mcp serve --host 127.0.0.1 --port 8088
```

`sie-mcp` needs Python 3.12. With [uv](https://docs.astral.sh/uv/), one command installs and starts it:

```bash
uvx --from 'sie-mcp==0.11.4' sie-mcp serve --host 127.0.0.1 --port 8088
```

Keep `--host 127.0.0.1` so only your machine can reach the server. Without it, `sie-mcp serve` listens on every network interface.

## Add it to Claude Code

In a shell where `SIE_MCP_CONNECTOR_SECRET` is set, run:

```bash
claude mcp add --scope user --transport http superlinked-docs http://127.0.0.1:8088/mcp \
  --header "Authorization: Bearer $SIE_MCP_CONNECTOR_SECRET"
```

The shell writes the secret's value into Claude Code's configuration, so start the server with the same secret each time. To change the secret:

1. Set a new `SIE_MCP_CONNECTOR_SECRET` and `SIE_MCP_CONNECTOR_SECRETS` as in [Set the environment](#set-the-environment), and restart the server. It reads the secret only at startup.
2. In a shell where `SIE_MCP_CONNECTOR_SECRET` holds the new secret, run `claude mcp remove superlinked-docs --scope user` and then the `claude mcp add` command above.

Another agent that supports MCP over streamable HTTP connects the same way: the URL is `http://127.0.0.1:8088/mcp`, and each request carries the `Authorization: Bearer` header with your secret.

## Tools that work on SIE Serverless

These tools work on SIE Serverless with the models listed.

| Tool | What it does | Model |
| --- | --- | --- |
| `answer_questions` | Answer questions grounded in a document set. | `BAAI/bge-m3`, `Qwen/Qwen3-Reranker-0.6B` and `Qwen/Qwen3.5-4B` |
| `extract_entities` | Extract zero-shot entities from a document or text input. | `urchade/gliner_multi-v2.1` |
| `redact_pii` | Redact PII from a document or text input. | `urchade/gliner_multi_pii-v1` |
| `docs_to_markdown` | Convert a document (PDF, DOCX, PPTX, XLSX, HTML or a scan) to clean markdown. | `docling` for HTML. For scanned pages or images, pass `engine: "vl-ocr"` to use `lightonai/LightOnOCR-2-1B`. |
| `generate_structured` | Generate output constrained by a JSON schema or a regex. This model does not take grammar constraints. | `Qwen/Qwen3.5-4B` |
| `extract_structured` | Extract schema-valid JSON grounded in document content. | `Qwen/Qwen3.5-4B` |
| `summarize_document` | Summarize a document or text input. | `Qwen/Qwen3.5-4B` |

## Not available on SIE Serverless yet

`describe_image` needs a captioning model, and SIE Serverless serves none.

## The first call can take minutes

A model that is not kept warm starts on demand, so the first call to a tool can take a few minutes. The first OCR call on a scanned page took about four minutes in testing. Later calls took seconds. [Retries over HTTP](/docs/cloud/retries/#what-a-cold-start-looks-like) describes what happens while a model starts.
