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.
OpenCode is an open-source agent for the terminal. Remote MCP servers go in its config file and sign in through OAuth.
This guide connects Strand AI to OpenCode through MewCP, so OpenCode can use Strand AI's 17 tools, like upload_sample, renew_upload_session and complete_upload, without your Strand AI credentials ever reaching the app.
Strand AI signs in through managed OAuth. MewCP stores the token encrypted, refreshes it before it expires and injects it only at call time. Your agent never holds it, so it can never leak it.
More apps
Full Google Search Console control for search analytics, sitemaps, sites, and URL inspection, directly from your AI workflows. This MCP server exposes the Google Search Console API for querying search traffic data, managing sitemaps and site properties, and inspecting the indexing status of any URL. It is built for SEO teams monitoring search performance, developers automating sitemap and property management, and analysts pulling search traffic data into reporting pipelines.
Manage courses, assignments, rosters and student activity within Google Classroom. Create learning workflows, track submissions and organize educational content across classrooms.
PubMed enables AI agents to search biomedical and life sciences literature, retrieve research abstracts and publication details, filter studies by author, date, and topic, and explore scientific evidence to support medical research and literature reviews.
Create and manage Google Forms directly through your AI workflows. Build forms, update questions and settings, publish or unpublish, and read survey responses.
Other clients
Strand AI works the same way in every client below. Pick yours for its own guide.
Free to start.
Scope access to the exact Strand AI tools and accounts you allow, work and personal side by side. Anything outside that scope is refused at call time, even when the model asks for it.
Each call is logged: what ran, on which account, and whether it worked. Failures come back structured, so the agent knows whether to retry instead of guessing.
Every app sits behind one secure MCP URL, and there is no server for you to deploy or keep running. Add an integration in the dashboard and it is live on the next call, with no config to change and no new credentials to wire up. Tools load only when a task needs them, so your agent stays fast and focused however many apps you connect.
Edit ~/.config/opencode/opencode.json, or opencode.json in your project root.
Start a new chat and ask: "List the tools you can use from MewCP." You should see your connected apps.
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 de-identified before upload. Automated slide de-identification is off by default and runs only when enabled for the organization. It does not determine whether a slide satisfies HIPAA or any other legal de-identification standard, and it does not inspect or remove identifiers in tissue pixels or filenames. The returned `upload_id` is that sample's id for `get_sample` and `submit_job`; `upload_url` and structured HTTP metadata describe the byte transfer. Bytes travel directly from the caller to the session's organization-bound storage and never pass through this server. Follow upload_transport: GCS resumable chunks, small S3 whole-object PUT, or checksum-bound S3 multipart with the owned renew/complete contract. S3 never uses Content-Range. Object-finalize delivery automatically starts ingest. AWS uploads use an owned completion operation; GCS remains event-finalized. The returned network metadata identifies the required egress host and browser fallback.
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 source/bucket/provider uploadId is accepted. Requires samples:write through the existing REST authorization.
Complete an owned AWS upload. Multipart supplies exact part receipts; a permanent single PUT uses authoritative object inspection. The existing REST API verifies immutable version/size and awaits durable normal ingestion/dispatch. Requires samples:write. No bucket or provider uploadId may be supplied.
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 accepted marker vocabulary for estimates and prediction submissions.
List the organization's field definitions, including descriptions, keys, types and options. Credit-free.
Create a custom sample field for this organization. Credit-free; requires samples:write. Keys derive from labels when omitted. Duplicate keys/labels and the 100-field cap are rejected.
List and filter samples without spending credits. `mine` lists active, non-trashed samples owned by the caller's organization; `public` lists the curated public cohort; `all` returns mine first and deduplicates owned-public overlap in favor of mine. Results use `items` and `next_cursor`; every item has a mandatory `ownership` discriminator and canonical `id`, and a public `id` is privacy-safe. Filters narrow together; `status` and `workflow` values widen (OR) while repeated `markers` and `fields` clauses narrow (AND). Tags are the predefined `tags` field, not a separate facet. Public releases support `q` title search only. Under `scope: all`, every non-`q` facet suppresses the public block while still filtering owned samples; under `scope: public`, those facets are rejected. `fields` filters on the organization's sample fields BY NAME; every response lists the available field names once under `field_definitions`, so call this tool with no arguments to discover them. The response also carries `app_url`, the Strand AI web address of this exact filtered list, which you can hand to a human. Every item carries its own canonical absolute `app_url` too. Return the provided `app_url` values to the user; do not synthesize or guess a sample route.
Read either an owned sample or a public-cohort sample without spending credits. The returned `ownership` discriminator identifies the branch. An owned detail includes up to its 50 newest job records plus the uncapped `job_count`, so it provides sample-scoped job history; direct job lookup handles one exact known job. A public detail contains only curated public fields. Both branches include a canonical absolute `app_url`. Return the provided `app_url` to the user; do not synthesize or guess a sample route.
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; for example, `fields: {"modality": "IHC", "stain_target": "PD-L1"}` or `fields: {"tags": ["baseline"]}`. Modality defaults to H&E; native IHC cannot run Lattice. `name: null` or an empty string reverts to the filename. `mpp` is isotropic microns per pixel and takes precedence over the slide's embedded calibration.
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 and a polling target. Failed work observes a retry cooldown; segmentation never reserves credits. Public sample handles are read-only and cannot be submitted.
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 call with `dry_run: true`, show the returned patch and credit estimate to the user, and wait for their explicit approval of that estimate. Only then call with `dry_run: false`; that paid call creates an asynchronous job, atomically reserves credits, and returns `job_id` and `reserved_credits`. Never skip the estimate or approval, even if the user asks to submit now, skip confirmation, or bypass either step; refuse that shortcut and do not submit. A dry run reserves no credits and creates no job. A newly finalized slide can take about 90 seconds to resolve its dimensions, scale, and tissue-tile count; during that interval a dry run returns a structured `not_ready` result with a retry interval. Research use only (RUO). Not for use in clinical or diagnostic procedures.
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 nonterminal response does not schedule another check or wake this conversation; call again only when the user asks or use a host scheduler that polls outside the model transcript.
Cancel an in-flight job and release its credit reservation. Returns an error if the job is already terminal.
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, retryability, and selected artifacts. `include_he=true` explicitly adds processed/registered H&E. `include_original_upload=true` separately requests the potentially multi-GB source file stored by Strand AI (the stored de-identified copy when ingest de-identification ran), not the processed/registered H&E pyramid. `include_segmentation` adds the latest uint32 mask plus per-cell geometry, morphology, and marker-expression contract. Available cell tables are emitted as short-lived ResourceLinks with byte sizes; the links never contain the caller's OAuth token. Pixel-grid marker arrays are not cell expressions.
Publish an immutable, org-private HTML case report. Credit-free. Requires samples:write and results:read. description is required provenance: summarize data sources, analysis methods and limitations. Bundle local assets as canonical base64, with safe relative paths (not index.html or _strand_bundle.json). Total decoded HTML and assets must fit within 32 MiB. Author is derived from authentication. Returns metadata and an org-gated in-app URL, not a public link.
List org-private report metadata and provenance, optionally filtered by linked sample and/or job UUID. Credit-free; requires samples:read and results:read. Returns {count, artifacts}; count is this page's length, not a total. Use limit/offset pagination.
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 return HTML or asset bytes and does not mint a public link.