claude-channels

Integrate external event sources into persistent Claude Code sessions via MCP.

1|1|Updated Jun 11, 2026
One-click install
npx skills add https://github.com/valtterimelkko/agent-workflow-skills --skill claude-channels
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: claude-channels
Source: https://github.com/valtterimelkko/agent-workflow-skills/tree/main/skills/claude-channels
Command: npx skills add https://github.com/valtterimelkko/agent-workflow-skills --skill claude-channels

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires @modelcontextprotocol/sdk, bun, zod.

What problem does it solve?

This skill solves the challenge of integrating external systems like webhooks, chat platforms, or CI/CD pipelines into a long-lived, interactive Claude Code session, allowing the agent to react to real-time events while maintaining its working memory and tool context.

Core Features & Use Cases

  • Bidirectional Communication: Enables Claude Code to receive external events via WebSockets or HTTP and respond using custom MCP tools.
  • Permission Relay: Allows users to approve or deny tool execution requests remotely from another device.
  • Use Case: Build a custom chat bridge that connects a Discord or Slack bot to a persistent Claude Code session, enabling the agent to participate in team discussions and execute tasks based on incoming messages.

Quick Start

Use the claude-channels skill to configure a new MCP server that bridges your local webhook listener to a running Claude Code interactive session.

Frequently Asked Questions about claude-channels

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I integrate external webhooks into a persistent Claude Code session?

You can integrate external webhooks into a persistent Claude Code session by configuring an MCP server to bridge real-time HTTP or WebSocket events directly into the agent's interactive context.

Can I approve Claude Code tool execution remotely from another device?

Yes, you can approve or deny Claude Code tool execution remotely by using the permission relay feature, which routes tool-use approval requests through external event channels.

Does the Model Context Protocol support bidirectional communication for automated agent workflows?

The Model Context Protocol supports bidirectional communication for automated agent workflows by facilitating real-time event handling and custom tool responses within long-lived interactive sessions.

What runtimes are compatible with the Model Context Protocol SDK for managing external event channels?

Compatible runtimes for managing external event channels with the Model Context Protocol SDK include Bun, Node.js, and Deno, which are required to manage the MCP server lifecycle.

How do I connect a Discord or Slack chat bot to a long-lived Claude Code agent?

To connect a Discord or Slack chat bot to a long-lived Claude Code agent, build a custom chat bridge using WebSockets or HTTP to pass incoming messages into the persistent session.

What are the limitations of using WebSockets to bridge external systems into Claude Code?

Limitations of using WebSockets to bridge external systems include the requirement of a compatible runtime like Bun to manage the MCP server lifecycle and maintain active session persistence.