frontmcp-channels

frontmcp-channels is a skill for Claude Code, Codex from agentfront/frontmcp. It costs 140 tokens per session (2,250 once invoked), scanned A, original, Apache-2.0.

A guide for building FrontMCP channels that push live events into Claude Code or another compatible MCP client. Events can come from webhooks, errors, completed jobs, service connections, file changes, or chat messages.

In plain words
What is it for?
Use it for CI failure alerts, monitoring notifications, deployment updates, job-completion messages, file watchers, or chat bridges such as Slack, Telegram, WhatsApp, and Discord.
Why use it?
It explains when the server should send information automatically instead of waiting for the client to ask for it. This helps connect external events and two-way conversations to an AI coding session.

Skill for Claude CodeCodex

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add skills/agentfront/frontmcp/frontmcp-channels
Any agent
npx skills add agentfront/frontmcp --skill frontmcp-channels
Clone the repo
git clone --depth 1 https://github.com/agentfront/frontmcp

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for frontmcp-channels

README.md
[![agentmods](https://agentmods.dev/badge/skills/agentfront/frontmcp/frontmcp-channels.svg)](https://agentmods.dev/skills/agentfront/frontmcp/frontmcp-channels)
Your own site
<a href="https://agentmods.dev/skills/agentfront/frontmcp/frontmcp-channels"><img src="https://agentmods.dev/badge/skills/agentfront/frontmcp/frontmcp-channels.svg" alt="Measured on agentmods" height="20"></a>
Per session 140 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,250 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00140 $0.02250
Opus 5 $0.00070 $0.01125
Sonnet 5 $0.00028 $0.00450
Haiku 4.5 $0.00014 $0.00225

Measured 5d ago against content hash 33647ee7d204, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

frontmcp-channels scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 5d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

libs/skills/catalog/frontmcp-channels/SKILL.md · 165 lines

How it starts

The opening of the file, as written. The whole thing — 165 lines — stays where its author put it; the contents beside it link to each section on GitHub.

FrontMCP Channels

Build push-based notification channels that stream real-time events into Claude Code. Channels let your MCP server forward webhooks, application errors, agent completions, job results, and chat messages directly into Claude's context, with optional two-way reply support.

When to Use This Skill

Must Use

  • You need Claude Code to react to external events (CI failures, monitoring alerts, deploy status)
  • You are building a chat bridge (WhatsApp, Telegram, Slack, Discord) for Claude Code
  • You want agents or background jobs to notify Claude Code upon completion

Recommended

  • You want to forward application errors to Claude for debugging assistance
  • You need a messaging interface where remote users can interact with Claude via chat platforms

Skip When

  • You only need standard MCP resource subscriptions (use @Resource with resources/subscribe)
  • Your client is not Claude Code and does not support experimental['claude/channel']
  • You need request-response patterns (use @Tool instead)

Decision: Use channels when you need server-initiated push notifications into Claude Code. Use resources when the client pulls data on demand.

Prerequisites

  • @frontmcp/sdk >= 1.0.0
  • Basic understanding of @FrontMcp, @App, and @Tool decorators
  • For webhook sources: HTTP transport (not stdio-only)
  • For chat bridges: external API credentials (WhatsApp Business API, Telegram Bot Token, etc.)

Steps

  1. Choose your channel source type from the Scenario Routing Table
  2. Create a channel class or function
  3. Register it in your app
  4. Enable channels in @FrontMcp config
  5. Test with Claude Code using --dangerously-load-development-channels

Scenario Routing Table

Scenario Reference Description
Webhook alerts (CI, monitoring) references/channel-sources.md Forward HTTP webhooks into Claude
Application error forwarding references/channel-sources.md Push app errors via event bus
Agent completion notifications references/channel-sources.md Notify when agents finish
Job/workflow completion references/channel-sources.md Notify when jobs complete
Service connector (WhatsApp, etc.) references/channel-sources.md Persistent connection with bidirectional tools
File/log watcher references/channel-sources.md File system change monitoring
Event replay for offline sessions references/channel-sources.md Buffer events for later delivery
WhatsApp/Telegram chat bridge references/channel-two-way.md Two-way messaging with Claude
Slack/Discord integration references/channel-two-way.md Chat platform bridges
Permission relay references/channel-two-way.md Remote tool approval via chat

Read the full file on GitHub · 165 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 5d ago First seen · 165 lines · 140 tokens per session scan A 33647ee7d204

Subscribe to this mod's changes

frontmcp-channels is a skill published in the GitHub repository agentfront/frontmcp (146 stars, last pushed 3d ago), licensed Apache-2.0. It adds 140 tokens to every session and 2,250 once invoked, about $0.0007 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.