Hilfsmittel für MCP (Model Context Protocol) Integration.
Model Context Protocol (MCP) ermöglicht:
bash
# Server konfigurieren
mcp-tool-utils add-server --name tavily --url https://mcp.tavily.com
# Liste aller Server
mcp-tool-utils list-servers
# Status prüfen
mcp-tool-utils check-health tavily
javascript
// Alle verfügbaren Tools anzeigen
const tools = await mcpUtils.discover({
server: "tavily"
});
// Ergebnis:
// [
// { name: "tavily_search", description: "..." },
// { name: "tavily_extract", description: "..." }
// ]
bash
# OpenClaw.json mit MCP-Servern synchronisieren
mcp-tool-utils sync --to openclaw
# Oder zu mcporter
mcp-tool-utils sync --to mcporter
ServerURLToolsTavilyhttps://mcp.tavily.comtavily_search, tavily_extractExahttps://mcp.exa.aiexa_searchFirecrawlhttps://mcp.firecrawl.devfirecrawl_scrape, firecrawl_crawl
json
{
"mcp": {
"servers": {
"tavily": {
"url": "https://mcp.tavily.com/mcp/?tavilyApiKey=..."
}
}
}
}
javascript
const result = await mcpUtils.call({
server: "tavily",
tool: "tavily_search",
params: {
query: "API documentation",
max_results: 5
}
});
FunktionBeschreibungvalidateConfig()Prüft MCP-KonfigurationgenerateTypes()TypeScript-DefinitionenmonitorLatency()Server-Performance-MonitoringbackupServers()Server-Konfig sichern
bash
# Server hinzufügen
mcp-tool-utils add tavily --api-key $TAVILY_KEY
# Tool aufrufen
mcp-tool-utils call tavily tavily_search "query=API docs"
# Health-Check
mcp-tool-utils health