Skip to main content
Glama
phylax-mcp

phylax-mcp

Official
by praxi-labs

Phylax MCP Server

npm

A Model Context Protocol server for Phylax. Lets AI assistants verify packages, repositories and other MCP servers before using them.

Phylax MCP exposes the Phylax verification API through the Model Context Protocol, so any MCP aware assistant such as Claude, VS Code Copilot, Cursor or Windsurf can check a package, audit a dependency list, or refuse a risky tool as part of a conversation. It runs locally over stdio, or as a shared HTTP server for a team.

Features

  • Verify a package before the assistant suggests installing it

  • Verify another MCP server before you connect to it

  • Batch verify a whole dependency list in one call

  • Evaluate an artifact against your organization policy

  • Fetch signed attestations as evidence

  • Report the current plan and remaining quota

Related MCP server: attester-mcp

Install

Requires a Phylax API token. Create one at app.phyi.dev.

Claude Desktop

{
  "mcpServers": {
    "phylax": {
      "command": "npx",
      "args": ["-y", "@phyi/mcp"],
      "env": {
        "PHYLAX_API_TOKEN": "${PHYLAX_API_TOKEN}"
      }
    }
  }
}

Platform

Config file

macOS

~/Library/Application Support/Claude/claude_desktop_config.json

Windows

%APPDATA%\Claude\claude_desktop_config.json

Linux

~/.config/Claude/claude_desktop_config.json

Cursor

Same shape, in ~/.cursor/mcp.json for every workspace, or .cursor/mcp.json to scope it to one project.

VS Code

{
  "servers": {
    "phylax": {
      "type": "stdio",
      "command": "npx",
      "args": ["-y", "@phyi/mcp"],
      "env": {
        "PHYLAX_API_TOKEN": "${env:PHYLAX_API_TOKEN}"
      }
    }
  }
}

Reference the token rather than pasting it. A literal token in these files gets committed, screen shared and synced between machines.

Usage

Once connected, ask the assistant to verify something:

Use Phylax to verify pkg:npm/express@4.18.2 before we add it.

Tools exposed

Tool

Purpose

verify_artifact

Verify one package URL and return ALLOW, WARN or BLOCK.

verify_artifacts

Verify many at once. Preferred for a dependency list.

verify_mcp_server

Verify another MCP server before connecting to it.

check_policy

Evaluate an artifact against an organization policy.

get_attestation

Fetch signed attestations as evidence.

search_artifacts

Resolve a vague package name to a package URL.

phylax_status

Reachability, plan and remaining quota.

A BLOCK verdict is returned as a tool error, not as prose. An assistant that reads "this package is risky" as text will often carry on and use it anyway, so the refusal is made structural.

Self hosting over HTTP

For a team sharing one server rather than spawning one per user:

PHYLAX_API_TOKEN=... \
PHYLAX_MCP_AUTH_TOKEN=... \
npx @phyi/mcp --http --port 8765

The server refuses to start on HTTP without PHYLAX_MCP_AUTH_TOKEN. An unauthenticated MCP endpoint grants tool execution to anyone who can reach the port.

Set PHYLAX_MCP_AUDIENCE to reject tokens minted for a different service, even when they are otherwise valid.

Configuration

Variable

Default

Notes

PHYLAX_API_TOKEN

required

Your Phylax API token. PHYLAX_API_KEY also accepted.

PHYLAX_API_BASE_URL

https://api.phyi.dev

PHYLAX_MCP_TRANSPORT

stdio

Set to http for a shared server.

PHYLAX_MCP_PORT

8765

HTTP only.

PHYLAX_MCP_AUTH_TOKEN

none

Required for HTTP.

PHYLAX_MCP_AUDIENCE

none

Expected aud claim on inbound tokens.

Troubleshooting

The assistant never calls a tool. The client did not start the server. Run the command yourself to see the error the client swallowed:

PHYLAX_API_TOKEN=... npx @phyi/mcp

Every tool reports unauthenticated. The token is missing, malformed or revoked. Ask the assistant to run phylax_status.

Every tool reports plan_required. The capability is not part of the current subscription.

The client shows a broken protocol stream. Something wrote to stdout. On stdio, stdout carries the protocol; all logging goes to stderr.

Development

npm install
npm run typecheck
npm test
npm run build

License

MIT

The rest of Phylax

Tool

Where to get it

JavaScript SDK

@phyi/sdk on npm

Python SDK

phylax-sdk, PyPI release pending

MCP server

@phyi/mcp on npm

Agent runtime gate

@phyi/runtime-gate on npm

VS Code extension

phylax.phylax on the Marketplace

GitHub Action

praxi-labs/phylax-action

Browser extension

praxi-labs/phylax-chrome, Web Store listing pending

Docs live at phyi.dev.

Available Tools

7 tools
check_policyA

Evaluate an artifact against an organization policy and return the decision. Use when the user asks whether something is allowed by their rules, rather than whether it is generally safe.

Inputs: artifact (required), policy.

get_attestationA

Fetch the signed attestations behind an artifact verdict. Use when the user asks for evidence, provenance detail, or wants to verify offline.

Inputs: artifact (required), limit.

phylax_statusA

Check that the Phylax API is reachable, the token works, and report the current plan and remaining quota. Use when other tools fail, to tell an outage apart from a plan or credential problem.

Inputs: no named parameters.

search_artifactsA

Search Phylax for artifacts by name. Use to resolve a vague package name to a concrete package URL before verifying it.

Inputs: query (required), ecosystem.

verify_artifactA

Verify a software artifact before installing, executing or depending on it. Accepts a package URL such as pkg:npm/express@4.18.2 or pkg:pypi/requests@2.32.3. Returns ALLOW, WARN or BLOCK with a risk score and findings. Call this before suggesting an install command for any third party package.

Inputs: artifact (required), policy.

verify_artifactsA

Verify many artifacts in a single call. Use when checking a dependency list, a lockfile, or several candidate packages at once. Preferred over calling verify_artifact repeatedly.

Inputs: artifacts (required), policy.

verify_mcp_serverA

Verify a Model Context Protocol server before connecting to it or enabling its tools. Checks provenance, requested permissions, the tool surface for unsafe operations, and known risk signals. Call before adding any third party MCP server.

Inputs: server (required).

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A4.1/5.0

    Scored across 7 tools

    Disambiguation5/5

    Each tool targets a distinct aspect of the verification workflow: single vs batch verification, MCP servers, attestations, policy checks, search, and status. Even verify_artifact and verify_artifacts are clearly delineated by cardinality with explicit guidance on when to use each.

    Naming Consistency4/5

    The majority use a clear verb_noun pattern (verify_*, get_*, check_*, search_*). The singular phylax_status breaks the pattern by using a noun_verb structure, though it is still readable and not confusing.

    Tool Count5/5

    At seven tools, the set is well-scoped for a verification service without redundancy or bloat. Each tool addresses a distinct need, and the batch variant is a justified convenience rather than a duplicate.

    Completeness4/5

    The core workflow (search, verify, attest, policy-check, status) is well covered. A minor gap is that check_policy handles only artifacts, not MCP servers, so policy evaluation for MCP server permissions is not explicit.

    Maintenance

    ActivityInactive
    ResponsivenessOutdated data

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      A
      quality
      D
      maintenance
      MCP server for verification and API-existence oracle tools, enabling AI agents to check package existence, symbol details, and version diffs with signed attestations.
      9
      MIT
    • A
      license
      A
      quality
      C
      maintenance
      An MCP server that provides tools for certificate verification, equivalence proving, and pre-registration sealing, enabling AI agents to re-derive verdicts from artifacts rather than trust assertions.
      9
      Apache 2.0
    • A
      license
      Not graded
      quality
      D
      maintenance
      A continuous, out-of-band trust and reliability layer for the MCP ecosystem. It fingerprints MCP server tool definitions, detects and classifies drift (e.g., rug pulls) via a severity taxonomy, maintains a hash-chained evidence ledger, and gates CI with SARIF—while also acting as an MCP server itself so agents can check a server's safety before binding.
      Apache 2.0