Skip to main content

CRC-LNM Multimodal Research Assistant MCP

This MCP server provides a six-tool, research-assistance workflow for allowlisted, deidentified CRC-LNM cases. It accepts only precomputed 1409-dimensional CT features, 768-dimensional pathology features, and four clinical values. It does not accept raw imaging files, file paths, or external feature vectors.


ModelScope STDIO Deployment (Quick Start)

Step 1: Select Service Type

Select "STDIO" (NOT "Streamable HTTP")

Step 2: Fill These Fields Separately

Field Name Value to Enter
Command / 命令 uvx
Argument 1 / 参数1 --index
Argument 2 / 参数2 https://download.pytorch.org/whl/cpu
Argument 3 / 参数3 crc-lnm-medical-agent-twomeme@1.1.1
Argument 4 / 参数4 --transport
Argument 5 / 参数5 stdio

Step 3: Set Environment Variable

No environment variable or local path is required. The explicit CPU PyTorch index keeps the package request portable across hosted Linux workers.

Enter these as separate arguments. Do not paste a combined shell command into the command field.

Step 4: Deploy

Click deploy and wait for list_tools to complete with 6 tools.


Verification Order

  1. Build and inspect the wheel, then run the console entry point from an unrelated working directory.
  2. Publish the verified wheel to PyPI and start it with the exact uvx command above.
  3. Let ModelScope complete list_tools, then manually test each required tools.
  4. Obtain the ModelScope URL, add it as a Nexent custom MCP service, enable the six tools, debug the agent, and verify a post-publication question.

Technical Reference

MCP Server Configuration

{
  "mcpServers": {
    "crc-lnm-research-assistant": {
      "command": "uvx",
      "args": [
        "--index",
        "https://download.pytorch.org/whl/cpu",
        "crc-lnm-medical-agent-twomeme@1.1.1",
        "--transport",
        "stdio"
      ],
      "env": {}
    }
  }
}

Why the explicit CPU index?

It directs uvx to the CPU PyTorch wheels while keeping PyPI as the default index for the published MCP package and its other dependencies.

Why STDIO?

The published wheel contains the immutable model bundle and trusted release JSONL. initialize and list_tools construct only the lightweight MCP runtime. The model is loaded and integrity-checked on the first model operation; the case cache is built on the first case operation. Both use a platform temporary directory, so no repository, developer-machine path, or caller-supplied file is required.

All six tool schemas reject extra fields, including paths and URLs. Internal failures return a safe incident_id and failure_stage; these can be reported even where the platform does not expose server logs, without exposing stack traces or local paths.

docs/PLATFORM_DEPLOYMENT.md covers the separate authenticated Streamable HTTP container path. 使用说明.md documents the local release workflow and constraints.

Metadata

Release files for crc-lnm-medical-agent-twomeme 1.1.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for crc-lnm-medical-agent-twomeme 1.1.1
File Size Uploaded
crc_lnm_medical_agent_twomeme-1.1.1.tar.gz 17.5 MB Details

Built distribution (wheel)

Table of built distributions (wheels) for crc-lnm-medical-agent-twomeme 1.1.1
File Interpreter ABI Platform
crc_lnm_medical_agent_twomeme-1.1.1-py3-none-any.whl Python 3 none any Details

Total release size: 35.0 MB

Release files / crc_lnm_medical_agent_twomeme-1.1.1.tar.gz

Download URL crc_lnm_medical_agent_twomeme-1.1.1.tar.gz
Size 17.5 MB
Tags Source
SHA-256 checksum
How to use checksums
818bddf8dbd7e8ff015a06f1d6b467fcc57d6f3c2d7655ce43de398c2f4b9727
BLAKE2b-256 checksum
How to use checksums
d30564da483a61d12d8636f413ae0ac9b4d72a44bb5a89edb90c26e5470651e0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.9.13

Release files / crc_lnm_medical_agent_twomeme-1.1.1-py3-none-any.whl

Download URL crc_lnm_medical_agent_twomeme-1.1.1-py3-none-any.whl
Size 17.5 MB
Tags Python 3
SHA-256 checksum
How to use checksums
a70e714b5870e54f426fc475048eda56e1f489127aab1c20cc7b02cc949772b2
BLAKE2b-256 checksum
How to use checksums
91b1b4032314ab372f05409b8b952742c7e5e7c0d7000f4ae9622d33ce76549b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.9.13

Release history Release notifications | RSS feed

This release

1.1.1 This release

2 release files

1.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page