MCP Tool Utils
by @kikikari
MCP (Model Context Protocol) utilities and helpers. Tools for connecting, configuring, and managing MCP servers with OpenClaw.
clawhub install mcp-tool-utils📖 About This Skill
name: mcp-tool-utils description: MCP (Model Context Protocol) utilities and helpers. Tools for connecting, configuring, and managing MCP servers with OpenClaw.
MCP Tool Utils
Hilfsmittel für MCP (Model Context Protocol) Integration.
Was ist MCP?
Model Context Protocol (MCP) ermöglicht:
Features
1. MCP Server Management
# Server konfigurieren
mcp-tool-utils add-server --name tavily --url https://mcp.tavily.comListe aller Server
mcp-tool-utils list-serversStatus prüfen
mcp-tool-utils check-health tavily
2. Tool Discovery
// Alle verfügbaren Tools anzeigen
const tools = await mcpUtils.discover({
server: "tavily"
});// Ergebnis:
// [
// { name: "tavily_search", description: "..." },
// { name: "tavily_extract", description: "..." }
// ]
3. Konfiguration Sync
# OpenClaw.json mit MCP-Servern synchronisieren
mcp-tool-utils sync --to openclawOder zu mcporter
mcp-tool-utils sync --to mcporter
Unterstützte Server
| Server | URL | Tools | |--------|-----|-------| | Tavily | https://mcp.tavily.com | tavily_search, tavily_extract | | Exa | https://mcp.exa.ai | exa_search | | Firecrawl | https://mcp.firecrawl.dev | firecrawl_scrape, firecrawl_crawl |
Integration mit OpenClaw
in openclaw.json
{
"mcp": {
"servers": {
"tavily": {
"url": "https://mcp.tavily.com/mcp/?tavilyApiKey=..."
}
}
}
}
Verwendung
const result = await mcpUtils.call({
server: "tavily",
tool: "tavily_search",
params: {
query: "API documentation",
max_results: 5
}
});
Hilfsfunktionen
| Funktion | Beschreibung |
|----------|--------------|
| validateConfig() | Prüft MCP-Konfiguration |
| generateTypes() | TypeScript-Definitionen |
| monitorLatency() | Server-Performance-Monitoring |
| backupServers() | Server-Konfig sichern |
CLI
# Server hinzufügen
mcp-tool-utils add tavily --api-key $TAVILY_KEYTool aufrufen
mcp-tool-utils call tavily tavily_search "query=API docs"Health-Check
mcp-tool-utils health