ImmunoGraph MCP

io.github.Ajey95Published by GitHub account Ajey95v0.2.1Updated Nov 1, 2026

Provenance-aware computational epitope research tools with reproducible offline demonstrations.

Overview

AI-generated overview

A stdio MCP server with 46 typed tools for computational epitope research: sequence handling, immune evidence, structure and chemistry analysis, docking, and…

What you can do
  • Validate FASTA sequences, generate peptide windows, and call enabled MHC-I/II and B-cell predictors
  • Normalize scores, compute consensus and HLA coverage, and rank caller-supplied evidence
  • Apply candidate constraints such as overlap, duplicates and thresholds
  • Fetch PDB/AlphaFold structures and PubChem compounds, then run accessibility, pocket and Mol* viewer steps
  • Prepare ligands and receptors and run docking, pose clustering and contact analysis where the binaries are installed
  • Export CSV, PDB, SDF, PDBQT, reports, workflow traces and a checksummed research ZIP
When to use it
For computational immunology, vaccine research, structural bioinformatics or medicinal chemistry teams that want an assistant to chain sequence, prediction, structure and docking steps while keeping each result's source visible. Also useful for teaching and reproducibility review, where labelled fixtures can demonstrate a workflow.
Requirements
Runs as a local stdio process, either from the versioned npm tarball (Node.js 20 or newer) or the published OCI image via Docker. Live connectors are off by default and are switched on with environment flags such as IEDB_LIVE_ENABLED, RCSB_PDB_ENABLED, ALPHAFOLD_DB_ENABLED, PUBCHEM_ENABLED, VINA_ENABLED and PLIP_ENABLED, plus provider network access and separately installed Python packages or native binaries. HTTP mode needs IMMUNOGRAPH_API_KEY, IMMUNOGRAPH_ALLOWED_HOSTS and…
Before you install
Results are for computational research and education only; a predicted epitope, docking pose or score does not establish binding, efficacy or safety, and fixture or synthetic outputs are demonstrations. Enabling live connectors sends inputs to third-party services such as IEDB, RCSB, AlphaFold DB and PubChem. Exports write files to the host. HTTP deployment requires an API key, allowed hosts and origins, and TLS at the ingress; read the security notes first.

Installation

In SourceWeft

  1. Open ImmunoGraph MCP in the dashboard and add it to a workspace.
  2. Enable the server for the chats that should use its tools.

Desktop only via STDIO. STDIO servers start a local process, so they need the SourceWeft desktop host.

Other MCP clients

Follow the launch instructions in the repository.

README

ImmunoGraph MCP

[Illustrative ImmunoGraph banner with a protein ribbon, molecular motif, and the words ImmunoGraph: MCP for inspectable research.]

[CI status] [Release v0.2.1] [MIT license] [46 MCP tools] [Listed in the official MCP Registry]

A standard Model Context Protocol server for computational epitope research. Call 46 typed tools for sequence processing, immune evidence, structure and chemistry analysis, docking, and reviewable exports. Results carry provenance so a live provider result stays distinct from a fixture or synthetic demonstration.

Problem · Who it is for · User flow · Get started · 3D outcomes · All 46 tools · Contribute

[!IMPORTANT] ImmunoGraph supports computational research, not clinical or experimental validation. A predicted epitope, docking pose, score, or exported 3D model does not establish binding, vaccine efficacy, or safety. Fixture and synthetic results are demonstrations and are labelled as such.

The problem

An epitope research workflow crosses different kinds of software: sequence processing, immune predictors, HLA coverage, structure databases, molecular preparation, docking, interaction analysis, and reporting. Each step has its own input format, runtime, and scientific assumptions. When an LLM or research application chains them together, it must also keep track of which inputs and methods produced each result. A plausible looking score or 3D view is easy to misread if its source is missing.

ImmunoGraph gives an MCP host one typed interface for these steps. The host can discover and call individual tools, pass outputs between them, and inspect explicit source labels and exported bytes. This reduces custom integration code for a reviewable computational workflow; it does not replace scientific judgment or validate a prediction by itself.

Who it is for

AudienceTypical use
Computational immunology and vaccine research teamsAssemble and review sequence, MHC, B-cell, coverage, and structural evidence for candidate exploration
Structural bioinformatics and medicinal chemistry researchersPrepare coordinates, run configured docking tools, inspect poses and contacts, and export the actual files
Developers building LLM research assistantsExpose typed scientific operations through standard MCP instead of writing a separate adapter for every step
Educators and reproducibility reviewersDemonstrate a workflow with clearly marked fixtures, then inspect method boundaries, provenance, and artifacts

The outputs are for research and education. Clinical decisions, efficacy claims, and experimental validation require independent methods and evidence.

What you can do

ExploreAnalyzeReview and share
Validate FASTA, generate peptide windows, retrieve PDB structures and PubChem compoundsCall enabled IEDB predictors; calculate consensus and coverage; run RDKit, FreeSASA, fpocket, Meeko, Vina, and PLIP where installedRank caller-supplied evidence; export CSV, PDB, SDF, PDBQT, docking poses, Mol* or docking viewers, and a checksummed research ZIP

This is one server with 46 tools, not 46 independent live data providers. Each tool is callable on its own. A client passes results between calls when building a workflow.

User flow

The researcher works in an MCP-enabled chat or application. The client chooses the calls and carries evidence forward; ImmunoGraph executes each requested operation and returns a typed result.

StepResearcher or client actionImmunoGraph response
1. ConnectAdd the stdio server to an MCP host; enable only the live connectors needed for the studyThe host discovers 46 tools and their input schemas
2. Define inputsProvide a FASTA sequence and study criteriavalidate_sequence checks and hashes the sequence; generate_candidate_peptides enumerates real peptide windows
3. Gather evidenceRequest available MHC-I/II, B-cell, population, or other calculationsEach call returns scores or a structured failure with source status; live predictors require their configured service
4. PrioritizePass selected evidence, thresholds, and coverage data into the scoring and constraint toolsNormalized scores, consensus, exclusions, and ranked candidates depend on the supplied evidence
5. Inspect structureOptionally fetch PDB/compound data and run accessibility, pocket, ligand, docking, or contact toolsCoordinate-based outputs, pose files, 3D viewer HTML, and analysis data where the scientific runtime is installed
6. Review and exportInspect source labels and parameters, then request reports, CSV, trace, or research ZIPFile bytes with lengths and SHA-256 hashes for independent saving and verification

This flow is modular: a user can call one tool without running every stage. run_agentic_workflow executes caller-supplied, approved tool calls; without those calls it returns a plan rather than silently launching a full study. See architecture and the tool reality matrix for exact execution boundaries.

Get started

Install the public release

Node.js 20 or newer is required. The versioned tarball is hosted on GitHub and installs with npm; the immunograph-mcp name is not yet published on the npm registry.

bash
npm install --global https://github.com/Ajey95/immuno-graph/releases/download/v0.2.1/immunograph-mcp-0.2.1.tgz

Register the installed command in an MCP host that supports stdio servers:

json
{  "mcpServers": {    "immunograph": {      "command": "immunograph-mcp"    }  }}

The server speaks MCP on stdio, so launch it through your host. If the host cannot find the globally installed command, configure its absolute path. The GitHub release also includes the source and a SHA-256 checksum for the tarball. The downloaded public tarball matched that checksum.

Run the public container

The official MCP Registry entry points to the public OCI image. For a local stdio host, use:

json
{  "mcpServers": {    "immunograph": {      "command": "docker",      "args": [        "run", "--rm", "-i",        "ghcr.io/ajey95/immuno-graph:0.2.1",        "node", "dist/index.js"      ]    }  }}

The container also supports guarded Streamable HTTP at /mcp. See HTTP deployment for its required security settings.

Build from source

bash
git clone https://github.com/Ajey95/immuno-graph.gitcd immuno-graphnpm cinpm run checknpm start

npm start serves stdio MCP. npm run check runs the software tests, build, all-tool example calls, semantic audit, dependency audit, and package dry run. For a host, point command at node and args at the absolute path to dist/index.js.

How it works

mermaid
flowchart LR    A["FASTA · PDB · SMILES"] --> H["MCP host"]    H --> S["ImmunoGraph<br/>46 typed tools"]    S --> D["Local calculations<br/>and exact fixtures"]    S --> L["Optional live<br/>connectors"]    D --> R["Results + provenance"]    L --> R    R --> O["Reports · 3D files · ZIP"]

The host chooses which tools to call. ImmunoGraph validates typed inputs, executes a handler, and returns structured success or failure data with run metadata and source labels. The server does not silently run a full study or treat fixture values as live evidence. See architecture for transport and module details.

Technical design

ConcernImplementationWhy it matters
Client interoperabilityOfficial MCP SDK; stdio for local hosts and guarded Streamable HTTP for deploymentsOne discoverable tool contract works across MCP-capable clients
Input and result contractsZod schemas, typed handlers, structured MCP results, explicit errorsClients can validate arguments and handle failures programmatically
Scientific provenanceSource status, method/run metadata, and versioned exact-match fixturesReviewers can distinguish configured live work from offline demonstrations
Export integrityInline artifact bytes, byte lengths, and SHA-256 digestsA host can save actual PDB/PDBQT/CSV/ZIP files and verify them
Operational boundariesOptional connectors and local scientific binaries are configured separatelyMissing providers fail explicitly or use only the requested, labelled fallback

The registry entry points to the published OCI image. Optional scientific binaries, model downloads, and third-party service availability remain separate runtime requirements.

A research workflow

mermaid
flowchart LR    FASTA["Protein FASTA"] --> V["Peptide windows"]    V --> E["Immune evidence"]    E --> R["Constraints + ranking"]    R --> X["Reviewable exports"]    E -.->|Optional| S["Structure + docking"]    S -.-> X

These are separate MCP calls. Rankings and reports depend on the evidence the client supplies. With live prediction disabled, an arbitrary new protein has no automatic scientific binding result.

Docking and 3D files

Configured live tools can use actual coordinates rather than decorative models:

mermaid
flowchart LR    P["Protein PDB"] --> R["Meeko receptor<br/>PDBQT"]    L["Compound / SMILES"] --> M["RDKit + Meeko ligand<br/>SDF + PDBQT"]    R --> V["AutoDock Vina"]    M --> V    V --> POSE["Pose PDBQT<br/>complex PDB"]    POSE --> VIEW["3D viewer HTML"]    POSE --> PLIP["PLIP contacts"]    POSE --> ZIP["Research ZIP"]

Real 3D outcomes

1IEP + imatinib: exported top Vina pose. This figure is rendered from a saved complex PDB produced by a LIVE_ONLY MCP docking call. Panel A traces the protein Cα coordinates and shows the ligand; panel B shows the ligand and protein atoms within 5 Å. The render script reproduces the image from those coordinates. This is a docking capability example, not an epitope candidate; the pose score is a computational estimate, not measured affinity.

[Two coordinate-based 3D views of the 1IEP protein and a docked imatinib pose: a protein C-alpha trace and a close view of ligand atoms near protein atoms.]

1UYD + PubChem CID 2244: three computed poses. This figure comes from the live docking research ZIP, which includes the receptor, ligand, Vina poses, complex, and image. Its run provenance and summary identify the sources and nine generated poses; the image shows three of them. The callouts show distances calculated from the coordinates; dashed polar contacts are inferred geometry, not experimentally established bonds.

[Three real 3D Vina docking pose renders for the 1UYD receptor and PubChem CID 2244 ligand, each with a protein ribbon, ligand, nearby residues, and coordinate-derived distance callouts.]

The live docking guide documents inputs, runtime requirements, example files, and verification of the exported pose chain. An interactive 3D viewer visualizes returned coordinate data; neither image establishes experimental binding.

Provenance you can inspect

Result pathMeaningScientific use
LIVEA configured external provider or local scientific runtime executed on supplied inputsReview its method, parameters, and limitations
FIXTUREAn approved, exact-match offline replayDemonstration only
SYNTHETICDeterministic teaching data generated by a demo toolDemonstration only
Caller-supplied calculationsRanking, constraints, calibration, and reporting transform supplied evidenceDepends on the quality and provenance of that evidence

The 46-tool reality matrix records what each tool actually computes or fetches and the verification performed. In particular, GraphBepi is fixture-only in this release; Parker is a hydrophilicity calculation; BepiPred-3.0 is the supported live B-cell option when enabled.

Tool catalog

GroupToolsExamples
Prediction6FASTA validation, peptide windows, MHC-I/II, B-cell
Evidence and prioritization9Score normalization, consensus, HLA coverage, ranking
Constraints5Overlap, duplicates, thresholds, candidate rules
Structure7RCSB/AlphaFold, accessibility, pockets, Mol*
Chemistry5PubChem, RDKit descriptors, ligand preparation
Docking5Receptor preparation, Vina, pose clustering, PLIP
Reports and utilities9CSV/report data, explanations, workflow trace, ZIP
Total46One MCP server

See the complete tool catalog and input contracts. To try one call, invoke validate_sequence with:

json
{  "fasta": ">protein\nACDEFGHIK",  "profileVersion": "mvp-v1.0"}

It returns the normalized sequence, length, and SHA-256 identity, or a structured validation error.

Enable live connectors

Most live connectors are disabled by default. Set flags in the MCP server's environment and install the relevant provider runtime or allow its network endpoint. .env.example lists the settings.

CapabilitySwitchAdditional requirement
IEDB MHC-I/II, BepiPred-3.0, population coverageIEDB_LIVE_ENABLED, IEDB_BCELL_ENABLED, IEDB_POPULATION_COVERAGE_ENABLEDAccess to the relevant IEDB APIs
RCSB PDB, AlphaFold DB, PubChemRCSB_PDB_ENABLED, ALPHAFOLD_DB_ENABLED, PUBCHEM_ENABLEDProvider network access
RDKit, Meeko, FreeSASA, fpocketSee environment configurationInstalled Python packages or native binaries
AutoDock Vina and PLIPVINA_ENABLED, PLIP_ENABLEDInstalled runtimes and valid coordinate inputs

If a required provider or binary is unavailable, the tool returns an explicit failure or a labelled fallback according to the requested policy. The npm tarball and container do not bundle optional scientific binaries or model downloads.

HTTP deployment

npm run start:http serves http://127.0.0.1:3000/mcp locally, with GET /health as a health probe. For a remote endpoint, set HOST=0.0.0.0, a long IMMUNOGRAPH_API_KEY, exact IMMUNOGRAPH_ALLOWED_HOSTS and IMMUNOGRAPH_ALLOWED_ORIGINS, and terminate TLS at your ingress. The image runs the HTTP entry point by default; publishing the image does not create a managed endpoint. Read SECURITY.md before deployment.

Verification and scope

The CI workflow checks Windows and Linux on Node.js 20 and 22. A standard MCP client has exercised all 46 documented examples; the semantic audit checks calculations, provenance, and artifact hashes. The v0.2.1 container release run tested 46-tool discovery and a real call over Docker stdio, guarded HTTP, and a test TLS ingress. The protocol audit also checks that every tool advertises parameter descriptions and a structured result schema. These checks establish software behavior and packaging, not the accuracy of every scientific method or continuous availability of third-party services.

The motivation is familiar in epitope research: studies such as Grifoni et al. (2020) and Ferreira et al. (2021) combine sequence analysis, prediction, conservation, and other evidence across tools. ImmunoGraph makes computational handoffs easier to inspect; independent review and experimental validation remain necessary.

Contribute and get help

Contributions and reproducible bug reports are welcome. Start with CONTRIBUTING.md, open an issue, and report security concerns through SECURITY.md. Released changes are in CHANGELOG.md. ImmunoGraph is available under the MIT license.

Source: README.md at commit ae48704

Tools

0
SourceWeft started this package once in an isolated sandbox, without credentials, to list its tools. That failed: the package type cannot run in the sandbox.

Version history

2
  1. v0.2.1LatestNov 1, 2026
  2. v0.2.0Oct 31, 2026

Score

50% of the applicable checks met

How complete this listing is, computed from the registry entry, the endpoint and public sources. Not a rating of the server and not a statement that it is safe or working today: reachability is a dated check, and no installs or reviews go into the score.

  • Reached in the last 30 days25 pts

    Keep the endpoint answering the MCP handshake; SourceWeft probes it every 30 days.

  • Auth declared10 pts

    Declare the credential headers in the registry entry, or keep the endpoint answering the probe so its auth can be classified.

  • Tools listed15 pts

    Answer tools/list without a credential, or ship a package that starts in a sandbox without one.

  • DescriptionRequired15 pts
  • Logo10 pts
  • Documentation15 pts
  • License10 pts