AGENT SKILL

mcp-tool-utils

MCP (Model Context Protocol) utilities and helpers. Tools for connecting, configuring, and managing MCP servers with OpenClaw.

License 许可
MIT
最近更新
2026-06-10
Stars
★ 3
Forks
0

01 前言 Front Matter

name
mcp-tool-utils
description
MCP (Model Context Protocol) utilities and helpers. Tools for connecting, configuring, and managing MCP servers with OpenClaw.

03 SKILL.md 正文

MCP Tool Utils

Hilfsmittel für MCP (Model Context Protocol) Integration.

Was ist MCP?

Model Context Protocol (MCP) ermöglicht:

  • Standardisierte Tool-Schnittstellen
  • Multi-Server Management
  • Kontext-Austausch zwischen Agenten

Features

1. MCP Server Management

# 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

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 openclaw

# Oder 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_KEY

# Tool aufrufen
mcp-tool-utils call tavily tavily_search "query=API docs"

# Health-Check
mcp-tool-utils health

Links

04 同仓库更多 Skills