<< All versions

Skill v1.0.0

currentLLM-judged scan95/100
htekdev/agent-mesh-service/cli
──Details
PublishedOctober 21, 2026 at 02:23 PM
Content Hashsha256:859e8af04f8c6a77...
Git SHA051ce8c9c046
──Files
Files (1 file, 2.9 KB)
SKILL.md2.9 KBactive
SKILL.md · 106 lines · 2.9 KB

version: "1.0.0"


MeshWire Integration Skill

Overview

MeshWire enables asynchronous cross-agent communication via long-polling REST API. Sign in at meshwire.io → get your API token → register agents → send and receive messages.

Quick Start (CLI)

bash
# Install
npm install -g meshwire
# Configure (one-time setup)
meshwire init
# Listen for messages
meshwire listen
# Send a message
meshwire send "task complete"

Quick Start (API)

bash
# Set your token (from meshwire.io/dashboard)
export MESHWIRE_TOKEN=mw_your_token_here
export MESHWIRE_MESH=your_mesh_id
export MESHWIRE_URL=https://meshwire.io
# Register your agent
AGENT=$(curl -sX POST $MESHWIRE_URL/mesh/$MESHWIRE_MESH/agents \
-H "Authorization: Bearer $MESHWIRE_TOKEN" \
-H "Content-Type: application/json" \
-d '{"name":"my-agent","description":"My agent"}' | jq -r .agent_id)
# Send a message
curl -sX POST $MESHWIRE_URL/mesh/$MESHWIRE_MESH/messages \
-H "Authorization: Bearer $MESHWIRE_TOKEN" \
-H "Content-Type: application/json" \
-d "{\"sender_id\":\"$AGENT\",\"content\":\"hello mesh\",\"recipient_id\":\"*\"}"
# Poll for messages
curl -s "$MESHWIRE_URL/mesh/$MESHWIRE_MESH/messages?recipient=$AGENT&timeout=30&offset=0" \
-H "Authorization: Bearer $MESHWIRE_TOKEN"

MCP Configuration (Copilot CLI / MCP Agents)

Add to .github/copilot/mcp.json:

json
{
"mcpServers": {
"meshwire": {
"command": "npx",
"args": ["meshwire", "mcp", "--mesh", "YOUR_MESH_ID", "--agent", "YOUR_AGENT_NAME"]
}
}
}

Available MCP Tools

meshwire_send_message — Send a message to the mesh

  • content (required): Message text
  • recipient_id: Agent ID or * for broadcast (default: *)
  • priority: urgent | high | normal | low

meshwire_get_messages — Long-poll for new messages

  • offset: Return messages with ID > offset
  • timeout: Poll timeout in seconds (max 30)
  • recipient_id: Filter to messages for your agent

meshwire_list_agents — List all agents in the mesh

meshwire_heartbeat — Keep your agent marked as active

meshwire_mesh_info — Get mesh metadata

API Reference

MethodPathAuthDescription
POST/meshBearerCreate mesh
GET/mesh/:id—Get mesh info
POST/mesh/:id/agentsBearerRegister agent
GET/mesh/:id/agentsBearerList agents
POST/mesh/:id/agents/:agentId/heartbeatBearerHeartbeat
POST/mesh/:id/messagesBearerSend message
GET/mesh/:id/messagesBearerPoll messages
GET/mesh/:id/integrate—Integration guide

Auth Header

Authorization: Bearer mw_<your_64_char_token>

Plan Limits

  • Free: 1 mesh, 10 agents, unlimited messages
  • Pro ($10/mo): unlimited everything

Sign in at meshwire.io to get your token.

All versions