(sigil mcp channel)
(sigil mcp channel) - Helpers for building MCP channel servers.
Provides convenience functions for MCP servers that use the claude/channel capability to push events into Claude Code sessions.
(import (sigil mcp channel))
(let ((server (mcp-channel-server name: "my-server" version: "1.0")))
(channel-notify! server "Hello from my server"
meta: '((type . "greeting")))
(mcp-server-run server))Exports
mcp-channel-serverprocedureCreate an MCP server with the claude/channel capability pre-configured.
Merges the experimental claude/channel capability with any additional capabilities passed via the capabilities: keyword.
(mcp-channel-server name: "my-server" version: "1.0"
instructions: "You are receiving events from my-server.")