Use SIE from your coding agent (MCP)
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
Section titled “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 shows how to create one.
Set these variables in the shell where you will start the server:
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.6Bexport SIE_MCP_VLOCR_MODEL=lightonai/LightOnOCR-2-1Bexport SIE_MCP_EMBED_MODEL=google/siglip2-base-patch16-224SIE_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
Section titled “Start the server”pip install 'sie-mcp==0.11.4'sie-mcp serve --host 127.0.0.1 --port 8088sie-mcp needs Python 3.12. With uv, one command installs and starts it:
uvx --from 'sie-mcp==0.11.4' sie-mcp serve --host 127.0.0.1 --port 8088Keep --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
Section titled “Add it to Claude Code”In a shell where SIE_MCP_CONNECTOR_SECRET is set, run:
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:
- Set a new
SIE_MCP_CONNECTOR_SECRETandSIE_MCP_CONNECTOR_SECRETSas in Set the environment, and restart the server. It reads the secret only at startup. - In a shell where
SIE_MCP_CONNECTOR_SECRETholds the new secret, runclaude mcp remove superlinked-docs --scope userand then theclaude mcp addcommand 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
Section titled “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
Section titled “Not available on SIE Serverless yet”describe_image needs a captioning model, and SIE Serverless serves none.
The first call can take minutes
Section titled “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 describes what happens while a model starts.