diff --git a/plugins/plugin-dev/skills/mcp-integration/SKILL.md b/plugins/plugin-dev/skills/mcp-integration/SKILL.md index 4a9f459..509adc5 100644 --- a/plugins/plugin-dev/skills/mcp-integration/SKILL.md +++ b/plugins/plugin-dev/skills/mcp-integration/SKILL.md @@ -528,6 +528,7 @@ Working examples in `examples/`: - **`stdio-server.json`** - Local stdio MCP server - **`sse-server.json`** - Hosted SSE server with OAuth - **`http-server.json`** - REST API with token auth +- **`ws-server.json`** - WebSocket server for real-time communication ### External Resources diff --git a/plugins/plugin-dev/skills/mcp-integration/examples/ws-server.json b/plugins/plugin-dev/skills/mcp-integration/examples/ws-server.json new file mode 100644 index 0000000..7196d65 --- /dev/null +++ b/plugins/plugin-dev/skills/mcp-integration/examples/ws-server.json @@ -0,0 +1,26 @@ +{ + "_comment": "Example WebSocket MCP server configuration for real-time bidirectional communication", + "realtime-service": { + "type": "ws", + "url": "wss://mcp.example.com/ws", + "headers": { + "Authorization": "Bearer ${TOKEN}" + } + }, + "streaming-data": { + "type": "ws", + "url": "wss://stream.example.com/mcp", + "headers": { + "X-API-Key": "${API_KEY}", + "X-Client-ID": "${CLIENT_ID}" + } + }, + "live-updates": { + "type": "ws", + "url": "wss://live.example.com/mcp/v1", + "headers": { + "Authorization": "Bearer ${WS_TOKEN}", + "X-Connection-Type": "persistent" + } + } +}