# Strand AI MCP Server

> **Strand AI MCP Server** is a hosted, multitenant Model Context Protocol (MCP) server run by **MewCP** (https://mewcp.com), giving AI agents managed access to Strand AI.
>
> MewCP takes care of all MCP infrastructure for you — credential storage, OAuth flows,
> token refresh, and production-grade auto-scaling — so your AI agents can connect to
> third-party services and run freely without you managing any MCP server yourself.
>
> Server page:  https://mewcp.com/mcp/strandai-mcp
> MewCP docs:   https://docs.mewcp.com
> All servers:  https://mewcp.com/servers (JSON: https://mewcp.com/api/servers)
> About MewCP:  https://mewcp.com/llms.txt

---

## About

Enables AI agents to run spatial proteomics inference on de-identified H&E histology slides using Strand AI's Lattice model, which predicts virtual multiplex immunofluorescence protein-marker images without additional tissue staining. Provides 10 tools for uploading slides, browsing samples, discovering available protein markers, estimating inference costs, submitting and monitoring prediction jobs, running cell segmentation, updating sample metadata, cancelling jobs, and downloading results in OME-Zarr or OME-TIFF formats. Requires OAuth authentication and an authorized Strand AI organization; inference jobs consume organizational credits and are intended for research, not clinical diagnosis.

---

## Details

- Server ID: `strandai-mcp`
- Version: 0.6.0
- Tools: 17
- Authentication: OAuth, managed by MewCP
- Transport: http

---

## Access

The gateway URL below serves your **entire MewCP toolset**, not this server on its
own. Pasting a config snippet is not enough — Strand AI has to be in the toolset
first. In order:

1. Add Strand AI to your toolset at https://mewcp.com/mcp/strandai-mcp
2. Connect your Strand AI account (OAuth); MewCP stores the credential and attaches it to each call
3. Add the gateway URL to your client (see Connect below). It signs in with OAuth
   the first time it connects, so there is no key to copy.

Once connected, an agent does **not** see this server's tools as top-level tools.
It sees four meta-tools and reaches everything through them:

- `search(query)` — find tools by keyword across the toolset
- `get_schema(tools)` — full description and arguments for the tools you picked
- `manage_connections(requests?)` — connection status and account aliases, plus
  links the user opens to add an app or connect an account
- `call_tool(app_maskedId, tool_name, args, alias?)` — execute

If Strand AI isn't in the toolset or connected yet, `manage_connections` with
app_maskedId `strandai-mcp` returns a link that adds it and connects an account.

So the list below is what `search` can return for this server, not a set of
callable tool names on their own.

---

## Tools (17)

Descriptions are truncated to 160 characters; call `get_schema`
for the full text and the argument schema. Where a tool is annotated, its type
is shown — treat `destructive` as irreversible.

- `upload_sample` _(write)_ — Create the canonical owned sample and a server-selected presigned transfer for one supported H&E whole-slide image (TIFF / SVS / NDPI / PNG). Slides must be…
- `renew_upload_session` _(write)_ — Renew an owned upload session. Multipart takes at most 16 part numbers/SHA256 digests and returns server-signed URLs and actual uploaded-part facts. No mutable…
- `complete_upload` _(write)_ — Complete an owned AWS upload. Multipart supplies exact part receipts; a permanent single PUT uses authoritative object inspection. The existing REST API…
- `list_markers` _(read)_ — List the markers this account can request, with a `full_panel` flag and a `public_panel` flag per marker. Credit-free. The returned names are the account's…
- `list_sample_fields` _(read)_ — List the organization's field definitions, including descriptions, keys, types and options. Credit-free.
- `create_sample_field` _(write)_ — Create a custom sample field for this organization. Credit-free; requires samples:write. Keys derive from labels when omitted. Duplicate keys/labels and the…
- `list_samples` _(read)_ — List and filter samples without spending credits. `mine` lists active, non-trashed samples owned by the caller's organization; `public` lists the curated…
- `get_sample` _(read)_ — Read either an owned sample or a public-cohort sample without spending credits. The returned `ownership` discriminator identifies the branch. An owned detail…
- `update_sample` _(destructive)_ — Update an owned sample. At least one of `name`, `fields`, or `mpp` is required. `fields` is keyed by stable field key and each value is complete, not a delta;…
- `segment_sample` _(write)_ — Start or retry free cell segmentation for an owned ready sample. The operation is state-idempotent: completed or active work is reused. Returns lifecycle state…
- `submit_job` _(destructive)_ — Submit a Lattice job for predicted spatial proteomics from H&E, delivered as virtual mIF channels for the requested marker set. Always use two steps: first…
- `get_job` _(read)_ — Read the latest status of one exact job by id without waiting or polling. This works for jobs of any age and complements capped sample-scoped job history. A…
- `cancel_job` _(destructive)_ — Cancel an in-flight job and release its credit reservation. Returns an error if the job is already terminal.
- `download_results` _(write)_ — Return native OME-Zarr without conversion, or start/reuse a cached OME-Zarr ZIP or OME-TIFF export. One explicit manifest describes export state, expiration,…
- `create_artifact` _(write)_ — Publish an immutable, org-private HTML case report. Credit-free. Requires samples:write and results:read. description is required provenance: summarize data…
- `list_artifacts` _(read)_ — List org-private report metadata and provenance, optionally filtered by linked sample and/or job UUID. Credit-free; requires samples:read and results:read.…
- `get_artifact` _(read)_ — Get an org-private report's metadata, provenance description and org-gated in-app URL by UUID. Credit-free; requires samples:read and results:read. Does not…

---

## Connect

- URL: https://gateway.mewcp.com/personal/mcp
- Transport: Streamable HTTP (remote). Nothing to install.
- Sign-in: OAuth. On first connect the client opens a browser window to sign in
  to MewCP and approve access. No API key.
- Headless clients (SDKs, servers without a browser) send an API key instead:
  `Authorization: Bearer <API_KEY>`, key from https://mewcp.com/dashboard/api-keys

Agents setting themselves up: follow https://mewcp.com/SKILL.md

Step-by-step guide per client:

- Claude Desktop: https://mewcp.com/mcp/strandai-mcp/connect/claude
- ChatGPT: https://mewcp.com/mcp/strandai-mcp/connect/chatgpt
- Grok: https://mewcp.com/mcp/strandai-mcp/connect/grok
- DeepSeek Harness: https://mewcp.com/mcp/strandai-mcp/connect/dsh
- Mistral Vibe: https://mewcp.com/mcp/strandai-mcp/connect/mistral-vibe
- VS Code: https://mewcp.com/mcp/strandai-mcp/connect/vscode
- Cursor: https://mewcp.com/mcp/strandai-mcp/connect/cursor
- Codex: https://mewcp.com/mcp/strandai-mcp/connect/codex
- Claude Code: https://mewcp.com/mcp/strandai-mcp/connect/claude-code
- OpenCode: https://mewcp.com/mcp/strandai-mcp/connect/opencode
- OpenClaw: https://mewcp.com/mcp/strandai-mcp/connect/openclaw
- Antigravity: https://mewcp.com/mcp/strandai-mcp/connect/antigravity
- Hermes: https://mewcp.com/mcp/strandai-mcp/connect/hermes
- Kimi Code: https://mewcp.com/mcp/strandai-mcp/connect/kimi-code
- Grok Build: https://mewcp.com/mcp/strandai-mcp/connect/grok-build
- Devin Desktop: https://mewcp.com/mcp/strandai-mcp/connect/devin-desktop
- Zed: https://mewcp.com/mcp/strandai-mcp/connect/zed
- Muse Code: https://mewcp.com/mcp/strandai-mcp/connect/muse-code
- Cline: https://mewcp.com/mcp/strandai-mcp/connect/cline
- Kilo Code: https://mewcp.com/mcp/strandai-mcp/connect/kilo-code
- Kiro: https://mewcp.com/mcp/strandai-mcp/connect/kiro
- Junie: https://mewcp.com/mcp/strandai-mcp/connect/junie
- Amp: https://mewcp.com/mcp/strandai-mcp/connect/amp
- Qwen Code: https://mewcp.com/mcp/strandai-mcp/connect/qwen-code
- Goose: https://mewcp.com/mcp/strandai-mcp/connect/goose
- Python: https://mewcp.com/mcp/strandai-mcp/connect/python
- TypeScript: https://mewcp.com/mcp/strandai-mcp/connect/typescript