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@1.1.0
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@1.1.0",
        "--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.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

crc_lnm_medical_agent_twomeme-1.1.0.tar.gz (17.5 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

crc_lnm_medical_agent_twomeme-1.1.0-py3-none-any.whl (17.5 MB view details)

Uploaded Python 3

File details

Details for the file crc_lnm_medical_agent_twomeme-1.1.0.tar.gz.

File metadata

  • Download URL: crc_lnm_medical_agent_twomeme-1.1.0.tar.gz
  • Upload date:
  • Size: 17.5 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.12.0 {"installer":{"name":"uv","version":"0.12.0","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":null,"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for crc_lnm_medical_agent_twomeme-1.1.0.tar.gz
Algorithm Hash digest
SHA256 7c3e84cb5d8f895383af63b932f372f9be4f0f7c6ef7dcfab3e5d5df6337d6b8
MD5 bfb90408911ad4dced88d7b7bdb24dfc
BLAKE2b-256 d8deaae2d23e5bd3452fb7dd11c85dce40de3f5e8e4e90398aa2c590a3ca1932

See more details on using hashes here.

File details

Details for the file crc_lnm_medical_agent_twomeme-1.1.0-py3-none-any.whl.

File metadata

  • Download URL: crc_lnm_medical_agent_twomeme-1.1.0-py3-none-any.whl
  • Upload date:
  • Size: 17.5 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.12.0 {"installer":{"name":"uv","version":"0.12.0","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":null,"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for crc_lnm_medical_agent_twomeme-1.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 f6dd1ecf72fbee3ddcfbaf5087d7e9774c966e5c2a36c1660b9707d71199695a
MD5 5664b0031642453165df26a6201fa580
BLAKE2b-256 eae8a5b95be8bea0809a1c41b8e056a011240a799a3b7287cdfc8e82058557ad

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page