Skip to content
Most AI tasks no longer need a frontier model Read launch post

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.

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.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.

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, one command installs and starts it:

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.

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:

  1. Set a new SIE_MCP_CONNECTOR_SECRET and SIE_MCP_CONNECTOR_SECRETS as in 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.

These tools work on SIE Serverless with the models listed.

ToolWhat it doesModel
answer_questionsAnswer questions grounded in a document set.BAAI/bge-m3, Qwen/Qwen3-Reranker-0.6B and Qwen/Qwen3.5-4B
extract_entitiesExtract zero-shot entities from a document or text input.urchade/gliner_multi-v2.1
redact_piiRedact PII from a document or text input.urchade/gliner_multi_pii-v1
docs_to_markdownConvert 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_structuredGenerate output constrained by a JSON schema or a regex. This model does not take grammar constraints.Qwen/Qwen3.5-4B
extract_structuredExtract schema-valid JSON grounded in document content.Qwen/Qwen3.5-4B
summarize_documentSummarize a document or text input.Qwen/Qwen3.5-4B

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

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.

Talk to us

Tell us about your use case and we'll get back to you shortly.