Skip to main content
Glama
unfragile-mcp-server

unfragile-mcp-server

by Savirinc

@unfragile/mcp-server

Search for everything an agent can invoke. Every result labelled. For humans, agents and robots.

Unfragile is the neutral search layer for developers, agents and robots. This package gives any MCP client (Claude Code, Claude Desktop, Cursor, Windsurf, Cline, your own runtime) seven tools over the Unfragile index: the tool actions read from MCP servers, APIs, CLIs, SDKs, models, robots and devices, each checked by machine and labelled with what the check found.

  • Labelled, never softened. Every result carries one of: verified and signed · official · found in code, not yet checked · demo or tutorial · failed its last check. Labels are the instruments' verdict; no ranking, model or payment changes them.

  • Signed. Verified records carry an Ed25519 trust passport you can verify offline against the published public key.

  • Honest no. When nothing fits, unfragile_find says so and asks one question back. Retrieval and ranking are deterministic; the one language model in the system writes the single-sentence pick behind answer: true and may only choose among labelled results.

  • Free without a key, up to 300 questions a day. With an Unfragile key, $4 per 1,000 questions (pricing). Every tool calls the API at unfragile.ai.

Guides: for agents · for developers · for robots · API reference

Install

One line on a machine with Claude Code (prints the configuration block on any other machine):

curl -fsSL https://unfragile.ai/install.sh | sh

Claude Code

claude mcp add unfragile -- npx -y @unfragile/mcp-server

Claude Desktop, Cursor, Windsurf, Cline, any MCP client

Add to the client's MCP configuration (Claude Desktop: ~/Library/Application Support/Claude/claude_desktop_config.json; Cursor: .cursor/mcp.json; Windsurf: ~/.codeium/windsurf/mcp_config.json):

{
  "mcpServers": {
    "unfragile": {
      "command": "npx",
      "args": ["-y", "@unfragile/mcp-server"]
    }
  }
}

Related MCP server: NOMIK

Add it to every coding agent on this machine

npx -p @unfragile/mcp-server unfragile setup --dry-run   # shows what it would add, writes nothing
npx -p @unfragile/mcp-server unfragile setup             # asks before each agent

setup finds Claude Code, VS Code, Cursor, Windsurf, Gemini CLI, Claude Desktop and Codex, and adds one entry named unfragile to each one you say yes to: the hosted server (https://unfragile.ai/api/mcp) by default, or this package with --stdio. It uses each agent's own command where it has one, otherwise merges one key into the agent's config file after writing a backup. It never touches a model, a base URL, a key or another server's entry. Flags: --yes, --dry-run, --stdio, --only=cursor,vscode,….

Tools

Tool

What it does

unfragile_find

Arguments: task, limit (1–20), answer (boolean). The tool ACTION that does a task, across the actions in our index. Meaning search and word search fused, ranked by measured trust, reranked. Every result labelled. answer: true adds one definite pick with its reasoning, or an honest no with one question back.

unfragile_answer

One verified software record for a need, with evidence (tier, score, signed passport, freshness, adoption), a paste-ready install snippet and honest alternatives, or an honest no.

unfragile_search

A ranked list of software records with per-record evidence, for when a list beats the single pick.

unfragile_verify

Verify before invoke. A conservative verdict for a target, trusted · caution · unverified · flagged, with the signed passport attached. Never invoke a flagged target; treat unverified as review-first. Unknown is never safe.

unfragile_resolve

One intent in; one record, verdict, signed passport and invocation snippet out, in a single call.

unfragile_passport

The raw Ed25519-signed trust passport for a record, for programmatic policy checks, verifiable offline.

unfragile_stats

Live index numbers by door type.

The command line: verify before you install

The same package ships an unfragile command.

# Check a target before installing (exit code 1 = flagged, stop)
npx -p @unfragile/mcp-server unfragile verify npm:postmark-mcp

# Guard a real install: verifies the target first, blocks on FLAGGED
npx -p @unfragile/mcp-server unfragile guard -- claude mcp add pg -- npx -y @scope/pg-mcp

guard extracts the install target from a claude mcp add / npx / uvx / pip install command, verifies it, and blocks a flagged verdict (unless --force, which is logged). Every verdict is Ed25519-signed.

guard fails closed. If it cannot read an install target from the command, or verification fails (network error, timeout, non-2xx reply, malformed reply), the wrapped command does not run and the guard exits 3 with the reason. To run the command anyway, pass --allow-unverified before the --; the guard then prints a loud warning and runs it unverified. --allow-unverified never overrides a flagged verdict.

# Run unverified on purpose (prints a warning)
npx -p @unfragile/mcp-server unfragile guard --allow-unverified -- claude mcp add pg -- npx -y @scope/pg-mcp

Guard result

Exit

Command runs?

trusted / caution / unverified verdict

the command's own

yes

flagged verdict

1

no (--force overrides)

verification failed, or no target in the command

3

no (--allow-unverified overrides)

Ask your agent

  • "Find the tool that refunds a Stripe payment and tell me its label."

  • "Which action turns off the living room lights? Verified ones only."

  • "Verify npm:some-mcp-package before installing it."

  • "Get the signed trust passport for the pick."

  • "How big is the index right now?"

The rules

  1. Labels are the instruments' verdict. Read the label before acting on a result.

  2. Never invoke a failed or flagged target. Treat found in code, not yet checked as review-first.

  3. An honest no is an answer. Do not fill the gap with a guess.

  4. Cite the passport. A verified result's url is its signed passport.

How it works

Every tool calls the Unfragile API (free without a key up to 300 questions a day; with a key, $4 per 1,000): /api/v1/find, /api/answer, /api/v1/search, /api/v1/verify, /api/v1/resolve, /api/v1/passport, /api/v1/stats. The search runs on Unfragile's own GPU: a meaning index and a word index over the actions, fused and reranked, with trust as a measured nudge, never a label change. How we check.

Environment variables

Variable

Description

Default

UNFRAGILE_API_URL

API base URL

https://unfragile.ai

UNFRAGILE_MONITOR

Name your monitoring or test traffic: it is measured, never used to train the ranking

—

UNFRAGILE_HEADERS

Extra request headers as JSON, e.g. {"x-team":"qa"}

—

UNFRAGILE_API_KEY

Optional key for higher rate limits (CLI guard)

(none)

UNFRAGILE_VERIFY_TIMEOUT_MS

CLI verify timeout; a timeout blocks guard

15000

License

MIT

Available Tools

10 tools
compareAInspect

Compare two AI artifacts side-by-side. Shows capabilities, pricing, rank, and graph signals for each. Uses search-based lookup (best-effort name matching). Use this when deciding between alternatives.

Inputs: artifact_a (required), artifact_b (required).

feedbackAInspect

Report whether a recommended tool worked or not. This closes the learning loop — the Unfragile graph uses this feedback to improve future recommendations. Call this after trying a tool from search results.

Inputs: matchRecordId (required), outcome (required), comment.

find_mcpsAInspect

Find MCP servers by capability need. Use this when you need to discover MCP servers for specific integrations (e.g., databases, APIs, cloud services). Returns MCP servers ranked by capability match.

Inputs: need (required), limit.

find_stackBInspect

Assemble a complete AI harness stack for a use case. Given a description of what you're building, returns recommended tools across harness layers: orchestration, tools/MCPs, memory, guardrails, context assembly, and evaluation. This is the key differentiator — Unfragile understands that modern AI systems are composed of 5-15 tools working together.

Inputs: description (required), focus.

get_artifactAInspect

Get full details and capabilities for a specific AI artifact by name or slug. Uses search-based lookup (best-effort name matching — may return a different artifact for ambiguous names like 'express'). Use this to understand what an artifact can do before adding it to your stack.

Inputs: name (required).

resolve_capabilityAInspect

Resolve a capability:// URI or natural-language capability into ranked AI artifacts. This is Unfragile's capability DNS primitive. Use when an agent knows what capability it needs and must choose the safest current artifact at runtime.

Inputs: capability (required), limit, type, risk.

subscribeAInspect

Set up a persistent watch for new AI tools matching a query. Get notified daily when something new appears in the Unfragile graph. Requires at least one notification channel (email or webhook).

Inputs: query (required), type, email, webhook.

trust_passportAInspect

Get the machine-readable trust passport for an AI artifact. Use this before an agent selects a tool, API, MCP server, model, repo, or framework for a task. Returns capability URIs, permissions, data access risk, known failure modes, observed outcomes, and trust score.

Inputs: slug (required).

unsubscribeAInspect

Cancel a persistent watch (monitor). Use the monitor ID returned from subscribe.

Inputs: monitorId (required).

Tool Schema Changelog

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

Loading tool schema changelog…

    TDQS

    A3.9/5.0

    Scored across 10 tools

    Disambiguation5/5

    Each tool has a clearly distinct purpose: compare artifacts, give feedback, find MCPs, build stacks, get details, resolve capabilities, search, subscribe/unsubscribe, and get trust passports. No two tools overlap in function; descriptions further clarify boundaries.

    Naming Consistency4/5

    Tool names consistently use snake_case and descriptive verbs. Most follow a verb_noun pattern (e.g., find_mcps, get_artifact), though a few are single verbs (compare, feedback) or noun_noun (trust_passport). Minor inconsistency but overall predictable.

    Tool Count5/5

    With 10 tools, the server covers core discovery, comparison, stack building, feedback, and monitoring. The count is well-balanced for the domain—neither sparse nor overwhelming.

    Completeness4/5

    The tool surface covers search, comparison, details, trust, stack assembly, MCP discovery, feedback, and subscription management. Minor gaps (e.g., listing all monitors) are non-critical; core workflows are fully supported.

    Maintenance

    ActivityMaintained
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers