skill-router-mcp

skill-router-mcp

Indexes installed SKILL.md files and provides deterministic search and recommendation tools to help AI agents select relevant skills without executing them.

Category
Visit Server

README

Skill Router MCP

Skill Router MCP is a local, read-only router for large collections of agent skills. It indexes installed SKILL.md files, searches their metadata and workflows, reports duplicate definitions, and recommends a transparent candidate set to an AI agent.

The router does not execute skills and does not make the final choice. It returns:

  • primary candidates;
  • complementary skills;
  • additional candidates that might otherwise be hidden by a small result limit;
  • invocation mode (automatic, manual-only, or unspecified);
  • matching evidence and duplicate paths.

No LLM, embedding API, account, telemetry, or network call is used for routing.

MCP tools

  • inventory_skills — summarizes indexed roots, invocation modes, duplicate names, and read errors.
  • search_skills — deterministic scored search for a capability or task.
  • recommend_skills — proposes primary, complementary, and additional candidates while leaving the decision to the agent.
  • explain_skill — returns metadata and duplicate locations for an exact skill name.

All tools are declared read-only and idempotent.

Requirements

  • Node.js 20 or newer.
  • An MCP client with local stdio support, such as Cursor.

Install

npm install -g https://github.com/Agent-Nova-107/skill-router-mcp/archive/refs/heads/main.tar.gz

Add the server to Cursor's user MCP configuration:

{
  "mcpServers": {
    "skill-router": {
      "command": "skill-router-mcp"
    }
  }
}

Install the optional agent skill:

npx skills add Agent-Nova-107/skill-router-mcp --global --agent cursor --yes

Copy cursor/skill-routing.mdc to ~/.cursor/rules/skill-routing.mdc if you want Cursor to consult the router automatically for ambiguous or complex tasks.

Restart Cursor after changing MCP configuration.

Indexed locations

By default the server checks:

~/.agents/skills/
~/.cursor/skills/
<current-directory>/.agents/skills/
<current-directory>/.cursor/skills/

Override this list with SKILL_ROUTER_PATHS, using the operating system's normal path separator (; on Windows, : on Unix):

$env:SKILL_ROUTER_PATHS = "C:\skills;D:\team-skills"

Symbolic links are not followed. Skill files larger than 256 KiB and traversal deeper than eight directories are rejected.

Routing model

Routing is deterministic:

  1. Parse YAML frontmatter and invocation metadata.
  2. Normalize English and French task terms.
  3. Score name, description, workflow text, and lifecycle intent separately.
  4. Collapse duplicate names while exposing every duplicate path.
  5. Return a broad candidate pool divided into primary, complementary, and additional sections.

Scores rank candidates; they are not probabilities or quality ratings.

Security and limitations

  • Tools accept task text and skill names, not arbitrary filesystem paths.
  • The server only reads the configured skill roots.
  • Prompt text inside a skill is treated as searchable data, never executed.
  • Keyword routing can miss semantic relationships or rank generic descriptions too highly.
  • A recommendation proves relevance only, not quality, freshness, compatibility, or safety.
  • The AI agent must inspect the task, codebase, and selected skill before acting.

Development

npm ci
npm run check
npm test
npm run build

To smoke-test the stdio server with the MCP Inspector:

npx @modelcontextprotocol/inspector node dist/index.js

License

MIT

Recommended Servers

playwright-mcp

playwright-mcp

A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.

Official
Featured
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.

Official
Featured
Local
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.

Official
Featured
Local
TypeScript
VeyraX MCP

VeyraX MCP

Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.

Official
Featured
Local
graphlit-mcp-server

graphlit-mcp-server

The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.

Official
Featured
TypeScript
Kagi MCP Server

Kagi MCP Server

An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.

Official
Featured
Python
E2B

E2B

Using MCP to run code via e2b.

Official
Featured
Neon Database

Neon Database

MCP server for interacting with Neon Management API and databases

Official
Featured
Exa Search

Exa Search

A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.

Official
Featured
Qdrant Server

Qdrant Server

This repository is an example of how to create a MCP server for Qdrant, a vector search engine.

Official
Featured