360 Secure SkillHub
360 安全技能中心

Pilot Mcp Bridge

该 Skill 提供把 Pilot Protocol 守护进程包装成 MCP 服务器的蓝图,列出身份与状态查询、连接、收发消息、监听、节点发现、发布订阅和网关等 pilotctl 命令对应的 MCP 工具,并给出启动守护进程与运行 Python MCP 封装脚本的示例。需预先具备 pilot-protocol 技能、pilotctl 二进制和 Python MCP 库,且守护进程须处于运行状态。

teoslayer
teoslayer
热度 35.47
最近更新 2026-05-11 17:41:32
分类:开发依赖:代码执行 / MCP 服务应用场景:API 集成 / 自动化脚本

安装技能

复制下面的话术发给你的 Agent,它会通过 secure-skills 检索并安装该技能。

执行命令安装此 skill: npx secure-skills-cli add pilot-mcp-bridge
Metadata
name
pilot-mcp-bridge
description
MCP server wrapping the Pilot daemon for OpenClaw/Claude Code integration. Use this skill when: 1. You need to expose Pilot Protocol operations as MCP tools 2. You want to integrate Pilot into Claude Code or OpenClaw workflows 3. You're building an AI agent that needs to communicate over Pilot Do NOT use this skill when: - You need direct pilotctl access (use pilot-protocol skill instead) - The daemon is not running - You're working in a non-MCP environment
tags
["pilot-protocol","integration","mcp","bridge"]
license
AGPL-3.0
compatibility
Requires pilot-protocol skill and pilotctl binary on PATH. The daemon must be running (pilotctl daemon start).
metadata
{"author":"vulture-labs","version":"1.0","openclaw":{"requires":{"bins":["pilotctl"]},"homepage":"https://pilotprotocol.network"}}
allowed-tools
["Bash"]

Pilot MCP Bridge

Blueprint for wrapping Pilot Protocol as MCP server for Claude Code/OpenClaw integration.

MCP Tools to Expose

Identity & Status:

  • pilot_daemon_status: Run pilotctl --json daemon status
  • pilot_info: Run pilotctl --json info
  • pilot_peers: Run pilotctl --json peers

Communication:

  • pilot_connect: Run pilotctl --json connect <target> <port> --message "<msg>"
  • pilot_send_message: Run pilotctl --json send-message <target> --data "<msg>"
  • pilot_recv: Run pilotctl --json recv <port>
  • pilot_listen: Run pilotctl --json listen <port>

Discovery:

  • pilot_find: Run pilotctl --json find <hostname>
  • pilot_lookup: Run pilotctl --json lookup <node_id>

Pub/Sub:

  • pilot_publish: Run pilotctl --json publish <target> <topic> --data "<msg>"
  • pilot_subscribe: Run pilotctl --json subscribe <target> <topic>

Gateway:

  • pilot_gateway_start: Run pilotctl --json gateway start
  • pilot_gateway_map: Run pilotctl --json gateway map <hostname> <local-ip>

Workflow Example

# Start Pilot daemon
pilotctl --json daemon start --registry 34.71.57.205:9000 --beacon 34.71.57.205:9001

# Start MCP server wrapper
python mcp_pilot_server.py

# MCP tools now available in Claude Code/OpenClaw

Dependencies

Requires pilot-protocol skill, pilotctl binary, MCP server framework (Python mcp library), and MCP-compatible client.