toad-mcp-server
MCP server exposing portfolio AI tools including semantic search, evaluation framework, and prompt management, enabling natural language interaction with these services via Claude Desktop.
README
toad-mcp-server
🔌 MCP server exposing portfolio AI tools via Model Context Protocol. Connect to Claude Desktop and call Semantic Search, Eval Framework, and Prompt Management tools directly from chat.
🏗️ Architecture
┌─────────────────────┐ stdio / HTTP ┌──────────────────────────┐
│ Claude Desktop │◄────────────────-──►│ toad-mcp-server │
│ (MCP Client) │ │ │
└─────────────────────┘ │ ┌────────────────────┐ │
│ │ toad_search_docs │──┼──► Semantic Search API
│ ├────────────────────┤ │
│ │ toad_run_eval │──┼──► Eval Framework API
│ ├────────────────────┤ │
│ │ toad_system_status │──┼──► Health checks
│ ├───────────────-────┤ │
│ │ toad_list_prompts │ │
│ ├────────────────────┤ │
│ │ toad_get_prompt │ │
│ └────────────────────┘ │
└──────────────────────────┘
🛠️ Tools
| Tool | Description | Read-only |
|---|---|---|
toad_search_documents |
Semantic search over documents via natural language query | Yes |
toad_run_eval |
Run eval suite against a prompt variant, returns scores | No |
toad_system_status |
Health check all portfolio services (latency, status) | Yes |
toad_list_prompts |
List prompts with pagination and tag filtering | Yes |
toad_get_prompt |
Get prompt by name with version, template, score history | Yes |
All tools support response_format: "markdown" | "json" where applicable.
📦 Resources
| URI | Description |
|---|---|
toad://system/status |
Health status of all services (JSON) |
toad://prompts/{name} |
Get prompt by name with full metadata (JSON) |
🚀 Quick Start
# Install
npm install
# Build
npm run build
# Run (stdio — for Claude Desktop)
npm start
# Run (HTTP — for remote/multi-client access)
TRANSPORT=http npm start
# Dev mode
npm run dev
🖥️ Claude Desktop Setup
-
Build the server:
npm run build -
Add to your Claude Desktop config (
~/Library/Application Support/Claude/claude_desktop_config.jsonon macOS):{ "mcpServers": { "toad-mcp-server": { "command": "node", "args": ["dist/index.js"], "cwd": "/absolute/path/to/toad-mcp-server", "env": { "SEMANTIC_SEARCH_URL": "http://localhost:3001", "EVAL_FRAMEWORK_URL": "http://localhost:3002" } } } } -
Restart Claude Desktop — tools appear automatically.
🔍 Testing with MCP Inspector
npx @modelcontextprotocol/inspector node dist/index.js
Opens a web UI to test each tool interactively.
⚙️ Environment Variables
| Variable | Default | Description |
|---|---|---|
SEMANTIC_SEARCH_URL |
http://localhost:3001 |
Semantic Search Engine endpoint |
EVAL_FRAMEWORK_URL |
http://localhost:3002 |
Eval Framework endpoint |
TRANSPORT |
stdio |
Transport mode: stdio or http |
PORT |
3100 |
HTTP transport port |
HOST |
127.0.0.1 |
HTTP transport bind address |
📜 Scripts
| Script | Description |
|---|---|
npm run build |
Compile TypeScript to dist/ |
npm run dev |
Run with tsx (hot reload) |
npm start |
Run compiled server |
npm run lint |
ESLint check |
npm run format |
Prettier format |
🧱 Tech Stack
- TypeScript (NodeNext, strict)
- @modelcontextprotocol/sdk — MCP server SDK
- Zod v4 — input validation
- ESLint + Prettier + Husky — code quality
- GitHub Actions — CI (lint → format → build)
📄 License
ISC
推荐服务器
Baidu Map
百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
Playwright MCP Server
一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。
Magic Component Platform (MCP)
一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。
Audiense Insights MCP Server
通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。
VeyraX
一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。
graphlit-mcp-server
模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。
Kagi MCP Server
一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。
e2b-mcp-server
使用 MCP 通过 e2b 运行代码。
Neon MCP Server
用于与 Neon 管理 API 和数据库交互的 MCP 服务器
Exa MCP Server
模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。