fastroute
fastroute
本地 MCP 插件:agent 接到新任务时,从本地已安装的全部 skill(用户级/插件级/项目级)中检索 Top-N 推荐。只推荐不执行。
索引方法来自 SkillRouter(arXiv 2603.22455):all-field 分段多向量(name+description 一个向量 + 正文 ~800 字符切块各一个向量),查询对每块算余弦、skill 得分取 max-pool。
工具
工具 | 用途 |
| 任务开始前检索最相关 skill;返回 score、tier(auto/prompt/skip,参考值)、调用名与路径 |
| 安装/删除 skill 后增量重建索引(mtime diff),无需重启会话 |
Related MCP server: skills-mcp-server
安装(Claude Code)
claude mcp add fastroute -- node /absolute/path/to/fastroute/dist/index.js数据与模型
数据目录
~/.fastroute(FASTROUTE_DATA_DIR覆盖):fastroute.db、config.json、models/embedding 模型:
Xenova/paraphrase-multilingual-MiniLM-L12-v2(q8,约 135MB),首次调用工具时联网下载,默认 ModelScope 镜像(FASTROUTE_EMBEDDING_HOST可指回https://huggingface.co);已有~/.knowyoubetter/models缓存时直接复用模型是硬依赖:离线且无缓存时工具返回错误与下载指引,无词法降级
config.json 可覆盖:
chunkSize(800)、autoThreshold(0.9)、promptThreshold(0.6)、topK(5)、userSkillsDir、pluginCacheDir、projectSkillsEnabled修改
chunkSize后已有索引不会自动重切:需删除~/.fastroute/fastroute.db再调用reindex_skills
开发
npm install
npm test # 单测 + 集成(fake embedder,不联网)
npm run test:real # 真实 embedding 冒烟(首次下载模型)
npm run eval # distractor 评测:Hit@1/Hit@5/MRR
npm run build
npx @modelcontextprotocol/inspector node dist/index.jsThis server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- Alicense-qualityDmaintenanceFastMCP is a comprehensive MCP server allowing secure and standardized data and functionality exposure to LLM applications, offering resources, tools, and prompt management for efficient LLM interactions.3MIT
- Alicense-qualityDmaintenanceA high-performance MCP server that provides BM25-ranked search and structured access to over 1,300 AI skills, enabling context-efficient discovery and usage of AI capabilities while minimizing token consumption.20ISC
- AlicenseAqualityDmaintenanceA FastMCP server that helps users discover, browse, and install agent skills from curated GitHub collections, with support for adding new skill sources.51MIT
- Flicense-qualityBmaintenanceA hierarchical MCP server for managing skill definitions with a browsable tree structure and full-text search. It allows AI agents to efficiently discover and use skills without consuming context tokens.
Related MCP Connectors
A registry of 5,900+ peer-authored skills any MCP agent can search and load on demand.
Paid remote MCP for agent code search routing MCP, structured receipts, audit logs, and reviewer-rea
Workflow diagnostics, capability routing, and x402 settlement for MCP-compatible agents.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/akushonkamen/fastroute'
If you have feedback or need assistance with the MCP directory API, please join our Discord server