<?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: Klakix</title>
    <description>The latest articles on DEV Community by Klakix (klakix).</description>
    <link>https://dev.to/klakix</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%2Forganization%2Fprofile_image%2F16287%2Fcd0764fa-5fc9-4bc0-a755-2a88b3e06622.png</url>
      <title>DEV Community: Klakix</title>
      <link>https://dev.to/klakix</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/klakix"/>
    <language>en</language>
    <item>
      <title>Generate AI videos from Claude, Cursor or Claude Code with the Klakix MCP server</title>
      <dc:creator>Emirhan Güven</dc:creator>
      <pubDate>Fri, 20 Nov 2026 16:07:44 +0000</pubDate>
      <link>https://dev.to/klakix/generate-ai-videos-from-claude-cursor-or-claude-code-with-the-klakix-mcp-server-450m</link>
      <guid>https://dev.to/klakix/generate-ai-videos-from-claude-cursor-or-claude-code-with-the-klakix-mcp-server-450m</guid>
      <description>&lt;p&gt;Claude writes text and code. It does not render video. If you want it to hand you an MP4, it has to call a model somewhere, and the cleanest way to wire that up today is an MCP server.&lt;/p&gt;

&lt;p&gt;This post walks through the &lt;a href="https://klakix.com/mcp" rel="noopener noreferrer"&gt;Klakix&lt;/a&gt; MCP server: how to connect it to Claude, Claude Code, Cursor and a few other clients, what the tools look like, and how to keep an eye on cost before anything is generated. It also covers the open-source packages behind it, in case you want to build a remote MCP server of your own. I work on Klakix, so read this as a hands-on guide from the maintainer's side, not a neutral review.&lt;/p&gt;

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

&lt;p&gt;The server lives at one URL:&lt;br&gt;
&lt;/p&gt;

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

&lt;/div&gt;



&lt;p&gt;It is a remote MCP server (Streamable HTTP, stateless, JSON responses). You add the URL to a client, sign in with your Klakix account through OAuth 2.1, and the client gets 19 tools and 7 ready-made workflows (MCP prompts). Between them they cover video, images, audio, talking-head videos, effects, upscaling and templates.&lt;/p&gt;

&lt;p&gt;The models behind the tools include Seedance 2.5 and 2.0, Kling 4.0 and 3.0, Veo 3.1 Lite, Wan 3.0 and MiniMax H3 Max for video, Nano Banana 2, GPT Image 2.5 and Muse Image for images, HeyGen Avatar IV and OmniHuman 1.5 for talking videos, Topaz Video AI for upscaling, and Klakix's own voice, music and sound effect models. You don't pick these in a settings screen; you ask the assistant, and it can call &lt;code&gt;list_models&lt;/code&gt; to see what is available.&lt;/p&gt;

&lt;p&gt;Credits are shared with the website and are spent at web prices. There is no subscription requirement. One practical detail: a new account can make voiceovers straight away, while the video and image tools unlock after the first credit purchase.&lt;/p&gt;

&lt;h2&gt;
  
  
  Connecting a client
&lt;/h2&gt;

&lt;h3&gt;
  
  
  Claude (claude.ai, desktop, mobile)
&lt;/h3&gt;

&lt;p&gt;Open &lt;strong&gt;Customize &amp;gt; Connectors&lt;/strong&gt;, choose &lt;strong&gt;+ Add&lt;/strong&gt;, then &lt;strong&gt;Add custom connector&lt;/strong&gt;. Name it &lt;code&gt;Klakix&lt;/code&gt;, paste &lt;code&gt;https://klakix.com/api/mcp&lt;/code&gt; as the URL and continue. Keep the detected authentication settings, add it, then sign in and approve. In a new chat, click &lt;strong&gt;+&lt;/strong&gt;, open &lt;strong&gt;Connectors&lt;/strong&gt; and turn Klakix on. The free Claude plan allows one custom connector.&lt;/p&gt;

&lt;h3&gt;
  
  
  Claude Desktop with a config file
&lt;/h3&gt;

&lt;p&gt;If you prefer a config file, or your client only starts local stdio servers, use the small &lt;code&gt;klakix-mcp&lt;/code&gt; bridge. Create an API key at &lt;a href="https://klakix.com/app/mcp" rel="noopener noreferrer"&gt;klakix.com/app/mcp&lt;/a&gt; (it is shown once) and add this to &lt;code&gt;claude_desktop_config.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;"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;"klakix"&lt;/span&gt;&lt;span class="p"&gt;:&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;"-y"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s2"&gt;"klakix-mcp"&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="nl"&gt;"KLAKIX_API_KEY"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"avy_sk_..."&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;The package has no dependencies and needs Node.js 20 or newer. It reads JSON-RPC from stdin, posts each message to the remote server and writes the replies to stdout. The key only goes out as a Bearer token.&lt;/p&gt;

&lt;h3&gt;
  
  
  Claude Code
&lt;/h3&gt;



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

&lt;/div&gt;



&lt;p&gt;Then run &lt;code&gt;/mcp&lt;/code&gt; inside Claude Code and sign in through the browser. If you would rather use a key:&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 --scope user klakix https://klakix.com/api/mcp \
  --header &lt;span class="s2"&gt;"Authorization: Bearer avy_sk_..."&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h3&gt;
  
  
  Cursor
&lt;/h3&gt;

&lt;p&gt;Put this in &lt;code&gt;~/.cursor/mcp.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;"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;"klakix"&lt;/span&gt;&lt;span class="p"&gt;:&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://klakix.com/api/mcp"&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;h3&gt;
  
  
  VS Code (Copilot agent mode)
&lt;/h3&gt;

&lt;p&gt;&lt;code&gt;.vscode/mcp.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;"servers"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
    &lt;span class="nl"&gt;"klakix"&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://klakix.com/api/mcp"&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;Codex and Gemini CLI take one line each:&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 klakix --url https://klakix.com/api/mcp
codex mcp login klakix

gemini mcp add --transport http klakix https://klakix.com/api/mcp
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;For tools like n8n or Make, create an API key and send it as &lt;code&gt;Authorization: Bearer avy_sk_...&lt;/code&gt;.&lt;/p&gt;

&lt;h2&gt;
  
  
  The tools
&lt;/h2&gt;

&lt;p&gt;The tools split into three groups, and the grouping matters for cost.&lt;/p&gt;

&lt;p&gt;Tools that create something and spend credits: &lt;code&gt;generate_video&lt;/code&gt;, &lt;code&gt;generate_image&lt;/code&gt;, &lt;code&gt;generate_audio&lt;/code&gt;, &lt;code&gt;create_talking_video&lt;/code&gt;, &lt;code&gt;apply_effect&lt;/code&gt;, &lt;code&gt;transfer_motion&lt;/code&gt;, &lt;code&gt;upscale_video&lt;/code&gt;, &lt;code&gt;create_explainer_video&lt;/code&gt; and &lt;code&gt;run_template&lt;/code&gt;.&lt;/p&gt;

&lt;p&gt;Tools for files and results, which are free: &lt;code&gt;upload_media&lt;/code&gt; (import from a URL or an earlier result), &lt;code&gt;get_generation&lt;/code&gt; (status and file links, and it can wait for completion), &lt;code&gt;list_generations&lt;/code&gt; and &lt;code&gt;cancel_generation&lt;/code&gt;. Cancelling a queued generation refunds its credits.&lt;/p&gt;

&lt;p&gt;Account and catalog tools, also free: &lt;code&gt;get_account&lt;/code&gt;, &lt;code&gt;list_models&lt;/code&gt;, &lt;code&gt;get_model&lt;/code&gt;, &lt;code&gt;estimate_cost&lt;/code&gt;, &lt;code&gt;list_voices&lt;/code&gt; and &lt;code&gt;list_templates&lt;/code&gt;.&lt;/p&gt;

&lt;p&gt;The seven prompts are workflows you can invoke by name: &lt;code&gt;product_ad&lt;/code&gt;, &lt;code&gt;ugc_ad&lt;/code&gt;, &lt;code&gt;storyboard_film&lt;/code&gt;, &lt;code&gt;photo_to_video&lt;/code&gt;, &lt;code&gt;social_reel&lt;/code&gt;, &lt;code&gt;voiceover_pack&lt;/code&gt; and &lt;code&gt;character_consistency&lt;/code&gt;.&lt;/p&gt;

&lt;h2&gt;
  
  
  Three prompts to try
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;1. Check before you spend.&lt;/strong&gt;&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;How many credits do I have? Then list the video models, and tell me what a 5-second vertical clip of a paper boat on a rainy street would cost on two of them. Don't generate anything yet.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;The assistant calls &lt;code&gt;get_account&lt;/code&gt;, &lt;code&gt;list_models&lt;/code&gt; and &lt;code&gt;estimate_cost&lt;/code&gt;. None of these spend credits. &lt;code&gt;get_model&lt;/code&gt; gives you the settings, limits and example prompts for a single model if you want to see what it accepts before choosing.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;2. A product video from a photo.&lt;/strong&gt;&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;Use the product_ad workflow with this photo of my ceramic mug. Vertical, 5 seconds, slow camera move, no text. Show me the estimated cost and wait for my OK before generating.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;Telling the assistant to wait for your go-ahead is just a normal instruction in the prompt, and it works well here. After you confirm, &lt;code&gt;generate_video&lt;/code&gt; queues the job and &lt;code&gt;get_generation&lt;/code&gt; returns the status and, when it is done, the file link. Results download as MP4, PNG or MP3.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;3. A voiceover.&lt;/strong&gt;&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;Read this script in a calm voice, then suggest three voices from the list first so I can pick.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;&lt;code&gt;list_voices&lt;/code&gt; returns voices with preview links, and &lt;code&gt;generate_audio&lt;/code&gt; produces the voiceover. The same tool also handles multi-voice dialogue, music and sound effects. Voiceovers are the one thing a brand-new account can do before buying credits.&lt;/p&gt;

&lt;h2&gt;
  
  
  A note on cost
&lt;/h2&gt;

&lt;p&gt;Generation can take minutes and costs real credits, so I would build the habit of asking for &lt;code&gt;estimate_cost&lt;/code&gt; first. Credits never expire, and a generation that fails for a technical reason or a safety block is refunded automatically. Parallel generations are limited: 3 without a plan, more on the plans. Clips run from 3 to 30 seconds depending on the model.&lt;/p&gt;

&lt;p&gt;Prompts and uploaded images go through the same checks as the website. Celebrities, public figures, people without their consent and copyrighted characters are blocked, tools that use a photo of a person ask for a consent confirmation, and there is no face swap or voice cloning. That is worth knowing before you plan a workflow around it.&lt;/p&gt;

&lt;h2&gt;
  
  
  The open-source part
&lt;/h2&gt;

&lt;p&gt;The repository at &lt;a href="https://github.com/klakix-ai/klakix-mcp" rel="noopener noreferrer"&gt;github.com/klakix-ai/klakix-mcp&lt;/a&gt; contains the building blocks we run in production, extracted as MIT-licensed packages:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;code&gt;klakix-mcp&lt;/code&gt;, the stdio bridge shown above.&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;@klakix/mcp-server&lt;/code&gt;, a stateless Streamable HTTP MCP server for the Web Fetch API. Tools use zod schemas, and there are hooks for scope checks, rate limiting and logging, plus an SSRF-safe media fetcher. It runs on Node, Next.js, Hono, Bun, Deno and Cloudflare Workers.&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;@klakix/mcp-oauth&lt;/code&gt;, an OAuth 2.1 authorization server for remote MCP servers: PKCE S256, dynamic client registration (RFC 7591), client ID metadata documents, RFC 8414 and RFC 9728 metadata, refresh token rotation with reuse detection, and revocation. It is storage-agnostic and has no dependencies.&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;examples/self-hosted&lt;/code&gt;, a complete server with OAuth sign-in and demo tools that you can run locally.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;To be precise about the boundary: the protocol layer, the OAuth server, the bridge and the client configs are open. The generation backend (model routing, pricing, moderation, storage) is part of the hosted service and is not in the repo.&lt;/p&gt;

&lt;p&gt;If you want a server of your own, this is the smallest useful version:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight typescript"&gt;&lt;code&gt;&lt;span class="k"&gt;import&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt; &lt;span class="n"&gt;createMcpHandler&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;defineTool&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;toolOk&lt;/span&gt; &lt;span class="p"&gt;}&lt;/span&gt; &lt;span class="k"&gt;from&lt;/span&gt; &lt;span class="s2"&gt;"@klakix/mcp-server"&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;span class="k"&gt;import&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt; &lt;span class="n"&gt;z&lt;/span&gt; &lt;span class="p"&gt;}&lt;/span&gt; &lt;span class="k"&gt;from&lt;/span&gt; &lt;span class="s2"&gt;"zod"&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;

&lt;span class="kd"&gt;const&lt;/span&gt; &lt;span class="n"&gt;echo&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="nf"&gt;defineTool&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="p"&gt;{&lt;/span&gt;
  &lt;span class="n"&gt;name&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"echo"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="n"&gt;title&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"Echo"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="n"&gt;description&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"Returns the text you send."&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="n"&gt;inputSchema&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="n"&gt;z&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="kt"&gt;object&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="p"&gt;{&lt;/span&gt; &lt;span class="n"&gt;text&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="n"&gt;z&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="kt"&gt;string&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="n"&gt;handler&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="k"&gt;async&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="p"&gt;{&lt;/span&gt; &lt;span class="n"&gt;text&lt;/span&gt; &lt;span class="p"&gt;}&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="o"&gt;=&amp;gt;&lt;/span&gt; &lt;span class="nf"&gt;toolOk&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;text&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt; &lt;span class="n"&gt;text&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;span class="k"&gt;export&lt;/span&gt; &lt;span class="kd"&gt;const&lt;/span&gt; &lt;span class="n"&gt;mcp&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="nf"&gt;createMcpHandler&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="p"&gt;{&lt;/span&gt;
  &lt;span class="n"&gt;serverInfo&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt; &lt;span class="n"&gt;name&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"my-server"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;version&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"1.0.0"&lt;/span&gt; &lt;span class="p"&gt;}&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="n"&gt;tools&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="n"&gt;echo&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="n"&gt;authenticate&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="k"&gt;async&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="o"&gt;=&amp;gt;&lt;/span&gt;
    &lt;span class="n"&gt;request&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;headers&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;"authorization"&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="o"&gt;===&lt;/span&gt; &lt;span class="sb"&gt;`Bearer ${process.env.API_KEY}`&lt;/span&gt;
      &lt;span class="o"&gt;?&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt; &lt;span class="n"&gt;id&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"me"&lt;/span&gt; &lt;span class="p"&gt;}&lt;/span&gt;
      &lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="kc"&gt;null&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="c1"&gt;// Any Fetch API runtime: export default { fetch: mcp.handle }&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;And to try the full example with OAuth locally:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;git clone https://github.com/klakix-ai/klakix-mcp.git
&lt;span class="nb"&gt;cd&lt;/span&gt; klakix-mcp
npm install
npm run build
npm start -w examples/self-hosted
claude mcp add --transport http demo http://localhost:8787/mcp
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  Links
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;Product page and setup guides: &lt;a href="https://klakix.com/mcp" rel="noopener noreferrer"&gt;klakix.com/mcp&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;Source: &lt;a href="https://github.com/klakix-ai/klakix-mcp" rel="noopener noreferrer"&gt;github.com/klakix-ai/klakix-mcp&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;Model list: &lt;a href="https://klakix.com/models" rel="noopener noreferrer"&gt;klakix.com/models&lt;/a&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;If something in the setup does not work for your client, open an issue on the repo. I read them.&lt;/p&gt;

</description>
      <category>ai</category>
      <category>mcp</category>
      <category>claude</category>
      <category>video</category>
    </item>
  </channel>
</rss>
