कंटेंट पर जाएँ
TakoAPI
स्किल्स पर वापस

claude-code-skill

enderfga द्वारा

Clawdbot Tools
2.4kclawskills.sh द्वारा बताए गए डाउनलोड
2व्यूज़
0 लाइकइस स्किल को लाइक करने के लिए साइन इन करें
—अभी तक कोई रेटिंग नहीं
आपकी रेटिंग

संक्षिप्त

MCP (Model Context Protocol) integration.

विवरण

यह स्किल क्या करती है

npm package for integrating MCP (Model Context Protocol) tool servers into OpenClaw/Clawdbot agents. Provides APIs for managing MCP server lifecycles, persisting state via IndexedDB or localStorage, and merging sessions across devices.

Bundles MCP server orchestration, state persistence, and session merging into one package instead of wiring each concern separately.

इसे कब इस्तेमाल करें

  • Connecting a filesystem MCP server to read and write local files during agent tasks
  • Adding a GitHub MCP server to let an agent query repos and issues
  • Persisting agent state between page reloads using IndexedDB
  • Syncing chat session history across multiple browser tabs or devices
  • Dynamically pausing and resuming MCP servers without restarting the agent

उदाहरण वर्कफ़्लो

इनपुट

User asks: set up a filesystem MCP server and read a file

एजेंट
  1. 1

    Call initializeMcpSystem() to start servers from mcp_config.json

  2. 2

    Call addMcpServer('fs', { command: 'npx', args: ['-y', '@modelcontextprotocol/server-filesystem', '/tmp'] }) to register the server

  3. 3

    Call getAllTools() to confirm the read_file tool is available

  4. 4

    Call executeMcpAction('fs', { method: 'tools/call', params: { name: 'read_file', arguments: { path: '/tmp/test.txt' } } }) to read the file

आउटपुट

File contents returned from the filesystem MCP server

आवश्यकताएँ

  • GITHUB_TOKEN environment variable (only if using the GitHub MCP server)

इंस्टॉलेशन

clawhub install enderfga/claude-code-skill

CLI कमांड चलाएँ, या प्रॉम्प्ट को Claude Code, Cursor, Codex या जो भी कोडिंग एजेंट आप इस्तेमाल करते हैं उसमें पेस्ट करें।

लिंक