claude-code-skill
enderfga 제작
Clawdbot Tools요약
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
Call initializeMcpSystem() to start servers from mcp_config.json
- 2
Call addMcpServer('fs', { command: 'npx', args: ['-y', '@modelcontextprotocol/server-filesystem', '/tmp'] }) to register the server
- 3
Call getAllTools() to confirm the read_file tool is available
- 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-skillCLI 명령을 실행하거나, 프롬프트를 Claude Code, Cursor, Codex 등 사용하는 코딩 에이전트에 붙여넣으세요.