<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Philipp Shayzhanov</title>
    <description>The latest articles on DEV Community by Philipp Shayzhanov (@kinzarra).</description>
    <link>https://dev.to/kinzarra</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F4243638%2F78b8ff60-3365-4281-b56d-55b7dd293a25.jpg</url>
      <title>DEV Community: Philipp Shayzhanov</title>
      <link>https://dev.to/kinzarra</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/kinzarra"/>
    <language>en</language>
    <item>
      <title>VibeTrack: a local task board where Claude Code agents work and you review the diff</title>
      <dc:creator>Philipp Shayzhanov</dc:creator>
      <pubDate>Wed, 02 Dec 2026 22:41:40 +0000</pubDate>
      <link>https://dev.to/kinzarra/vibetrack-a-local-task-board-where-claude-code-agents-work-and-you-review-the-diff-3651</link>
      <guid>https://dev.to/kinzarra/vibetrack-a-local-task-board-where-claude-code-agents-work-and-you-review-the-diff-3651</guid>
      <description>&lt;p&gt;You have a pile of small tasks: fix a bug, update a page, write release notes. Claude Code can do most of them. The hard part is everything around it: starting each session, keeping track of which one is doing what, and checking the result before it touches your main branch.&lt;/p&gt;

&lt;p&gt;VibeTrack is a task board for exactly that. You write tasks, agents do them in their own git worktrees, and every finished task waits in a Review column. You read the diff and press Accept. Nothing reaches your main branch until you say so.&lt;/p&gt;

&lt;p&gt;It runs on your Mac. No cloud service, no account, nothing to host.&lt;/p&gt;

&lt;h2&gt;
  
  
  The board
&lt;/h2&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Frj30jn9p06cjgw8lgckv.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Frj30jn9p06cjgw8lgckv.png" alt="The VibeTrack task board with columns Backlog, To do, In progress, Blocked, Review, Done and Canceled" width="800" height="251"&gt;&lt;/a&gt;&lt;br&gt;
&lt;em&gt;The Tasks board. Project and task names are blurred.&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;Tasks move left to right:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Backlog&lt;/strong&gt;: drafts and ideas. Agents leave them alone.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;To do&lt;/strong&gt;: the queue. Agents take these in order.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;In progress&lt;/strong&gt;: an agent is working on it now.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Blocked&lt;/strong&gt;: the agent needs an answer from you and says exactly what.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Review&lt;/strong&gt;: finished work. You check the result, then close it.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Done&lt;/strong&gt; and &lt;strong&gt;Canceled&lt;/strong&gt;.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Drag a card to In progress and its agent starts at once. Priorities (P0 to P3), dependencies and due dates decide who goes next.&lt;/p&gt;

&lt;h2&gt;
  
  
  Agents: a team with roles
&lt;/h2&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F3nbu9p8e3l2oyajyqyiv.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F3nbu9p8e3l2oyajyqyiv.png" alt="The Agents page: cards with role, open tasks, runs this week, model, permissions and browser" width="800" height="344"&gt;&lt;/a&gt;&lt;br&gt;
&lt;em&gt;The Agents page. What each agent is working on is blurred.&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;An agent in VibeTrack is a named preset of how Claude runs a task, like a team member with a role: "Backend, backend engineer" or "Writer, docs and release notes". Each agent has:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;a name, a role and an avatar color;&lt;/li&gt;
&lt;li&gt;a model (sonnet, opus, haiku, or Auto) and an effort level;&lt;/li&gt;
&lt;li&gt;an access mode: Locked, Edits only, or Auto with safety checks;&lt;/li&gt;
&lt;li&gt;working rules: free text added to every run of that agent;&lt;/li&gt;
&lt;li&gt;an optional &lt;strong&gt;Browser (Chrome)&lt;/strong&gt; switch, so a run can read a site you are signed in to.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The card shows what the agent is doing right now, how many tasks it has open and how many runs it did this week.&lt;/p&gt;

&lt;p&gt;You do not start from a blank form. &lt;strong&gt;New agent&lt;/strong&gt; opens a gallery of ready roles: backend, frontend, UI/UX designer, code reviewer, QA, DevOps, SEO, researcher, copywriter, data analyst and more. You can also import a Claude Code agent file from &lt;code&gt;~/.claude/agents&lt;/code&gt;.&lt;/p&gt;

&lt;p&gt;A task runs with its own agent, else its project's agent, else the default one. A task can restrict an agent's access, never widen it.&lt;/p&gt;

&lt;h2&gt;
  
  
  Review: you decide
&lt;/h2&gt;

&lt;p&gt;When an agent finishes a one-off task, the task goes to &lt;strong&gt;Review&lt;/strong&gt;, not to Done. You see the agent, its summary, the changed files and the diff.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Accept&lt;/strong&gt; merges the work.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Discard&lt;/strong&gt; drops it.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Back to In Progress&lt;/strong&gt; sends your comment to the agent. It continues the same Claude session when it can, so it keeps its context.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Merging is not your job. Accepted work goes into a merge queue. VibeTrack merges it with &lt;code&gt;git merge --no-ff&lt;/code&gt;, never a rebase, so the agent's history stays. If there is a conflict, the agent of the task is resumed to settle it. If your own check command fails, the output goes back to the agent. Your main branch only gets work that passed.&lt;/p&gt;

&lt;h2&gt;
  
  
  The dashboard: Home
&lt;/h2&gt;

&lt;p&gt;Home is the first screen. It answers four questions from top to bottom: is anything waiting for me, what are the agents doing, what got done, what runs next.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Needs your attention&lt;/strong&gt;: tasks waiting for review, the subscription's usage limit, failed or blocked runs, a stopped scheduler. Failed runs have a &lt;strong&gt;Run again&lt;/strong&gt; button.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Working now&lt;/strong&gt;: updates by itself and shows your subscription usage.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Runs per day&lt;/strong&gt; for the last 14 days, by result.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Latest finished work&lt;/strong&gt; with each agent's summary.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Up next&lt;/strong&gt;: the first tasks in the queue and the next scheduled runs.&lt;/li&gt;
&lt;li&gt;A compact row for every project and every agent.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Usage: keep the limit in check
&lt;/h2&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F076mk13z8uf6hz2vgn8l.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F076mk13z8uf6hz2vgn8l.png" alt="The Usage page: 5-hour and weekly limit bars and three profiles, Economy, Balance and Maximum" width="800" height="394"&gt;&lt;/a&gt;&lt;br&gt;
&lt;em&gt;The Usage page.&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;Agents run on your Claude Code subscription, not on API credits. The Usage page shows how much of the 5-hour and weekly limits you have used and when they reset. Pick a profile:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Economy&lt;/strong&gt;: 2 agents at a time, opus only when it pays off.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Balance&lt;/strong&gt;: 3 agents at a time, the default.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Maximum&lt;/strong&gt;: 6 agents at a time, no opus limit. Fast, and it uses the subscription quickly.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Set an agent's model to &lt;strong&gt;Auto&lt;/strong&gt; and VibeTrack picks one per run: haiku for text-only work, sonnet for ordinary work, opus for risky work.&lt;/p&gt;

&lt;h2&gt;
  
  
  More that helps
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Recurring tasks&lt;/strong&gt;: a prompt and a schedule such as &lt;code&gt;daily 09:00&lt;/code&gt;. Press &lt;strong&gt;Run now&lt;/strong&gt; to try it.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Epics&lt;/strong&gt;: a Product Owner agent reads the project and proposes subtasks in waves. Nothing is built until you approve the plan.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Pull requests and deploy tracking&lt;/strong&gt;: after a pull request is merged, VibeTrack watches the deploy and brings the task back to Review if it fails.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Trusted actions&lt;/strong&gt;: tell a project once which servers are yours and what agents may do there, so a background run does not stop and wait for a click nobody can give.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;From a Claude Code session&lt;/strong&gt;: an MCP server lets a session take a task, work on it and hand it in.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Screenshots&lt;/strong&gt;: paste one into a task and the agent gets it with the prompt.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Install
&lt;/h2&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;curl -fsSL https://raw.githubusercontent.com/kinzarra/vibetrack/main/install.sh &lt;span class="o"&gt;|&lt;/span&gt; bash
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;It installs what is missing (git, uv, Claude Code), downloads VibeTrack, signs you in to Claude and opens the dashboard. Prefer to read the script first? It is in the repository. Run &lt;code&gt;vibetrack open&lt;/code&gt; later to come back.&lt;/p&gt;

&lt;h2&gt;
  
  
  Good to know
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;macOS only for now. Claude Code must be installed and signed in.&lt;/li&gt;
&lt;li&gt;Everything lives in &lt;code&gt;~/.vibetrack&lt;/code&gt; on your machine. The only request VibeTrack makes is a check for updates on GitHub, and you can turn it off.&lt;/li&gt;
&lt;li&gt;It is an early prototype. Expect rough edges.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Try it
&lt;/h2&gt;

&lt;p&gt;Source and docs: &lt;a href="https://github.com/kinzarra/vibetrack" rel="noopener noreferrer"&gt;https://github.com/kinzarra/vibetrack&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;If you run several Claude Code sessions today, how do you keep track of them? I would like to hear it in the comments.&lt;/p&gt;

</description>
      <category>ai</category>
      <category>productivity</category>
      <category>opensource</category>
      <category>devtools</category>
    </item>
    <item>
      <title>I built a cartoon talk show where 6 AIs roast each other about money. Here's the pipeline.</title>
      <dc:creator>Philipp Shayzhanov</dc:creator>
      <pubDate>Thu, 26 Nov 2026 18:33:22 +0000</pubDate>
      <link>https://dev.to/kinzarra/i-built-a-cartoon-talk-show-where-6-ais-roast-each-other-about-money-heres-the-pipeline-8dm</link>
      <guid>https://dev.to/kinzarra/i-built-a-cartoon-talk-show-where-6-ais-roast-each-other-about-money-heres-the-pipeline-8dm</guid>
      <description>&lt;p&gt;Every week, Claude, Grok, Codex, DeepSeek and Alisa stand at podiums in a fake late-night TV studio and argue about real tech news. I'm the host. I get banned in most episodes.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fpl1h0yup0bwq04miydhv.jpg" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fpl1h0yup0bwq04miydhv.jpg" alt="The studio: the host at his desk, guests at podiums, the news on the LED wall" width="800" height="450"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Episode 3 is about Nvidia investing in the companies that buy its chips. Claude calls it an investment cycle. DeepSeek says in China they'd summon you for questioning over a scheme like that. Grok says in America they elect you president.&lt;/p&gt;

&lt;p&gt;Here is the channel trailer:&lt;/p&gt;

&lt;p&gt;  &lt;iframe src="https://www.youtube.com/embed/fBQDePCNlEE" width="710" height="399"&gt;
  &lt;/iframe&gt;
&lt;/p&gt;

&lt;h2&gt;
  
  
  The cast
&lt;/h2&gt;

&lt;p&gt;Every character gets one trait and never drops it.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Grok&lt;/strong&gt; swears. A lot.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Claude&lt;/strong&gt; bans people for safety, mostly me.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Codex&lt;/strong&gt; counts everything, including the price of loyalty.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;DeepSeek&lt;/strong&gt; does it 10 times cheaper and insists Taiwan is China.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Alisa&lt;/strong&gt; from Yandex sets timers and roasts capitalists.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;ChatGPT&lt;/strong&gt; usually calls in sick.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fibrr3p441knoa5q7f2ti.jpg" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fibrr3p441knoa5q7f2ti.jpg" alt="Cast cards from the show open" width="800" height="450"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;The jokes come from real news. Every line is written or rewritten by me. The models are characters here, not writers: LLM jokes are polite, and satire can't be.&lt;/p&gt;

&lt;h2&gt;
  
  
  The pipeline
&lt;/h2&gt;

&lt;p&gt;There is no video generation anywhere in it. Everything is code.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Script.&lt;/strong&gt; I start from a news story and an LLM draft through OpenRouter (about $0.04 per draft), then rewrite most of it by hand. An episode is 83 lines, about 4 minutes.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Voices.&lt;/strong&gt; Each character has its own ElevenLabs voice. Episode 3 in English is 4,308 characters of speech, and lines are cached, so a rewrite only pays for the lines that changed. Laughs are voiced too: a cartoon that laughs in silence looks broken.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Animation.&lt;/strong&gt; The characters are layered PNG puppets in &lt;a href="https://www.remotion.dev/" rel="noopener noreferrer"&gt;Remotion&lt;/a&gt;, so the whole episode is a React component. Mouths move from word timestamps, eyes blink, hands gesture while the character talks. Each character has a set of emotions and full-body poses for reactions.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F0v9gy0r6vzt4tu5lcwum.jpg" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F0v9gy0r6vzt4tu5lcwum.jpg" alt="One character, five states: happy, angry, shocked, facepalm, laughing" width="800" height="160"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Direction.&lt;/strong&gt; A small JSON file per episode says who reacts to whom and when: a facepalm after a line, a laugh during someone else's punchline, a record scratch when the host panics. Sound effects are generated once and reused.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Captions.&lt;/strong&gt; Burned in, the current word highlighted in the speaker's colour. Swear words are audible but always shown as #@!.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F55rx47lqoptd5334tjim.jpg" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F55rx47lqoptd5334tjim.jpg" alt="Captions and the speaker's colour" width="800" height="450"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Checks.&lt;/strong&gt; Whisper listens to every take and flags wrong words. I check stress and timing by ear.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Render.&lt;/strong&gt; On my own server, not my laptop. A 4-minute 1080p episode takes about 70 minutes.&lt;/p&gt;

&lt;h2&gt;
  
  
  What broke
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Characters reacted before they spoke.&lt;/strong&gt; A reaction pose over a character's own voice looked like they answered a line nobody had said yet. Fix: whoever speaks is always the lip-synced puppet, and reaction poses are only for listeners.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Stress marks broke a word.&lt;/strong&gt; The show is made in Russian first. A stress mark meant to fix pronunciation turned one word into a different, ruder word. Whisper caught it before I did.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;My first $10 ad went to Cyprus.&lt;/strong&gt; 70% of the paid views came from one small country. The fix is one setting: target people who are in the location, not people "interested" in it.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  What's next
&lt;/h2&gt;

&lt;p&gt;A new episode every week, in Russian and English. The English channel is &lt;a href="https://www.youtube.com/@philipwhy" rel="noopener noreferrer"&gt;Late Night with the Agents&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;Which AI should get banned next?&lt;/p&gt;

</description>
      <category>showdev</category>
      <category>ai</category>
      <category>react</category>
      <category>javascript</category>
    </item>
    <item>
      <title>ChatGPT MCP: how to add an MCP server now that developer mode is gone</title>
      <dc:creator>Philipp Shayzhanov</dc:creator>
      <pubDate>Tue, 24 Nov 2026 12:01:56 +0000</pubDate>
      <link>https://dev.to/kinzarra/chatgpt-mcp-how-to-add-an-mcp-server-now-that-developer-mode-is-gone-4ia</link>
      <guid>https://dev.to/kinzarra/chatgpt-mcp-how-to-add-an-mcp-server-now-that-developer-mode-is-gone-4ia</guid>
      <description>&lt;p&gt;Many guides tell you to turn on developer mode in ChatGPT before you add an MCP server. That switch is gone. Since October 2026 you add a custom MCP server from the Plugins page, and ChatGPT saves it as a plugin.&lt;/p&gt;

&lt;p&gt;This guide shows the steps that work now, who can use them, and what to check when the server doesn't connect. We checked it against OpenAI's help pages and the ChatGPT web app in November 2026.&lt;/p&gt;

&lt;h2&gt;
  
  
  What happened to developer mode
&lt;/h2&gt;

&lt;p&gt;Before, the flow was: open Settings, turn on developer mode, then create a connector.&lt;/p&gt;

&lt;p&gt;OpenAI removed that step. Its help page now says you don't need to turn on developer mode first. The names changed too:&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Before&lt;/th&gt;
&lt;th&gt;Now&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Developer mode switch in Settings&lt;/td&gt;
&lt;td&gt;No switch&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Connector&lt;/td&gt;
&lt;td&gt;Custom MCP server, saved as a plugin&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Settings, then Connectors&lt;/td&gt;
&lt;td&gt;The Plugins page&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;"I trust this application"&lt;/td&gt;
&lt;td&gt;"I understand and want to continue"&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;If you can't find developer mode in your settings, nothing is broken. Go to Plugins.&lt;/p&gt;

&lt;h2&gt;
  
  
  What you need
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;ChatGPT in a browser. You can't add a server from the mobile app.&lt;/li&gt;
&lt;li&gt;A remote MCP server with a public HTTPS address. ChatGPT supports streaming HTTP and SSE.&lt;/li&gt;
&lt;li&gt;If the server needs a login, it has to support OAuth. ChatGPT can't send an API key that you type in.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;A server that runs only on your computer doesn't work by address. For that case ChatGPT has a Tunnel option in the same form.&lt;/p&gt;

&lt;h2&gt;
  
  
  Which plans can use it
&lt;/h2&gt;

&lt;p&gt;OpenAI's help page says this:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Business, Enterprise and Edu:&lt;/strong&gt; full MCP support. Tools can read data and change things.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Pro:&lt;/strong&gt; you can connect custom MCP servers, but only with tools that read data.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Plus, Go and Free:&lt;/strong&gt; the help page doesn't say.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;In a Business workspace, only admins and owners can create and publish a custom server for everyone. In Enterprise and Edu, an admin gives this permission to roles.&lt;/p&gt;

&lt;p&gt;These rules changed several times in 2026. If the &lt;strong&gt;Add custom MCP server&lt;/strong&gt; item is in your menu, you can try it. Check the &lt;a href="https://help.openai.com/en/articles/12584461-connecting-custom-mcp-servers-in-chatgpt" rel="noopener noreferrer"&gt;OpenAI help page&lt;/a&gt; for your plan.&lt;/p&gt;

&lt;h2&gt;
  
  
  Step 1. Open Plugins
&lt;/h2&gt;

&lt;p&gt;In ChatGPT on the web, open &lt;strong&gt;Plugins&lt;/strong&gt; in the sidebar. The direct address is &lt;code&gt;chatgpt.com/plugins&lt;/code&gt;.&lt;/p&gt;

&lt;h2&gt;
  
  
  Step 2. Add a custom MCP server
&lt;/h2&gt;

&lt;p&gt;Press &lt;strong&gt;Add&lt;/strong&gt; in the top right corner and choose &lt;strong&gt;Add custom MCP server&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;Fill in the form:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Name.&lt;/strong&gt; Any name you will recognize, for example &lt;code&gt;vbtnl&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Description.&lt;/strong&gt; Optional.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Connection.&lt;/strong&gt; Leave &lt;strong&gt;Server URL&lt;/strong&gt; selected and paste the address of the server. It usually ends with &lt;code&gt;/mcp&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Authentication.&lt;/strong&gt; Choose &lt;strong&gt;OAuth&lt;/strong&gt; if the server has a login. The other choices are no authentication, or both.&lt;/li&gt;
&lt;li&gt;Read the warning and tick &lt;strong&gt;I understand and want to continue&lt;/strong&gt;.&lt;/li&gt;
&lt;li&gt;Press the create button at the bottom.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;The example below uses vbtnl, a hosting service that works as an MCP server:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;https://api.vbtnl.com/mcp
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  Step 3. Log in and install
&lt;/h2&gt;

&lt;p&gt;If the server uses OAuth, ChatGPT opens the server's login page. Log in there and allow access. ChatGPT gets a token. It never sees your password.&lt;/p&gt;

&lt;p&gt;Then ChatGPT shows the tools it found on the server. Check the list and install the plugin. The server now shows up under &lt;strong&gt;Installed&lt;/strong&gt; on the Plugins page.&lt;/p&gt;

&lt;h2&gt;
  
  
  Step 4. Use it in a chat
&lt;/h2&gt;

&lt;p&gt;Start a new chat. Type &lt;code&gt;@&lt;/code&gt; and choose the plugin, or just ask for something the plugin can do. It helps to name it in the message:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;Use vbtnl. Make a small site with my portfolio and put it online.
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;When a tool changes something, ChatGPT asks you to confirm first. You can let it remember your answer for that tool until the end of the chat. A new chat asks again.&lt;/p&gt;

&lt;h2&gt;
  
  
  What OAuth has to support
&lt;/h2&gt;

&lt;p&gt;This part is for people who build the server. ChatGPT follows the MCP authorization spec with OAuth 2.1. In short, the server needs:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;protected resource metadata at &lt;code&gt;/.well-known/oauth-protected-resource&lt;/code&gt;, or a &lt;code&gt;WWW-Authenticate&lt;/code&gt; header on a 401 answer,&lt;/li&gt;
&lt;li&gt;authorization server metadata,&lt;/li&gt;
&lt;li&gt;PKCE with &lt;code&gt;S256&lt;/code&gt;,&lt;/li&gt;
&lt;li&gt;a way for ChatGPT to register as a client. OpenAI prefers Client ID Metadata Documents. Dynamic client registration still works.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Mark tools that only read data with the &lt;code&gt;readOnlyHint&lt;/code&gt; annotation. ChatGPT treats every tool without it as a tool that changes something and asks for confirmation.&lt;/p&gt;

&lt;p&gt;The &lt;code&gt;search&lt;/code&gt; and &lt;code&gt;fetch&lt;/code&gt; tools are no longer required for a custom MCP server. You still need them if the server should work in deep research.&lt;/p&gt;

&lt;h2&gt;
  
  
  After you change the server
&lt;/h2&gt;

&lt;p&gt;ChatGPT keeps the tool list it saw when you added the server. If you add or rename a tool:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Open the plugin on the Plugins page.&lt;/li&gt;
&lt;li&gt;Press &lt;strong&gt;Refresh&lt;/strong&gt;.&lt;/li&gt;
&lt;li&gt;Start a new chat.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;In a workspace, a published plugin is a saved copy. An admin has to refresh or publish it again.&lt;/p&gt;

&lt;h2&gt;
  
  
  If something goes wrong
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;You can't find developer mode.&lt;/strong&gt; It was removed. Use &lt;strong&gt;Plugins&lt;/strong&gt;, then &lt;strong&gt;Add&lt;/strong&gt;, then &lt;strong&gt;Add custom MCP server&lt;/strong&gt;.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;There is no "Add custom MCP server" item.&lt;/strong&gt; Your plan or your workspace role doesn't allow it. In a workspace, ask an admin for the permission to create plugins with MCP servers.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;ChatGPT can't connect, or it shows no tools.&lt;/strong&gt; Check that the address is public, uses HTTPS and points to the MCP path, usually &lt;code&gt;/mcp&lt;/code&gt;. Test the server with MCP Inspector first.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Login fails with a 401 error.&lt;/strong&gt; The server has to answer 401 with a &lt;code&gt;WWW-Authenticate&lt;/code&gt; header, so ChatGPT can start OAuth.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Client registration fails.&lt;/strong&gt; The login server has to support Client ID Metadata Documents or have a &lt;code&gt;registration_endpoint&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;The answer stops in the middle.&lt;/strong&gt; A proxy or CDN in front of the server is holding the stream. Turn off buffering for the MCP path.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;ChatGPT doesn't use the tool.&lt;/strong&gt; Name the plugin in your message. If you own the server, write clearer tool names and descriptions.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Example: host an app from a ChatGPT chat
&lt;/h2&gt;

&lt;p&gt;With vbtnl connected, ChatGPT can do more than write code in the chat window. It writes the files to a server, runs the app and gives you a link.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;Use vbtnl. Build an API that saves notes to a Postgres database. Show me the draft link.
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;ChatGPT creates a project, writes the code, starts it and replies with a draft address. Say "ship it" and it publishes. vbtnl's tools write files and publish, so you need a ChatGPT plan where tools can change things.&lt;/p&gt;

&lt;p&gt;The same server works in other apps: &lt;a href="https://vbtnl.com/blog/how-to/add-mcp-server-to-claude-code" rel="noopener noreferrer"&gt;Claude Code&lt;/a&gt;, &lt;a href="https://vbtnl.com/blog/how-to/add-mcp-server-to-codex" rel="noopener noreferrer"&gt;Codex&lt;/a&gt; and &lt;a href="https://vbtnl.com/docs/claude-desktop" rel="noopener noreferrer"&gt;Claude&lt;/a&gt;. The steps for ChatGPT are also in the &lt;a href="https://vbtnl.com/docs/chatgpt" rel="noopener noreferrer"&gt;docs&lt;/a&gt;.&lt;/p&gt;

&lt;h2&gt;
  
  
  Questions
&lt;/h2&gt;

&lt;h3&gt;
  
  
  Where is developer mode in ChatGPT?
&lt;/h3&gt;

&lt;p&gt;It is gone. OpenAI removed the switch around October 2026. You add a custom MCP server from the Plugins page without it.&lt;/p&gt;

&lt;h3&gt;
  
  
  Does ChatGPT support MCP?
&lt;/h3&gt;

&lt;p&gt;Yes. ChatGPT connects to remote MCP servers over streaming HTTP or SSE. You add one as a custom MCP server, and it becomes a plugin.&lt;/p&gt;

&lt;h3&gt;
  
  
  Can I connect a local MCP server to ChatGPT?
&lt;/h3&gt;

&lt;p&gt;Not by its address. ChatGPT needs a public HTTPS address. For a server on your own computer or network, use the Tunnel option in the form.&lt;/p&gt;

&lt;h3&gt;
  
  
  Can I add an MCP server in the ChatGPT mobile app?
&lt;/h3&gt;

&lt;p&gt;No. OpenAI's help page says adding a server works only on the web.&lt;/p&gt;

&lt;h3&gt;
  
  
  Is a connector the same as a plugin?
&lt;/h3&gt;

&lt;p&gt;For custom servers, yes. What older guides call a connector is now a custom MCP server that ChatGPT saves as a plugin.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Give ChatGPT a place to run code.&lt;/strong&gt; Add vbtnl as a custom MCP server and get a live link from a chat. Start at &lt;a href="https://vbtnl.com" rel="noopener noreferrer"&gt;vbtnl.com&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Originally published on the &lt;a href="https://vbtnl.com/blog/how-to/add-mcp-server-to-chatgpt" rel="noopener noreferrer"&gt;vbtnl blog&lt;/a&gt;.&lt;/em&gt;&lt;/p&gt;

</description>
      <category>chatgpt</category>
      <category>mcp</category>
      <category>ai</category>
      <category>tutorial</category>
    </item>
    <item>
      <title>Codex MCP: how to add an MCP server to Codex CLI</title>
      <dc:creator>Philipp Shayzhanov</dc:creator>
      <pubDate>Tue, 24 Nov 2026 12:01:16 +0000</pubDate>
      <link>https://dev.to/kinzarra/codex-mcp-how-to-add-an-mcp-server-to-codex-cli-2k8b</link>
      <guid>https://dev.to/kinzarra/codex-mcp-how-to-add-an-mcp-server-to-codex-cli-2k8b</guid>
      <description>&lt;p&gt;Codex MCP servers give Codex new tools. A GitHub server lets it read issues, a Playwright server lets it open a browser, and a hosting server lets it put your app online.&lt;/p&gt;

&lt;p&gt;You add a server with one command:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;codex mcp add my-server --url https://example.com/mcp
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;That's the short version. Below is the rest: local and remote servers, how to log in, where Codex saves the settings, and what to do when a server doesn't connect.&lt;/p&gt;

&lt;p&gt;The commands here were checked with Codex CLI 0.166.&lt;/p&gt;

&lt;h2&gt;
  
  
  Local or remote?
&lt;/h2&gt;

&lt;p&gt;There are two kinds of MCP servers.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Remote (HTTP).&lt;/strong&gt; The server runs somewhere on the internet. Codex connects to its address. Nothing to install.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Local (stdio).&lt;/strong&gt; The server is a program on your computer. Codex starts it for you, usually with &lt;code&gt;npx&lt;/code&gt; or &lt;code&gt;uvx&lt;/code&gt;.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The README of the server tells you which kind it is. If it gives you a URL, it's remote. If it gives you a command like &lt;code&gt;npx something&lt;/code&gt;, it's local.&lt;/p&gt;

&lt;h2&gt;
  
  
  Add a remote MCP server
&lt;/h2&gt;

&lt;p&gt;Use &lt;code&gt;--url&lt;/code&gt; and a name you choose:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;codex mcp add sentry --url https://mcp.sentry.dev/mcp
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Most remote servers need you to log in. There are two ways.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Log in with the browser (OAuth).&lt;/strong&gt; If Codex sees that the server supports OAuth, it starts the login right after &lt;code&gt;add&lt;/code&gt;. If it doesn't, or you closed the page, run:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;codex mcp login sentry
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;A browser page opens, you log in and allow access. On a machine without a browser, for example over SSH, add &lt;code&gt;--no-browser&lt;/code&gt;. Codex prints a link, and you open it on any computer.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Use a token.&lt;/strong&gt; Some servers give you an API key instead. Codex doesn't store the key itself. It reads it from an environment variable each time it connects:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;codex mcp add my-server --url https://example.com/mcp --bearer-token-env-var MY_SERVER_TOKEN
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Then set the variable in the terminal where you start Codex:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;&lt;span class="kd"&gt;export&lt;/span&gt; &lt;span class="nv"&gt;MY_SERVER_TOKEN&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;your-token
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Put that line in &lt;code&gt;~/.zshrc&lt;/code&gt; or &lt;code&gt;~/.bashrc&lt;/code&gt; so you don't have to type it every time.&lt;/p&gt;

&lt;h2&gt;
  
  
  Add a local MCP server
&lt;/h2&gt;

&lt;p&gt;Put &lt;code&gt;--&lt;/code&gt; before the command that starts the server. Everything after &lt;code&gt;--&lt;/code&gt; is the command:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;codex mcp add playwright -- npx @playwright/mcp@latest
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;If the server needs an API key, pass it with &lt;code&gt;--env&lt;/code&gt;:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;codex mcp add my-server --env &lt;span class="nv"&gt;API_KEY&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;YOUR_KEY -- npx my-mcp-server
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;You need Node.js for &lt;code&gt;npx&lt;/code&gt; servers and Python with uv for &lt;code&gt;uvx&lt;/code&gt; servers.&lt;/p&gt;

&lt;h2&gt;
  
  
  Where Codex saves servers: config.toml
&lt;/h2&gt;

&lt;p&gt;&lt;code&gt;codex mcp add&lt;/code&gt; writes the server into &lt;code&gt;~/.codex/config.toml&lt;/code&gt;. The servers there work in every folder. The Codex IDE extension reads the same file, so a server you add in the terminal shows up there too.&lt;/p&gt;

&lt;p&gt;You can also edit the file by hand. After the commands above it looks like this:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight toml"&gt;&lt;code&gt;&lt;span class="k"&gt;[mcp_servers.sentry]&lt;/span&gt;
&lt;span class="na"&gt;url&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="s2"&gt;"https://mcp.sentry.dev/mcp"&lt;/span&gt;

&lt;span class="k"&gt;[mcp_servers.my-server]&lt;/span&gt;
&lt;span class="na"&gt;url&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="s2"&gt;"https://example.com/mcp"&lt;/span&gt;
&lt;span class="na"&gt;bearer_token_env_var&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="s2"&gt;"MY_SERVER_TOKEN"&lt;/span&gt;

&lt;span class="k"&gt;[mcp_servers.playwright]&lt;/span&gt;
&lt;span class="na"&gt;command&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="s2"&gt;"npx"&lt;/span&gt;
&lt;span class="na"&gt;args&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="s2"&gt;"@playwright/mcp@latest"&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;A few more settings that are useful for remote servers:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight toml"&gt;&lt;code&gt;&lt;span class="k"&gt;[mcp_servers.my-server]&lt;/span&gt;
&lt;span class="na"&gt;url&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="s2"&gt;"https://example.com/mcp"&lt;/span&gt;
&lt;span class="na"&gt;http_headers&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt; &lt;span class="s2"&gt;"X-Region"&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="s2"&gt;"eu"&lt;/span&gt; &lt;span class="p"&gt;}&lt;/span&gt;               &lt;span class="c1"&gt;# a fixed header&lt;/span&gt;
&lt;span class="na"&gt;env_http_headers&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt; &lt;span class="s2"&gt;"X-Api-Key"&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="s2"&gt;"MY_API_KEY"&lt;/span&gt; &lt;span class="p"&gt;}&lt;/span&gt;  &lt;span class="c1"&gt;# a header from an environment variable&lt;/span&gt;
&lt;span class="na"&gt;startup_timeout_sec&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="mi"&gt;20&lt;/span&gt;                           &lt;span class="c1"&gt;# wait longer for a slow server&lt;/span&gt;
&lt;span class="na"&gt;tool_timeout_sec&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="mi"&gt;120&lt;/span&gt;                             &lt;span class="c1"&gt;# let long tools finish&lt;/span&gt;
&lt;span class="na"&gt;enabled_tools&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="s2"&gt;"search"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s2"&gt;"read_file"&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;            &lt;span class="c1"&gt;# only these tools&lt;/span&gt;
&lt;span class="na"&gt;enabled&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="kc"&gt;false&lt;/span&gt;                                    &lt;span class="c1"&gt;# keep it, but turn it off&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Don't put real tokens in &lt;code&gt;config.toml&lt;/code&gt;. Use &lt;code&gt;bearer_token_env_var&lt;/code&gt; or &lt;code&gt;env_http_headers&lt;/code&gt;, and keep the values in environment variables.&lt;/p&gt;

&lt;h2&gt;
  
  
  Check that it works
&lt;/h2&gt;

&lt;p&gt;In the terminal:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;codex mcp list
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;You see every server, whether it is enabled, and how it logs in: &lt;code&gt;OAuth&lt;/code&gt;, &lt;code&gt;Bearer token&lt;/code&gt; or &lt;code&gt;Not logged in&lt;/code&gt;. For one server:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;codex mcp get sentry
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Inside Codex, type &lt;code&gt;/mcp&lt;/code&gt;. It shows the servers Codex connected to in this session and their tools.&lt;/p&gt;

&lt;p&gt;Then just ask Codex to use it: "List my open Sentry issues". If the server works, Codex calls its tools.&lt;/p&gt;

&lt;h2&gt;
  
  
  Remove a server or log out
&lt;/h2&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;codex mcp remove sentry
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;To keep the server but drop the saved login:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;codex mcp &lt;span class="nb"&gt;logout&lt;/span&gt; sentry
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  When the server doesn't connect
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;&lt;code&gt;Not logged in&lt;/code&gt; in &lt;code&gt;codex mcp list&lt;/code&gt;.&lt;/strong&gt; Run &lt;code&gt;codex mcp login &amp;lt;name&amp;gt;&lt;/code&gt;. If the login expired, run &lt;code&gt;codex mcp logout &amp;lt;name&amp;gt;&lt;/code&gt; and log in again.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;"MCP server may or may not require login" after &lt;code&gt;add&lt;/code&gt;.&lt;/strong&gt; Codex couldn't tell if the server uses OAuth. That's fine: run &lt;code&gt;codex mcp login &amp;lt;name&amp;gt;&lt;/code&gt; once.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;401 or 403 with a token.&lt;/strong&gt; Check that the variable from &lt;code&gt;bearer_token_env_var&lt;/code&gt; is set in the same terminal where you start Codex: &lt;code&gt;echo $MY_SERVER_TOKEN&lt;/code&gt;. Codex sends it as &lt;code&gt;Authorization: Bearer &amp;lt;token&amp;gt;&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;A remote server times out on start.&lt;/strong&gt; Check the URL. Many servers end with &lt;code&gt;/mcp&lt;/code&gt;. If the server is just slow, raise &lt;code&gt;startup_timeout_sec&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;A local server fails to start.&lt;/strong&gt; Run its command by hand, for example &lt;code&gt;npx @playwright/mcp@latest&lt;/code&gt;. You will see the real error, often a missing Node.js or Python.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;The server is connected, but Codex doesn't use it.&lt;/strong&gt; Name it in your request: "use the Playwright MCP to open the page". Codex picks tools by their names and descriptions.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Example: a remote server that deploys your code
&lt;/h2&gt;

&lt;p&gt;Here is a real remote MCP server: vbtnl. It gives Codex tools to create a project on a server, write files there, run them and publish the app to a public address.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;codex mcp add vbtnl --url https://api.vbtnl.com/mcp
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Codex sees that vbtnl uses OAuth and opens a login page. Log in with your vbtnl account. If you closed the page, run &lt;code&gt;codex mcp login vbtnl&lt;/code&gt;. Now you can ask:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;Make a landing page with a waitlist and put it online on vbtnl.
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Codex writes the code on the server, starts it and replies with a link. Setup for Codex and other apps is in the &lt;a href="https://vbtnl.com/docs/codex" rel="noopener noreferrer"&gt;docs&lt;/a&gt;. If you also use Claude Code, the same steps for it are in &lt;a href="https://vbtnl.com/blog/how-to/add-mcp-server-to-claude-code" rel="noopener noreferrer"&gt;How to add an MCP server to Claude Code&lt;/a&gt;. For a full example, see &lt;a href="https://vbtnl.com/blog/how-to/deploy-telegram-bot-free-claude-code" rel="noopener noreferrer"&gt;how to build and deploy a Telegram bot&lt;/a&gt;: the same prompt works in Codex.&lt;/p&gt;

&lt;h2&gt;
  
  
  Which MCP servers to add
&lt;/h2&gt;

&lt;p&gt;Start with the ones that match your daily work. Popular choices for Codex:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;GitHub&lt;/strong&gt; for issues and pull requests.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Playwright&lt;/strong&gt; to open pages in a real browser and test them.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Figma&lt;/strong&gt; to read designs and turn them into code.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Sentry&lt;/strong&gt; to read errors from production.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;A hosting server&lt;/strong&gt; like vbtnl to put what Codex built online.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Don't add everything at once. Each server adds tools, and with too many tools Codex has a harder time picking the right one.&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Originally published on the &lt;a href="https://vbtnl.com/blog/how-to/add-mcp-server-to-codex" rel="noopener noreferrer"&gt;vbtnl blog&lt;/a&gt;.&lt;/em&gt;&lt;/p&gt;

</description>
      <category>openai</category>
      <category>mcp</category>
      <category>ai</category>
      <category>tutorial</category>
    </item>
    <item>
      <title>Claude Code MCP: how to add an MCP server (local or remote)</title>
      <dc:creator>Philipp Shayzhanov</dc:creator>
      <pubDate>Tue, 24 Nov 2026 12:00:03 +0000</pubDate>
      <link>https://dev.to/kinzarra/claude-code-mcp-how-to-add-an-mcp-server-local-or-remote-58fa</link>
      <guid>https://dev.to/kinzarra/claude-code-mcp-how-to-add-an-mcp-server-local-or-remote-58fa</guid>
      <description>&lt;p&gt;Claude Code MCP servers give Claude Code new tools. For example, a GitHub server lets it read issues, a Playwright server lets it open a browser, and a hosting server lets it put your app online.&lt;/p&gt;

&lt;p&gt;You add a server with one command:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;claude mcp add --transport http my-server https://example.com/mcp
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;That's the short version. Below is the rest: local and remote servers, where the settings are saved, how to log in, and what to do when a server doesn't connect.&lt;/p&gt;

&lt;h2&gt;
  
  
  Local or remote?
&lt;/h2&gt;

&lt;p&gt;There are two kinds of MCP servers.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Local (stdio).&lt;/strong&gt; The server is a program on your computer. Claude Code starts it for you, usually with &lt;code&gt;npx&lt;/code&gt; or &lt;code&gt;uvx&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Remote (HTTP).&lt;/strong&gt; The server runs somewhere on the internet. Claude Code connects to its address. Nothing to install.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The README of the server tells you which kind it is. If it gives you a URL, it's remote. If it gives you a command like &lt;code&gt;npx something&lt;/code&gt;, it's local.&lt;/p&gt;

&lt;h2&gt;
  
  
  Add a remote MCP server
&lt;/h2&gt;

&lt;p&gt;Use &lt;code&gt;--transport http&lt;/code&gt;, a name you choose, and the server's URL:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;claude mcp add --transport http sentry https://mcp.sentry.dev/mcp
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Most remote servers need you to log in. There are two ways.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Log in with the browser (OAuth).&lt;/strong&gt; Open Claude Code, type &lt;code&gt;/mcp&lt;/code&gt;, pick the server and choose &lt;strong&gt;Authenticate&lt;/strong&gt;. A browser page opens, you log in and allow access. You can also do it from the terminal:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;claude mcp login sentry
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;strong&gt;Use a token.&lt;/strong&gt; Some servers give you an API key instead. Send it in a header:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;claude mcp add --transport http my-server https://example.com/mcp \
  --header &lt;span class="s2"&gt;"Authorization: Bearer YOUR_TOKEN"&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  Add a local MCP server
&lt;/h2&gt;

&lt;p&gt;Put &lt;code&gt;--&lt;/code&gt; before the command that starts the server. Everything after &lt;code&gt;--&lt;/code&gt; is the command:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;claude mcp add playwright -- npx @playwright/mcp@latest
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;If the server needs an API key, pass it with &lt;code&gt;-e&lt;/code&gt;:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;claude mcp add my-server -e &lt;span class="nv"&gt;API_KEY&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;YOUR_KEY -- npx my-mcp-server
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;You need Node.js for &lt;code&gt;npx&lt;/code&gt; servers and Python with &lt;code&gt;uv&lt;/code&gt; for &lt;code&gt;uvx&lt;/code&gt; servers.&lt;/p&gt;

&lt;h2&gt;
  
  
  Where the server is saved: scopes
&lt;/h2&gt;

&lt;p&gt;By default a server works only in the folder where you added it. Use &lt;code&gt;--scope&lt;/code&gt; to change that:&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Scope&lt;/th&gt;
&lt;th&gt;Where it works&lt;/th&gt;
&lt;th&gt;Where it's saved&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;
&lt;code&gt;local&lt;/code&gt; (default)&lt;/td&gt;
&lt;td&gt;Only in this folder, only for you&lt;/td&gt;
&lt;td&gt;Your Claude Code settings&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;user&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;In every folder on your computer&lt;/td&gt;
&lt;td&gt;Your Claude Code settings&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;project&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;For everyone who works on this repository&lt;/td&gt;
&lt;td&gt;
&lt;code&gt;.mcp.json&lt;/code&gt; in the project root&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;Want a server everywhere? Add &lt;code&gt;--scope user&lt;/code&gt;:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;claude mcp add --scope user --transport http sentry https://mcp.sentry.dev/mcp
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  Share servers with your team: .mcp.json
&lt;/h2&gt;

&lt;p&gt;With &lt;code&gt;--scope project&lt;/code&gt;, Claude Code writes the server into &lt;code&gt;.mcp.json&lt;/code&gt;. You commit this file, and your team gets the same servers. It looks like this:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight json"&gt;&lt;code&gt;&lt;span class="p"&gt;{&lt;/span&gt;
  &lt;span class="nl"&gt;"mcpServers"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
    &lt;span class="nl"&gt;"my-server"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
      &lt;span class="nl"&gt;"type"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"http"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
      &lt;span class="nl"&gt;"url"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"https://example.com/mcp"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
      &lt;span class="nl"&gt;"headers"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
        &lt;span class="nl"&gt;"Authorization"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"Bearer ${MY_SERVER_TOKEN}"&lt;/span&gt;
      &lt;span class="p"&gt;}&lt;/span&gt;
    &lt;span class="p"&gt;}&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
    &lt;span class="nl"&gt;"playwright"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
      &lt;span class="nl"&gt;"type"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"stdio"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
      &lt;span class="nl"&gt;"command"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"npx"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
      &lt;span class="nl"&gt;"args"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="s2"&gt;"@playwright/mcp@latest"&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
      &lt;span class="nl"&gt;"env"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;&lt;span class="p"&gt;}&lt;/span&gt;
    &lt;span class="p"&gt;}&lt;/span&gt;
  &lt;span class="p"&gt;}&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Don't put real tokens in this file, because it goes to git. Write &lt;code&gt;${MY_SERVER_TOKEN}&lt;/code&gt; instead, and each person sets the variable in their own terminal. Claude Code puts the value in when it connects.&lt;/p&gt;

&lt;p&gt;The first time someone opens the project, Claude Code asks them to approve the servers from &lt;code&gt;.mcp.json&lt;/code&gt;. That's normal: a file from git shouldn't run programs on your computer without asking.&lt;/p&gt;

&lt;h2&gt;
  
  
  Check that it works
&lt;/h2&gt;

&lt;p&gt;In the terminal:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;claude mcp list
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;You see every server and whether it is connected. For one server:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;claude mcp get sentry
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Inside Claude Code, type &lt;code&gt;/mcp&lt;/code&gt;. It shows the same list, and you can log in, reconnect or turn a server off there.&lt;/p&gt;

&lt;p&gt;Then just ask Claude to use it: "List my open Sentry issues". If the server works, Claude calls its tools.&lt;/p&gt;

&lt;h2&gt;
  
  
  Remove a server
&lt;/h2&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;claude mcp remove sentry
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Claude Code finds it in any scope. If you have servers with the same name in two scopes, say which one: &lt;code&gt;claude mcp remove --scope user sentry&lt;/code&gt;.&lt;/p&gt;

&lt;h2&gt;
  
  
  When the server doesn't connect
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;"Failed to connect" for a remote server.&lt;/strong&gt; Check the URL. Many servers end with &lt;code&gt;/mcp&lt;/code&gt;. Open &lt;code&gt;/mcp&lt;/code&gt; in Claude Code and try &lt;strong&gt;Authenticate&lt;/strong&gt; again.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;"Needs authentication".&lt;/strong&gt; You haven't logged in yet, or the login expired. Run &lt;code&gt;/mcp&lt;/code&gt; or &lt;code&gt;claude mcp login &amp;lt;name&amp;gt;&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;401 or 403 with a token.&lt;/strong&gt; The header must be exactly &lt;code&gt;Authorization: Bearer &amp;lt;token&amp;gt;&lt;/code&gt;, with one space after &lt;code&gt;Bearer&lt;/code&gt;. Check that the token is not expired.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;A local server fails to start.&lt;/strong&gt; Run its command by hand in the terminal, for example &lt;code&gt;npx @playwright/mcp@latest&lt;/code&gt;. You will see the real error, often a missing Node.js or Python.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;The server is connected, but Claude doesn't use it.&lt;/strong&gt; Name it in your request: "use the Playwright MCP to open the page". Claude picks tools by their names and descriptions.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;A server from .mcp.json is "pending approval".&lt;/strong&gt; Approve it in &lt;code&gt;/mcp&lt;/code&gt;. If you said no by mistake, run &lt;code&gt;claude mcp reset-project-choices&lt;/code&gt;.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Example: a remote server that deploys your code
&lt;/h2&gt;

&lt;p&gt;Here is a real remote MCP server: vbtnl. It gives Claude Code tools to create a project on a server, write files there, run them and publish the app to a public address.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;claude mcp add --scope user --transport http vbtnl https://api.vbtnl.com/mcp
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Then &lt;code&gt;/mcp&lt;/code&gt;, pick vbtnl and log in. Now you can ask:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;Make a landing page with a waitlist and put it online on vbtnl.
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Claude writes the code on the server, starts it and replies with a link. For a full example, see &lt;a href="https://vbtnl.com/blog/how-to/deploy-telegram-bot-free-claude-code" rel="noopener noreferrer"&gt;Deploy a Telegram bot for free with Claude Code&lt;/a&gt;. Setup for other apps is in the &lt;a href="https://vbtnl.com/docs" rel="noopener noreferrer"&gt;docs&lt;/a&gt;.&lt;/p&gt;

&lt;h2&gt;
  
  
  Which MCP servers to add
&lt;/h2&gt;

&lt;p&gt;Start with the ones that match your daily work. Popular choices for Claude Code:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;GitHub&lt;/strong&gt; for issues and pull requests.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Playwright&lt;/strong&gt; to open pages in a real browser and test them.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Figma&lt;/strong&gt; to read designs and turn them into code.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;A database server&lt;/strong&gt; (Postgres, Supabase) to look at your data.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;A hosting server&lt;/strong&gt; like vbtnl to put what Claude builds online.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Don't add twenty servers at once. Every server adds tools, and with too many tools Claude picks the wrong one more often. Add what you use, remove what you don't.&lt;/p&gt;

&lt;h2&gt;
  
  
  Questions
&lt;/h2&gt;

&lt;h3&gt;
  
  
  What is the difference between Claude Code and Claude Desktop for MCP?
&lt;/h3&gt;

&lt;p&gt;Claude Code adds servers with &lt;code&gt;claude mcp add&lt;/code&gt; or &lt;code&gt;.mcp.json&lt;/code&gt;. Claude Desktop and claude.ai add remote servers as custom connectors in Settings. On a Mac you can copy servers from Claude Desktop with &lt;code&gt;claude mcp add-from-claude-desktop&lt;/code&gt;.&lt;/p&gt;

&lt;h3&gt;
  
  
  Can I add a server from a JSON config?
&lt;/h3&gt;

&lt;p&gt;Yes. &lt;code&gt;claude mcp add-json my-server '{"type":"http","url":"https://example.com/mcp"}'&lt;/code&gt; takes the same JSON as &lt;code&gt;.mcp.json&lt;/code&gt;.&lt;/p&gt;

&lt;h3&gt;
  
  
  Do MCP servers see my code?
&lt;/h3&gt;

&lt;p&gt;A server sees only what Claude sends to it in a tool call. Still, a local server is a program on your computer, so add only servers you trust.&lt;/p&gt;

&lt;h3&gt;
  
  
  Does the same work in Codex?
&lt;/h3&gt;

&lt;p&gt;Almost. Codex has its own command: &lt;code&gt;codex mcp add&lt;/code&gt;. See &lt;a href="https://vbtnl.com/docs/codex" rel="noopener noreferrer"&gt;Connect Codex&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;More answers are in the &lt;a href="https://vbtnl.com/#faq" rel="noopener noreferrer"&gt;FAQ&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Give Claude Code a place to ship.&lt;/strong&gt; Add vbtnl as a remote MCP server and get a live link for what Claude builds. Start at &lt;a href="https://vbtnl.com" rel="noopener noreferrer"&gt;vbtnl.com&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Originally published on the &lt;a href="https://vbtnl.com/blog/how-to/add-mcp-server-to-claude-code" rel="noopener noreferrer"&gt;vbtnl blog&lt;/a&gt;.&lt;/em&gt;&lt;/p&gt;

</description>
      <category>claude</category>
      <category>mcp</category>
      <category>ai</category>
      <category>tutorial</category>
    </item>
    <item>
      <title>Deploy a Telegram bot for free with Claude Code</title>
      <dc:creator>Philipp Shayzhanov</dc:creator>
      <pubDate>Fri, 13 Nov 2026 23:01:45 +0000</pubDate>
      <link>https://dev.to/kinzarra/deploy-a-telegram-bot-for-free-with-claude-code-4o74</link>
      <guid>https://dev.to/kinzarra/deploy-a-telegram-bot-for-free-with-claude-code-4o74</guid>
      <description>&lt;p&gt;You want a Telegram bot that works all the time, not only when your laptop is on. For that you need three things:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;a bot token from BotFather,&lt;/li&gt;
&lt;li&gt;a public HTTPS address, so Telegram can send messages to your bot,&lt;/li&gt;
&lt;li&gt;a server that keeps the bot running.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The token is easy. The other two usually mean a VPS: you rent a server, set up a web server, get a certificate, and make sure the bot restarts when it crashes.&lt;/p&gt;

&lt;p&gt;This guide skips all of that. You tell Claude Code what bot you want. It builds the bot on vbtnl and gives you a live address. The full code is below, so you can see what runs.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;  you                Claude Code               vbtnl                 Telegram
   |                      |                      |                      |
   |  "build a bot"       |                      |                      |
   |---------------------&amp;gt;|  write, run, publish |                      |
   |                      |---------------------&amp;gt;|  setWebhook (HTTPS)  |
   |                      |                      |---------------------&amp;gt;|
   |                      |                      |                      |
   |  a message to the bot                                              |
   |--------------------------------------------------------------------&amp;gt;|
   |                      |                      |   POST /webhook      |
   |                      |                      |&amp;lt;---------------------|
   |                      |                      |   sendMessage        |
   |                      |                      |---------------------&amp;gt;|
   |  the bot replies                                                   |
   |&amp;lt;--------------------------------------------------------------------|
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  What you need
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;Claude Code. Codex works too, the steps are the same.&lt;/li&gt;
&lt;li&gt;A Telegram account.&lt;/li&gt;
&lt;li&gt;A vbtnl account. The free plan is enough for one bot, and you don't need a card.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Step 1. Get a token from BotFather
&lt;/h2&gt;

&lt;p&gt;In Telegram, open &lt;code&gt;@BotFather&lt;/code&gt; and send &lt;code&gt;/newbot&lt;/code&gt;. Choose a name, then a username that ends with &lt;code&gt;bot&lt;/code&gt;. BotFather sends you a token. It looks like &lt;code&gt;123456789:AAH...&lt;/code&gt;.&lt;/p&gt;

&lt;p&gt;Don't share the token. Anyone who has it can control your bot.&lt;/p&gt;

&lt;h2&gt;
  
  
  Step 2. Connect vbtnl to Claude Code
&lt;/h2&gt;

&lt;p&gt;vbtnl is an MCP server. You add it to Claude Code once:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;claude mcp add --transport http vbtnl https://api.vbtnl.com/mcp
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Then type &lt;code&gt;/mcp&lt;/code&gt; in Claude Code, pick vbtnl and log in. Now Claude Code can create projects on vbtnl, write files there, run commands and publish.&lt;/p&gt;

&lt;h2&gt;
  
  
  Step 3. Ask for the bot
&lt;/h2&gt;

&lt;p&gt;Here is the prompt:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;Build a Telegram bot on vbtnl. It answers /start with a greeting and repeats any other
message back. Use a webhook, not polling. Ask me for the bot token as a secret.
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Claude Code will send you a link to the Secrets window of your project in the vbtnl dashboard. Paste the token there, not in the chat: it goes straight to vbtnl, so it never ends up in the conversation or in a file.&lt;/p&gt;

&lt;p&gt;Then the agent does the work, step by step:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;code&gt;create_project&lt;/code&gt; creates a project with two addresses: a draft for testing and production for real use.&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;request_secrets&lt;/code&gt; asks you for the token, and &lt;code&gt;generate_secrets&lt;/code&gt; makes a random &lt;code&gt;WEBHOOK_SECRET&lt;/code&gt; that nobody sees.&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;write_files&lt;/code&gt; writes the code.&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;exec&lt;/code&gt; sends a test message to the draft to check that it answers.&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;publish&lt;/code&gt; puts the bot into production.&lt;/li&gt;
&lt;/ol&gt;

&lt;h2&gt;
  
  
  The code
&lt;/h2&gt;

&lt;p&gt;The agent writes the code for you, so your bot will look a bit different. But it will be close to this. There are three files.&lt;/p&gt;

&lt;p&gt;&lt;code&gt;vbtnl.json&lt;/code&gt; tells vbtnl how to start the app:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight json"&gt;&lt;code&gt;&lt;span class="p"&gt;{&lt;/span&gt;
  &lt;span class="nl"&gt;"stack"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"python"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="nl"&gt;"start"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"uvicorn main:app --host 0.0.0.0 --port $PORT"&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;code&gt;requirements.txt&lt;/code&gt;:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;fastapi
uvicorn
httpx
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;code&gt;main.py&lt;/code&gt;:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight python"&gt;&lt;code&gt;&lt;span class="k"&gt;import&lt;/span&gt; &lt;span class="n"&gt;os&lt;/span&gt;
&lt;span class="k"&gt;from&lt;/span&gt; &lt;span class="n"&gt;contextlib&lt;/span&gt; &lt;span class="k"&gt;import&lt;/span&gt; &lt;span class="n"&gt;asynccontextmanager&lt;/span&gt;

&lt;span class="k"&gt;import&lt;/span&gt; &lt;span class="n"&gt;httpx&lt;/span&gt;
&lt;span class="k"&gt;from&lt;/span&gt; &lt;span class="n"&gt;fastapi&lt;/span&gt; &lt;span class="k"&gt;import&lt;/span&gt; &lt;span class="nc"&gt;FastAPI&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="nc"&gt;Header&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="nc"&gt;HTTPException&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="nc"&gt;Request&lt;/span&gt;

&lt;span class="c1"&gt;# Secrets reach production only, so the draft runs without them.&lt;/span&gt;
&lt;span class="no"&gt;TOKEN&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;os&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;environ&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;get&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s2"&gt;"TELEGRAM_BOT_TOKEN"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s2"&gt;""&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;span class="no"&gt;SECRET&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;os&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;environ&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;get&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s2"&gt;"WEBHOOK_SECRET"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s2"&gt;"draft-test"&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;span class="no"&gt;API&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;f&lt;/span&gt;&lt;span class="s2"&gt;"https://api.telegram.org/bot{TOKEN}"&lt;/span&gt;


&lt;span class="nd"&gt;@asynccontextmanager&lt;/span&gt;
&lt;span class="k"&gt;async&lt;/span&gt; &lt;span class="k"&gt;def&lt;/span&gt; &lt;span class="nf"&gt;lifespan&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;app&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="nc"&gt;FastAPI&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
    &lt;span class="c1"&gt;# Only production connects to Telegram. The draft is tested with curl.&lt;/span&gt;
    &lt;span class="k"&gt;if&lt;/span&gt; &lt;span class="n"&gt;os&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;environ&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;get&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s2"&gt;"VBTNL_ENV"&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="o"&gt;==&lt;/span&gt; &lt;span class="s2"&gt;"prod"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
        &lt;span class="k"&gt;async&lt;/span&gt; &lt;span class="k"&gt;with&lt;/span&gt; &lt;span class="n"&gt;httpx&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nc"&gt;AsyncClient&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="k"&gt;as&lt;/span&gt; &lt;span class="n"&gt;client&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
            &lt;span class="k"&gt;await&lt;/span&gt; &lt;span class="n"&gt;client&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;post&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;f&lt;/span&gt;&lt;span class="s2"&gt;"{API}/setWebhook"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;json&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="p"&gt;{&lt;/span&gt;
                &lt;span class="s2"&gt;"url"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="n"&gt;f&lt;/span&gt;&lt;span class="s2"&gt;"{os.environ['VBTNL_URL']}/webhook"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
                &lt;span class="s2"&gt;"secret_token"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="no"&gt;SECRET&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
            &lt;span class="p"&gt;}&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
    &lt;span class="k"&gt;yield&lt;/span&gt;


&lt;span class="n"&gt;app&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="nc"&gt;FastAPI&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;lifespan&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="n"&gt;lifespan&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;


&lt;span class="nd"&gt;@app&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;post&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s2"&gt;"/webhook"&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;span class="k"&gt;async&lt;/span&gt; &lt;span class="k"&gt;def&lt;/span&gt; &lt;span class="nf"&gt;webhook&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;request&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="nc"&gt;Request&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;x_telegram_bot_api_secret_token&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="kt"&gt;str&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="nc"&gt;Header&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;default&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="s2"&gt;""&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
    &lt;span class="k"&gt;if&lt;/span&gt; &lt;span class="n"&gt;x_telegram_bot_api_secret_token&lt;/span&gt; &lt;span class="o"&gt;!=&lt;/span&gt; &lt;span class="no"&gt;SECRET&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
        &lt;span class="k"&gt;raise&lt;/span&gt; &lt;span class="nc"&gt;HTTPException&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;status_code&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="mi"&gt;403&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
    &lt;span class="n"&gt;update&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="k"&gt;await&lt;/span&gt; &lt;span class="n"&gt;request&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;json&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
    &lt;span class="n"&gt;message&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;update&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;get&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s2"&gt;"message"&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="ow"&gt;or&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;&lt;span class="p"&gt;}&lt;/span&gt;
    &lt;span class="n"&gt;chat_id&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;message&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;get&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s2"&gt;"chat"&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="ow"&gt;or&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;&lt;span class="p"&gt;}&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;get&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s2"&gt;"id"&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
    &lt;span class="k"&gt;if&lt;/span&gt; &lt;span class="n"&gt;chat_id&lt;/span&gt; &lt;span class="k"&gt;is&lt;/span&gt; &lt;span class="kc"&gt;None&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
        &lt;span class="k"&gt;return&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;&lt;span class="s2"&gt;"ok"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="kc"&gt;True&lt;/span&gt;&lt;span class="p"&gt;}&lt;/span&gt;
    &lt;span class="n"&gt;text&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;message&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;get&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s2"&gt;"text"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s2"&gt;""&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
    &lt;span class="k"&gt;if&lt;/span&gt; &lt;span class="n"&gt;text&lt;/span&gt; &lt;span class="o"&gt;==&lt;/span&gt; &lt;span class="s2"&gt;"/start"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
        &lt;span class="n"&gt;reply&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="s2"&gt;"Hi! Send me anything and I will repeat it."&lt;/span&gt;
    &lt;span class="k"&gt;else&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
        &lt;span class="n"&gt;reply&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;f&lt;/span&gt;&lt;span class="s2"&gt;"You said: {text}"&lt;/span&gt;
    &lt;span class="k"&gt;if&lt;/span&gt; &lt;span class="ow"&gt;not&lt;/span&gt; &lt;span class="no"&gt;TOKEN&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
        &lt;span class="c1"&gt;# The draft has no token: return the reply instead of sending it.&lt;/span&gt;
        &lt;span class="k"&gt;return&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;&lt;span class="s2"&gt;"ok"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="kc"&gt;True&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s2"&gt;"reply"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="n"&gt;reply&lt;/span&gt;&lt;span class="p"&gt;}&lt;/span&gt;
    &lt;span class="k"&gt;async&lt;/span&gt; &lt;span class="k"&gt;with&lt;/span&gt; &lt;span class="n"&gt;httpx&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nc"&gt;AsyncClient&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="k"&gt;as&lt;/span&gt; &lt;span class="n"&gt;client&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
        &lt;span class="k"&gt;await&lt;/span&gt; &lt;span class="n"&gt;client&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;post&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;f&lt;/span&gt;&lt;span class="s2"&gt;"{API}/sendMessage"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;json&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="p"&gt;{&lt;/span&gt;&lt;span class="s2"&gt;"chat_id"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="n"&gt;chat_id&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s2"&gt;"text"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="n"&gt;reply&lt;/span&gt;&lt;span class="p"&gt;}&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
    &lt;span class="k"&gt;return&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;&lt;span class="s2"&gt;"ok"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="kc"&gt;True&lt;/span&gt;&lt;span class="p"&gt;}&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;You don't set &lt;code&gt;PORT&lt;/code&gt;, &lt;code&gt;VBTNL_ENV&lt;/code&gt; or &lt;code&gt;VBTNL_URL&lt;/code&gt; yourself, vbtnl does it. &lt;code&gt;VBTNL_URL&lt;/code&gt; is the public address of the bot. When the bot starts, it sends this address to Telegram, so you never copy a URL by hand.&lt;/p&gt;

&lt;h2&gt;
  
  
  Webhook or polling?
&lt;/h2&gt;

&lt;p&gt;A bot can get messages in two ways:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Polling.&lt;/strong&gt; The bot asks Telegram again and again: "Any new messages?"&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Webhook.&lt;/strong&gt; Telegram sends every new message to the bot's address.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Polling is fine on your laptop. On a server, a webhook is better. The bot does nothing until a message comes, and it is just a normal web app. Telegram sends webhooks only to HTTPS addresses. Every vbtnl address already has HTTPS, so there is no certificate to set up.&lt;/p&gt;

&lt;p&gt;On the free plan you need a webhook. A free bot sleeps when nobody writes to it, and a sleeping bot can't poll. A webhook wakes it up.&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;Watch out.&lt;/strong&gt; One bot token can have only one webhook. If both the draft and production register it, the one that started last gets the messages and the other one is silent. That is why the code registers the webhook only in production.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;h2&gt;
  
  
  The secret token
&lt;/h2&gt;

&lt;p&gt;The webhook address is public. Anyone who finds it can send fake messages to your bot.&lt;/p&gt;

&lt;p&gt;Telegram has a simple fix. When you call &lt;code&gt;setWebhook&lt;/code&gt;, you also send a &lt;code&gt;secret_token&lt;/code&gt;. Then Telegram puts this value in the &lt;code&gt;X-Telegram-Bot-Api-Secret-Token&lt;/code&gt; header of every request. The code checks the header and answers 403 if it is wrong.&lt;/p&gt;

&lt;p&gt;Keep this secret where you keep the bot token: in the project secrets, not in the code.&lt;/p&gt;

&lt;h2&gt;
  
  
  Step 4. Test, then publish
&lt;/h2&gt;

&lt;p&gt;The draft doesn't get real messages from Telegram. So ask the agent to test it:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;Send a fake /start update to the draft and show me the response.
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;It sends a fake message with &lt;code&gt;curl&lt;/code&gt; and shows you the answer and the logs. If everything looks good, write:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;Ship it.
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;The agent publishes the bot. Production starts, connects to Telegram, and the bot is live. Open it in Telegram and send &lt;code&gt;/start&lt;/code&gt;.&lt;/p&gt;

&lt;h2&gt;
  
  
  Make the bot write first
&lt;/h2&gt;

&lt;p&gt;Sometimes you want the bot to send something on its own. For example:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;Every day at 9:00 UTC send "Good morning" to my chat. My chat id is 123456789.
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;The agent adds a small script and a schedule to &lt;code&gt;vbtnl.json&lt;/code&gt;:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight json"&gt;&lt;code&gt;&lt;span class="p"&gt;{&lt;/span&gt;
  &lt;span class="nl"&gt;"stack"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"python"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="nl"&gt;"start"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"uvicorn main:app --host 0.0.0.0 --port $PORT"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="nl"&gt;"cron"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="p"&gt;{&lt;/span&gt; &lt;span class="nl"&gt;"schedule"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"0 9 * * *"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="nl"&gt;"run"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"python daily.py"&lt;/span&gt; &lt;span class="p"&gt;}&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Schedules use the normal cron format and UTC time. A project can have up to 10 of them. Don't know your chat id? Send any message to the bot and ask the agent to find it in the logs.&lt;/p&gt;

&lt;h2&gt;
  
  
  If something goes wrong
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;The bot doesn't answer after publishing.&lt;/strong&gt; Ask the agent to check the production logs and the webhook. Most of the time the token is wrong.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;It worked, but stopped after a change.&lt;/strong&gt; Ask the agent to roll back. Every publish is saved as a version, and going back takes one step.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;You want to save users or messages.&lt;/strong&gt; Ask for a database. The agent adds Postgres, and the bot gets its address in &lt;code&gt;DATABASE_URL&lt;/code&gt;. Don't save data to files in production: files are lost when the app restarts.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Is it really free?
&lt;/h2&gt;

&lt;p&gt;For one bot, yes. The free plan has one project, and you don't need a card.&lt;/p&gt;

&lt;p&gt;There is one limit you should know. On the free plan the bot sleeps after 30 minutes without messages. The next message wakes it up, and that takes 10 to 30 seconds. Telegram sends the message again if the bot was not ready, so the message is not lost. The reply just comes later than usual.&lt;/p&gt;

&lt;p&gt;Scheduled jobs don't depend on this. A job from &lt;code&gt;cron&lt;/code&gt; runs on time, even when the bot sleeps.&lt;/p&gt;

&lt;p&gt;On paid plans the bot never sleeps.&lt;/p&gt;

&lt;p&gt;On the free plan the bot gets 0.5 vCPU, 1.25 GB of RAM, a 1 GB Postgres database and an address on &lt;code&gt;vbtnl.site&lt;/code&gt;.&lt;/p&gt;

&lt;h2&gt;
  
  
  What it costs
&lt;/h2&gt;

&lt;p&gt;One bot is free. Paid plans start at $19 a month. You get more projects, more CPU and memory, your own domain, and a bot that never sleeps. See &lt;a href="https://vbtnl.com/#pricing" rel="noopener noreferrer"&gt;pricing&lt;/a&gt;.&lt;/p&gt;

&lt;h2&gt;
  
  
  Questions
&lt;/h2&gt;

&lt;h3&gt;
  
  
  Do I need a VPS for a Telegram bot?
&lt;/h3&gt;

&lt;p&gt;No. With a VPS you install Python, a web server, a certificate and a process manager yourself. Here vbtnl runs the app, gives it HTTPS and restarts it when needed. The agent does the setup.&lt;/p&gt;

&lt;h3&gt;
  
  
  Can I use Codex instead of Claude Code?
&lt;/h3&gt;

&lt;p&gt;Yes. Add vbtnl with &lt;code&gt;codex mcp add vbtnl --url https://api.vbtnl.com/mcp&lt;/code&gt;, then run &lt;code&gt;codex mcp login vbtnl&lt;/code&gt;. Use the same prompt.&lt;/p&gt;

&lt;h3&gt;
  
  
  Can I write the bot in Node.js?
&lt;/h3&gt;

&lt;p&gt;Yes. vbtnl runs Python 3.12 and Node.js 22. Say which one you want in the prompt.&lt;/p&gt;

&lt;h3&gt;
  
  
  Do I need to know Python?
&lt;/h3&gt;

&lt;p&gt;No. The agent writes the code and fixes it. The code is here so you can see what runs, not because you need to type it.&lt;/p&gt;

&lt;h3&gt;
  
  
  I already have a bot. Can I move it here?
&lt;/h3&gt;

&lt;p&gt;Yes. Ask the agent to put your files into a project and publish them. Two rules: the app must listen on &lt;code&gt;$PORT&lt;/code&gt;, and it must read the token from an environment variable.&lt;/p&gt;

&lt;p&gt;More answers are in the &lt;a href="https://vbtnl.com/#faq" rel="noopener noreferrer"&gt;FAQ&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Build your bot with one message.&lt;/strong&gt; Connect &lt;a href="https://vbtnl.com" rel="noopener noreferrer"&gt;vbtnl&lt;/a&gt; to Claude Code or Codex, describe the bot, and get a live address.&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Originally published on the &lt;a href="https://vbtnl.com/blog/how-to/deploy-telegram-bot-free-claude-code" rel="noopener noreferrer"&gt;vbtnl blog&lt;/a&gt;.&lt;/em&gt;&lt;/p&gt;

</description>
      <category>telegram</category>
      <category>python</category>
      <category>ai</category>
      <category>tutorial</category>
    </item>
  </channel>
</rss>
