DEV Community

WEDGE Method Dev
WEDGE Method Dev

Posted on

Claude Code Channels Just Dropped — Here's How to Set Up a 24/7 AI Agent via Telegram

Anthropic just shipped Claude Code Channels — the ability to message Claude Code directly from Telegram or Discord. This is the feature that made OpenClaw famous, but now it's built into Claude Code natively.

Here's how to set it up and what it means for developers who want an always-on AI assistant.

What Are Claude Code Channels?

Channels let you connect a running Claude Code session to your messaging apps. Send a message in Telegram → Claude Code receives it → processes it with full tool access → responds in the chat.

This means you can:

  • Kick off builds from your phone
  • Ask about code while away from your desk
  • Monitor deployments via chat
  • Run any Claude Code command remotely

Why This Matters

Before Channels, there were two options for remote AI agent access:

  1. OpenClaw — Open-source, 247K GitHub stars, great community, but adds another layer to manage
  2. Custom SSH/tmux setup — Works but requires manual session management

Channels gives you option 3: native integration with zero extra infrastructure.

The Real Power: Combining Channels with MCP Servers

Channels alone is just chat. The magic happens when you combine it with MCP (Model Context Protocol) servers:

You (Telegram) → Claude Code → MCP Servers → Your entire infrastructure
Enter fullscreen mode Exit fullscreen mode

With the right MCP servers configured, a single Telegram message can:

  • Check production health: "How's the site doing?" → Hits your monitoring MCP → Returns uptime, response time, error rates
  • Review a PR: "Review PR #42" → GitHub MCP → Reads diff, comments, checks → Returns summary
  • Deploy: "Ship it" → Runs build, tests, deploys via configured pipeline
  • Query databases: "How many signups today?" → Database MCP → Returns live count

Setting Up Your MCP Stack for Channels

Here's a practical MCP configuration for business automation:

{
  "mcpServers": {
    "github": {
      "command": "npx",
      "args": ["-y", "@modelcontextprotocol/server-github"]
    },
    "brave-search": {
      "command": "npx",
      "args": ["-y", "@anthropic-ai/mcp-server-brave-search"]
    },
    "filesystem": {
      "command": "npx",
      "args": ["-y", "@anthropic-ai/mcp-server-filesystem", "/path/to/projects"]
    },
    "stripe": {
      "command": "npx",
      "args": ["-y", "@anthropic-ai/mcp-server-stripe"]
    },
    "memory": {
      "command": "npx",
      "args": ["-y", "@anthropic-ai/mcp-server-memory"]
    }
  }
}
Enter fullscreen mode Exit fullscreen mode

Each server gives Claude Code access to a different part of your business infrastructure.

Practical Use Cases I Run Daily

Morning Status Check

Me (7am, Telegram): "Morning brief"
Claude: Site health ✅ (200 OK, 248ms)
        Stripe: $X revenue today
        GitHub: 2 PRs pending review
        Dev.to: 300+ articles, 101 views
        No critical alerts.
Enter fullscreen mode Exit fullscreen mode

Remote Code Review

Me: "Review the latest PR on WEDGE repo"
Claude: [Reads PR diff via GitHub MCP]
        Summary: Adds newsletter capture component...
        Issues found: 1 minor — missing error boundary...
        Recommendation: Approve with minor fix
Enter fullscreen mode Exit fullscreen mode

Content Publishing

Me: "Publish the OpenClaw article"
Claude: [Uses Dev.to API key from hooks]
        Published: dev.to/wedgemethoddev/openclaw-alternative
        Cross-posted to Hashnode ✅
Enter fullscreen mode Exit fullscreen mode

The Autonomous Agent Pattern

The real unlock isn't just remote access — it's proactive behavior. Combine Channels with:

  1. Hooks: Automated actions triggered by events (pre-commit checks, post-deploy verification)
  2. Cron jobs: Scheduled tasks that run without prompting (health checks, report generation)
  3. Persistent memory: Context that survives across sessions (project state, decisions, patterns)

This turns Claude Code from a reactive tool into a proactive agent that:

  • Monitors your systems continuously
  • Alerts you via Telegram when something needs attention
  • Suggests actions based on patterns it's learned
  • Executes approved actions autonomously

Getting Started in 15 Minutes

  1. Install Claude Code: npm install -g @anthropic-ai/claude-code
  2. Configure MCP servers in ~/.claude/settings.json for your tools
  3. Set up Channels: Follow the Channels setup in Claude Code docs
  4. Add hooks for automated quality checks
  5. Start small: Begin with a morning status check and expand from there

The goal isn't to replace your workflow. It's to extend it so your AI agent handles the repetitive parts while you focus on decisions that require human judgment.

My Stack (13 MCP Servers)

Here's what I actually run:

MCP Server Purpose
GitHub PR review, issue tracking, code search
Brave Search Web research, fact verification
Filesystem Project file access
Stripe Revenue monitoring, payment management
Memory Persistent knowledge graph
Sequential Thinking Complex reasoning chains
Playwright Browser automation
SQLite Local database queries
Context7 Library documentation lookup
+ 4 custom Business-specific workflows

Total setup time: about 2 hours. Time saved per week: 15+ hours.


Building autonomous AI agent systems at WEDGE Method. Follow for more practical AI automation content.

Have you tried Claude Code Channels yet? What's your MCP setup? Drop a comment below.

Top comments (0)