Back to Browse

Phageagent MCP Server

by Yiyabo
Developer ToolsLow Risk10.0MCP RegistryRemote
Free

Server data from the Official MCP Registry

PhageAgent MCP: PhageScope phage database and analysis tasks. Sign up at phageagent.deepomics.org.

About

PhageAgent MCP: PhageScope phage database and analysis tasks. Sign up at phageagent.deepomics.org.

Remote endpoints: streamable-http: https://phageagent.deepomics.org/mcp

Security Report

10.0
Low Risk10.0Low Risk

Valid MCP server (1 strong, 1 medium validity signals). No known CVEs in dependencies. Imported from the Official MCP Registry. Trust signals: trusted author (3/3 approved).

19 tools verified · Open access · No issues found

Security scores are indicators to help you make informed decisions, not guarantees. Always review permissions before connecting any MCP server.

Permissions Found in Source Code

Found by scanning the linked source code. This listing connects to a hosted endpoint, so none of this runs on your machine: it describes what the server software does where it is hosted.

HTTP Network Access

Connects to external APIs or services over the internet.

How to Connect

Remote Plugin

No local installation needed. Your AI client connects to the remote endpoint directly.

Add this to your MCP configuration to connect:

{
  "mcpServers": {
    "io-github-yiyabo-phageagent": {
      "url": "https://phageagent.deepomics.org/mcp",
      "headers": {
        "Authorization": "Bearer <YOUR_TOKEN>"
      }
    }
  }
}

This server needs this header. Replace each <YOUR_...> placeholder with your own value:

  • Authorization (required): Bearer <PhageAgent MCP token (gpsk_...)>

Documentation

View on GitHub

From the project's GitHub README.

mcptry

PhageAgent MCP

Remote MCP server for the PhageScope phage database (about 2.6M phage genomes, 131M proteins, 12.6M protein families) plus analysis tasks run by PhageAgent.

  • Endpoint: https://phageagent.deepomics.org/mcp (Streamable HTTP)
  • Auth: Authorization: Bearer gpsk_..., a personal token you create yourself
  • Access: anyone can sign up. Questions: xxwang5587@gmail.com

Introduction website (Chinese)

The responsive introduction site is in docs/, with a shareable Chinese introduction. It is a dependency-free static site: preview with python -m http.server 8080 --directory docs. It never receives tokens or calls the MCP service. After publication approval, GitHub Pages can serve the public repository's main branch, /docs folder; adding these files does not enable Pages or deploy anything.

1. Get a token

  1. Open https://phageagent.deepomics.org/register and create an account (email + password), or sign in at https://phageagent.deepomics.org/login.
  2. Click Extensions (扩展) in the top bar, or go to https://phageagent.deepomics.org/extensions.
  3. Open the External access (外部接入) tab.
  4. Under Your tokens, type a name such as claude-code and click Create token (创建令牌).
  5. Copy the gpsk_... value right away: it is shown only once. Tokens expire after 90 days; revoke one from the same table.

Keep it in an environment variable rather than in a config file:

export PHAGEAGENT_MCP_TOKEN=gpsk_...

Scripts can also create tokens over HTTP with a signed-in session: POST /phagescope-mcp/tokens {"name": "<client>"} (list: GET, revoke: DELETE /phagescope-mcp/tokens/{id}). Without a session it answers 401.

2. Connect a client

Any client with a JSON mcpServers file and HTTP support (Cursor, WorkBuddy, Hermes, Devin and others):

{
  "mcpServers": {
    "phageagent": {
      "url": "https://phageagent.deepomics.org/mcp",
      "headers": { "Authorization": "Bearer ${PHAGEAGENT_MCP_TOKEN}" }
    }
  }
}

Claude Code (plugin; prompts for the token):

claude plugin marketplace add yiyabo/phageagent-mcp
claude plugin install phageagent@phageagent
claude plugin configure phageagent@phageagent

Codex (plugin; reads PHAGEAGENT_MCP_TOKEN):

codex plugin marketplace add yiyabo/phageagent-mcp
codex plugin add phageagent@phageagent

Hermes (until the catalog entry is accepted):

hermes mcp add phageagent --url https://phageagent.deepomics.org/mcp \
  --header "Authorization: Bearer $PHAGEAGENT_MCP_TOKEN"

stdio-only clients can bridge with npx -y mcp-remote https://phageagent.deepomics.org/mcp --header "Authorization: Bearer ${PHAGEAGENT_MCP_TOKEN}".

3. First query

Ask your agent: "Use PhageAgent to look up phage NC_001416.1." It calls get_phage with {"accession": "NC_001416.1"}. Without a client, the same call is:

curl -s https://phageagent.deepomics.org/mcp \
  -H "Authorization: Bearer $PHAGEAGENT_MCP_TOKEN" \
  -H 'Content-Type: application/json' -H 'Accept: application/json, text/event-stream' \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/call",
       "params":{"name":"get_phage","arguments":{"accession":"NC_001416.1"}}}'

Expected result (Enterobacteria phage lambda, 48,502 bp; the JSON arrives as one text block, shortened here):

{
  "tool": "get_phage",
  "data": {
    "id": 13, "Acession_ID": "NC_001416.1", "dataset": "RefSeq",
    "length": 48502, "host": "Escherichia coli", "lifestyle": "temperate",
    "completeness": "High-quality", "taxonomy": "Caudoviricetes", "protein_count": 73,
    "host_lineage": {"Family": "Enterobacteriaceae", "Genus": "Escherichia", "...": "..."}
  },
  "provenance": {
    "source": "PhageScope via the GAgent read-only data service",
    "snapshot": {"checked_on": "2026-09-11"},
    "retrieved_at": "..."
  },
  "limits": {"returned_rows": null, "truncated": false},
  "notes": ["A missing or null field means the value is unknown, not zero or absent."]
}

A null field means unknown, never zero. 401 means the token is missing, mistyped, revoked or expired; its body links to Get a token in error.help_url. A failed tool call returns isError: true with {"error": {"code", "message"}}; bad or missing arguments always use the code invalid_arguments. 429 (with Retry-After) means too many requests per token or per client IP.

Tools

Every token gets all 21 tools. Data reads are capped at 2 GB per token per day; analysis tasks have no quota during the test phase.

ToolWhat it does
catalog_overviewCatalog-wide counts and the dataset list. Start here.
search_phagesPhages matching filters (host, taxonomy, lifestyle, dataset, length, GC...), paged
cohort_reportSize, composition breakdowns and sample rows of a filtered cohort
aggregate_phagesPhage counts grouped by 1-3 dimensions
get_phageMetadata of one phage: taxonomy, host lineage, lifestyle, quality, cluster
get_sequenceGenome sequence of one phage, capped at max_bases
search_proteinsProteins of one phage (by product text or function class), or proteins by id
search_familiesProtein families by keyword, member protein id or family id
family_membersMember proteins of one family, paged
query_featuresAnnotated tRNA, CRISPR, anti-CRISPR, terminator, virulence, AMR, transmembrane features
get_structuresStructure availability and links for protein ids
similarity_searchMMseqs2 search of 1-50 protein sequences against PhageScope proteins
get_similarity_resultStatus and paged hits of a similarity_search by its search_id
list_local_toolsDocker tools and ready-made workflows for analysis on your own machine
plan_local_analysisdocker pull, database setup and docker run commands for a workflow or chosen steps, sized to your machine
submit_analysisHand an analysis request to PhageAgent; returns a task id
get_analysis_statusStatus and recent progress of a task
get_analysis_resultSummary, deliverables and provenance of a finished task
reply_analysisContinue a task with a follow-up message
cancel_analysisStop a working task
list_analysesThis token's recent tasks, newest first

The first 13 are read-only data tools; the last 6 run analysis tasks. The server's tools/list is the source of truth; scripts/check_tools_doc.py fails a release when this table and tools/list differ.

Layout

PathFor
.claude-plugin/marketplace.json, claude/phageagent/Claude Code plugin marketplace; the token is a sensitive userConfig option
.agents/plugins/marketplace.json, codex/phageagent/Codex plugin marketplace; the token comes from PHAGEAGENT_MCP_TOKEN
hermes/manifest.yamlDraft entry for Hermes' curated catalog (optional-mcps/phageagent/manifest.yaml in NousResearch/hermes-agent)
registry/server.jsonOfficial MCP Registry entry (io.github.yiyabo/phageagent)
scripts/check_tools_doc.pyCompares the Tools table with the live tools/list
PRIVACY.mdPrivacy policy

This repository is published from the PhageAgent server source, which is kept in a private repository; open an issue here for questions about server behavior or access.

Checks

  • Docs vs server, on every release and daily in CI: python scripts/check_tools_doc.py --url https://phageagent.deepomics.org/mcp README.md
  • claude plugin validate . and claude plugin validate ./claude/phageagent
  • codex plugin marketplace add "$PWD" && codex plugin add phageagent@phageagent && codex mcp list
  • HERMES_OPTIONAL_MCPS=<dir containing phageagent/manifest.yaml> hermes mcp catalog
  • registry/server.json against https://static.modelcontextprotocol.io/schemas/2025-12-11/server.schema.json

Reviews

No reviews yet

Be the first to review this server!