<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Shefeek Najeeb on Medium]]></title>
        <description><![CDATA[Stories by Shefeek Najeeb on Medium]]></description>
        <link>https://medium.com/@connectshefeek?source=rss-e9fca2412b0f------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*DUxuC5WcEXhW1KMh_g82pg.png</url>
            <title>Stories by Shefeek Najeeb on Medium</title>
            <link>https://medium.com/@connectshefeek?source=rss-e9fca2412b0f------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Wed, 02 Dec 2026 07:25:53 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@connectshefeek/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Opencode + Kimi K2 Model: Getting Started]]></title>
            <link>https://medium.com/@connectshefeek/opencode-kimi-k2-model-getting-started-524b90b7a5d7?source=rss-e9fca2412b0f------2</link>
            <guid isPermaLink="false">https://medium.com/p/524b90b7a5d7</guid>
            <category><![CDATA[ai]]></category>
            <category><![CDATA[programming]]></category>
            <category><![CDATA[software-development]]></category>
            <category><![CDATA[ai-agent]]></category>
            <category><![CDATA[coding]]></category>
            <dc:creator><![CDATA[Shefeek Najeeb]]></dc:creator>
            <pubDate>Sun, 13 Jul 2025 22:22:03 GMT</pubDate>
            <atom:updated>2025-07-13T22:22:03.822Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*lADwfgWzQdh1UlHIifNBxw.jpeg" /></figure><blockquote>“What I cannot create, I do not understand.” — Richard Feynman</blockquote><p>I have been a long term skeptic of the idea that there would be a magical AI agent who could be capable enough to replace a team of software engineers. I have seen many boast about how they “vibe coded” their entire application, and wake up later to the reality called “production bugs”. From my personal experience AI assisted coding is not much fun, it is just a disaster in the making if you are approaching with “fire and forget” mentality . The product of “vibe coding” is far from what we call production-ready.</p><p>So is “vibe coding” bad?, No, not at all. I find it better fit for something like brainstorming, pair programming, researching, troubleshooting, refactoring (of course with great care), a productivity booster. So whoever says coding is dead, I chose not to believe them. It is just the tools are evolving, the craft and the fundamentals remains the same.</p><p>Do not mistake me for a hater of AI-assisted coding. I eagerly follow the updates and latest innovations in the AI landscape, which led me to writing this article. The pace at which things are evolving, keeping up requires constant effort. And I am currently tinkering with what they call terminal based AI coding agents and I find it promising. I have used a few like:</p><ul><li><a href="https://www.anthropic.com/claude-code">Claude Code</a> I found out is the best of them all as in my experience Anthropic’s Claude Opus 4 model is more superior in handling coding tasks compared to its counterparts which I have tried.</li><li>Google’s Gemini CLI not on par with Claude Code but a free alternative to it also with a 1 million token context window, which means a more comprehensive response.</li><li><a href="https://opencode.ai/">Opencode</a> an open-source AI coding agent with a lot of customization, and you can make use of various models from various providers like Anthropic, Llama, OpenAI, Deepseek or use a local LLM running on <a href="https://ollama.com/">Ollama</a> or <a href="https://lmstudio.ai/">LMStudio</a>.</li></ul><p>At first, Opencode was in the“interesting but not for me” bucket, as I don’t run models locally or make use of anything other than Claude or Gemini for my coding tasks. But then last week <a href="https://www.moonshot.ai/">Moonshot AI</a> launched their gigantic <a href="https://moonshotai.github.io/Kimi-K2/">Kimi K2</a> MoE (means more efficient and specialized capabilities) agentic intelligence model (not just answer questions but to <em>act</em> autonomously, break down complex tasks, and execute multi-step workflows directly within the terminal) with 32 billion activated parameters and 1 trillion total parameters. The benchmarks listed in the website shows that performance of the K2 model is on par or in some cases exceeding that of Claude Opus 4 and cost efficient. So I thought of giving it a try on Opencode.</p><p>So, this article is intended to explain how I setup Opencode with Moonshot AI’s Kimi K2 model. This can be used for any OpenAI-compatible endpoint.</p><h3>1. Installing Opencode</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*KkXgY-x3GDcgBu3q" /><figcaption>Credits: <a href="https://opencode.ai/">https://opencode.ai</a></figcaption></figure><p>If you do a quick search for Opencode you will find two GitHub repositories with the same name. And to my surprise it is the same tool. It confused me for the first time when I was trying out and came around <a href="https://x.com/thdxr/status/1933561254481666466">this tweet from the creator</a> of the original Opencode repository.</p><p>So the original repository is here <a href="https://github.com/sst/opencode">Opencode</a></p><p>You can install Opencode by running any of the below commands.</p><pre># YOLO<br>curl -fsSL https://opencode.ai/install | bash</pre><pre># Package managers<br>npm i -g opencode-ai@latest        # or bun/pnpm/yarn<br>brew install sst/tap/opencode      # macOS<br>paru -S opencode-bin               # Arch Linux</pre><p>For Windows grab the installer from their <a href="https://github.com/sst/opencode/releases">releases page</a></p><h3>2. Obtain API Key from for Kimi K2</h3><p>Get your API key from Moonshot AI’s <a href="https://platform.moonshot.ai/console/account">Kimi Open Platform</a> after signing up.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*iOR2n0mP4IhokiD6" /></figure><p>Generate API Key from the API Keys page in the Organization view.</p><p><em>PS: You’ll need to add some balance to the account to start using API.</em></p><h3>3. Configuring Opencode to use Kimi K2</h3><p>To configure Opencode for any preset provider mentioned under <a href="http://models.dev/">models.dev</a> you can run</p><pre>opencode auth login</pre><p>This will return a prompt with a list of providers as shown below.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/638/0*T4fxBsAXsM72zh8p" /></figure><p>Prompt to select a provider. For preset providers you can choose one and enter the API Key when prompted in the next step.</p><p>Select <strong>Other</strong> from the list of providers, so that we can configure our own provider.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/638/0*05qKu5D-PmpOafON" /></figure><p>Here you will be prompted to enter “<strong>provider id”</strong> and the API Key. You can choose any provider id name, but keep in mind that you will need it later.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/638/0*6d1IJoNMbcksvXX3" /></figure><p>Enter the provider id and the API Key</p><p>After this you can find an entry in the “<strong>auth.json</strong>” located at:</p><pre>~/.local/share/opencode/auth.json</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/649/0*TEHs7qt_LC87Jhh9" /><figcaption>~/.local/share/opencode/auth.json</figcaption></figure><p>Now we will add the provider to Opencode’s global config which is located at:</p><pre>~/.config/opencode/opencode.json</pre><p>Which should look like this</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/690/0*IToK230CEduJyBUm" /><figcaption>~/.config/opencode/opencode.json</figcaption></figure><p>The provider entry should be the same as the “<strong>provider id</strong>” which we provided during the beginning of this step.</p><pre>{<br>  &quot;$schema&quot;: &quot;https://opencode.ai/config.json&quot;,<br>  &quot;theme&quot;: &quot;opencode&quot;,<br>  &quot;provider&quot;: {<br>    &quot;moonshot&quot;: {<br>      &quot;npm&quot;: &quot;@ai-sdk/openai-compatible&quot;,<br>      &quot;options&quot;: {<br>        &quot;baseURL&quot;: &quot;https://api.moonshot.ai/v1&quot;<br>      },<br>      &quot;models&quot;: {<br>        &quot;kimi-k2-0711-preview&quot;: {}<br>      }<br>    }<br>  },<br>  &quot;autoshare&quot;: false,<br>  &quot;autoupdate&quot;: true<br>}</pre><p><em>Note: “kimi-k2–0711-preview” was the model name when I was writing this article. It might be different when you are reading this. Use the command below to list the available models from Moonshot AI.</em></p><pre>curl https://api.moonshot.ai/v1/models -H &quot;Authorization: Bearer $KEY&quot;</pre><p>Thats it. We’re done.</p><p>Now you can start testing Opencode with Kimi K2 by running any of the following command</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/906/0*-5Dms06IJlockctj" /><figcaption>opencode — help</figcaption></figure><p><em>PS: Make sure to not run just “opencode” from your home folder, or make sure you mention the project path in that case. Running </em>opencode<em> without a specified project path from your home folder might lead to unexpected behavior or an empty context. Always run it from within your project directory or specify the path: “</em>opencode /path/to/your/project<em>”</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/906/0*ccHzmnjkZsFvb5b3" /></figure><p>More details about setting up Opencode with local models: <a href="https://opencode.ai/docs/models/#local">Opencode</a> <a href="https://opencode.ai/docs/models/#local">docs</a></p><p>Now feel free to explore Opencode. You can ask about your project and generate tests or validate your code.</p><p>You can have Opencode config local to your project as well and there are a lot of other config options to tinker with.</p><p>Some limitations to keep in mind while using Kimi K2 model from their documentation</p><p><em>In our internal tests, we’ve identified some limitations in current Kimi K2 models. When dealing with hard reasoning tasks or unclear tool definition, the model may generate excessive tokens, sometimes leading to truncated outputs or incomplete tool calls. Additionally, performance may decline on certain tasks if tool use is enabled. When building complete software projects, one-shot prompting yields performance degradation compared to using K2 under an agentic framework. We are working to address these issues in future releases and looking forward to more feedbacks.</em></p><p>And if you are running into check your provider API Key, baseURL settings.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/626/0*arlPJMrBZv8TzEti" /><figcaption>AI_APICallError</figcaption></figure><p>Also make sure to add some balance to your account, or it will throw “org-xxxxxx not active or insufficient quota”. Refer to common errors mentioned in this section of <a href="https://platform.moonshot.ai/docs/api-reference#example-request-2">documentation</a> to get an idea where it went wrong.</p><h3>Extra</h3><p>If IDE based coding agents like <a href="https://kilocode.ai/">Kilo Code</a>, <a href="https://roocode.com/">Roo Code</a>, <a href="https://cline.bot/">Cline</a>, etc are your thing; refer to this section of <a href="https://platform.moonshot.ai/docs/guide/agent-support#get-api-key">Moonshot AI’s documentation</a> to setup Kimi K2 on your preferred agent.</p><h3>Conclusion</h3><p>It took me a while to get to the right code repo and installation candidate. I hope this would be helpful for someone planning to get started with Opencode.</p><p>Eventhough, I started using Opencode seriously just to experiment with the Kimi K2 model, during this I discovered how flexible and customizable Opencode is. I think I will be experimenting more with it and maybe stay around a little longer.</p><p>Maybe I’ll share my experience with this setup in upcoming articles.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=524b90b7a5d7" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Configuring Cursor AI as your MCP (Model Context Protocol) Client.]]></title>
            <link>https://medium.com/@connectshefeek/configuring-cursor-ai-as-your-mcp-model-context-protocol-client-57a6c1775452?source=rss-e9fca2412b0f------2</link>
            <guid isPermaLink="false">https://medium.com/p/57a6c1775452</guid>
            <category><![CDATA[cursor-ai]]></category>
            <category><![CDATA[llm]]></category>
            <category><![CDATA[mcp-server]]></category>
            <category><![CDATA[ai-agent]]></category>
            <category><![CDATA[programming]]></category>
            <dc:creator><![CDATA[Shefeek Najeeb]]></dc:creator>
            <pubDate>Mon, 07 Apr 2025 03:44:10 GMT</pubDate>
            <atom:updated>2025-04-07T03:44:10.994Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*RVNYU-ExMcJXE9FPRrQuig.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ISe91S_KZQ7PIDD-Ydaqtg.png" /></figure><blockquote><strong>Recently, Anthropic introduced the Model Context Protocol (MCP)</strong> — an open protocol designed to standardize how AI systems interact with your local tools and data sources. To make this real, Anthropic also released <strong>Claude Desktop</strong>, a native application that acts as an MCP client. It connects to your local development environment and feeds structured context to the Claude LLM. However, <strong>Claude Desktop is currently unavailable for Linux users</strong>, which can be a blocker for many developers.</blockquote><blockquote>💡 <em>That’s where alternatives like </em><strong><em>Cursor AI, VS Code</em></strong><em>, </em><strong><em>Continue.dev</em></strong><em>, etc, come in.</em></blockquote><blockquote>In this article, we’ll explore how you can configure <strong>Cursor IDE</strong> to act as your MCP-style AI assistant — offering similar capabilities, with support for multiple LLMs (Claude, GPT-4, local models via Ollama or LM Studio), and most importantly, full compatibility with Linux.</blockquote><h3><strong>What is MCP (Model Context Protocol)?</strong></h3><p>Think of MCP as a bridge: it enables your AI assistant to understand the <em>context</em> it’s operating in — like which files you’re editing, what code just changed, or which test failed, to use tools like web search to enrich your results, database integrations, filesystem actions and many more like integrations with enterprise tools like Github, Notion, etc.</p><blockquote>Link to <a href="https://github.com/modelcontextprotocol">MCP</a> Github repository. It also has a comprehensive collection of various SDKs, tools and clients listed here.</blockquote><h3>Why do we need MCP?</h3><p>Let’s imagine you have a super smart assistant (like Claude or ChatGPT) who can help you write code, fix bugs, and answer questions about your projects. Normally, when you ask this assistant a question about your code, you might copy and paste a small snippet. The assistant tries its best to understand, but it’s like showing them just one puzzle piece and asking them to understand the whole puzzle.</p><p><strong>The Problem Without MCP:</strong></p><p>Imagine you’re working on a website with many files. You have a bug in one specific part of your JavaScript code. You copy and paste that small piece into your AI assistant and ask, “Why is this button not working?”</p><p>The assistant can look at that small piece, but it doesn’t know:</p><ul><li><strong>What other files are in your project?</strong> Maybe the button’s behavior depends on another JavaScript file or some CSS.</li><li><strong>How is this code connected to the rest of your application?</strong> It doesn’t know the overall structure or the purpose of this specific button within the website.</li><li><strong>What libraries or frameworks are you using?</strong> This context could be crucial for understanding the code.</li></ul><p>So, the assistant’s answer might be very general or even incorrect because it lacks the bigger picture. It’s like a detective trying to solve a crime with only one blurry photograph.</p><p><strong>MCP to the Rescue (The “Structured Context” Approach):</strong></p><p>Now, imagine MCP as a way for your AI assistant to get a much better understanding of your local development environment — your “puzzle box” instead of just one piece.</p><p>Think of it like this:</p><ol><li><strong>MCP Client (like Claude Desktop or Cursor AI in this setup) acts like a helpful librarian.</strong> It knows how to look at your project in a structured way. It can identify your files, understand their relationships (this JavaScript file uses this other one), and maybe even understand the basic structure of your project.</li><li><strong>Instead of you manually copying and pasting small snippets, the MCP Client can automatically and intelligently send relevant “context” to the AI assistant.</strong> This context isn’t just raw code; it’s structured information. It might say, “Hey Claude, the user is asking about this button.js file. It&#39;s located in the frontend/components folder and it imports these functions from utils.js. Here&#39;s the specific code they highlighted...&quot;</li><li><strong>The AI Assistant (like Claude) receives this rich, structured information.</strong> Now, it’s like the detective has a map of the crime scene, knows the relationships between different pieces of evidence, and has a better understanding of the overall situation.</li></ol><p><strong>The Benefit of MCP:</strong></p><p>Because the AI assistant has this structured context:</p><ul><li><strong>It can give much more accurate and relevant answers.</strong> Instead of a generic suggestion, it might say, “The button is likely not working because the handleSubmit function in utils.js is throwing an error when it tries to connect to the server, based on this error message in your console and how button.js uses that function.&quot;</li><li><strong>It can help with more complex tasks.</strong> It can understand the implications of code changes across multiple files or suggest refactoring that considers the entire project structure.</li><li><strong>It can potentially automate more tasks.</strong> With a deeper understanding of your project, it could suggest relevant code completions or even help with automated code reviews.</li></ul><p><strong>In simple terms, MCP is like giving your AI assistant “eyes” and “ears” into your local development environment in a smart, organized way, so it can understand your code and projects much better and provide more helpful assistance.</strong> It moves beyond just analyzing isolated snippets to understanding the bigger picture.</p><p>As always, <a href="https://modelcontextprotocol.io/introduction">documentation</a> is the best place to start.</p><h3>Setting up Cursor AI</h3><h4>Prerequisites</h4><ul><li>Cursor AI — version 0.47.x or above: <a href="https://www.cursor.com/downloads">download</a> from here.</li><li>Node.js — v18.x.x or above.</li></ul><p>Check your version by running node -v in your terminal. If you get an error saying “command not found” or “node is not recognized”, download Node from <a href="https://nodejs.org/">nodejs.org</a>.</p><p>We will configure multiple MCP servers in our Cursor AI, so that our AI agent can utilize these servers and the resources connected to them to give us more accurate and context-aware responses.</p><p>We will be using the following MCP servers.</p><ul><li><a href="https://github.com/modelcontextprotocol/servers/tree/main/src/filesystem">Filesystem server</a> — Node.js server implementing Model Context Protocol (MCP) for filesystem operations.</li><li><a href="https://github.com/modelcontextprotocol/servers/tree/main/src/brave-search">Brave-search</a> — An MCP server implementation that integrates the Brave Search API, providing both web and local search capabilities.</li><li><a href="https://github.com/modelcontextprotocol/servers/tree/main/src/memory">memory</a> — A basic implementation of persistent memory using a local knowledge graph. This lets our AI agent remember information about the user across chats.</li><li><a href="https://github.com/modelcontextprotocol/servers/tree/main/src/sequentialthinking">sequential thinking</a> — An MCP server implementation that provides a tool for dynamic and reflective problem-solving through a structured thinking process.</li><li><a href="https://github.com/modelcontextprotocol/servers/tree/main/src/github">GitHub</a> — MCP Server for the GitHub API, enabling file operations, repository management, search functionality, and more.<br><strong><em>Deprecation Notice:</em></strong><em> Development for this project has been moved to GitHub in the </em><a href="http://github.com/github/github-mcp-server"><em>http://github.com/github/github-mcp-server</em></a><em> repo.</em></li></ul><p>And many more are available at <a href="https://github.com/modelcontextprotocol/servers">modelcontextprotocol/servers</a>.</p><h4>Setup</h4><p>We will be adding global MCP servers on Cursor AI in this article, one can also configure MCP servers on a project basis using .cursor/mcp.json</p><ul><li>Navigate to File -&gt; Cursor Settings -&gt; MCP -&gt; Add New Global MCP Server.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*agUeHifXWY5aqu1MOa8l2A.png" /></figure><ul><li>Click on Add new global MCP server. For most a file mcp.json will open. Which will have structure like below. Our goal is to add required MCP servers under the mcpServers key.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/760/1*4JPIgZVHt7AUajL_ta8DAw.png" /></figure><pre>mcp.json<br>{<br>    &quot;mcpServers&quot;: {<br>      &quot;server_name&quot; : &quot;config&quot;<br>  }<br>}</pre><p>Let us add <a href="https://github.com/modelcontextprotocol/servers/tree/main/src/filesystem">filesystem</a> MCP server to the configuration.</p><ul><li>Go to the Github repo link and you can read about the server documentation and the APIs available.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/764/1*OdEbfSGKhORaruIZ0WIDRw.png" /></figure><ul><li>In here there is a section which shows how to configure the MCP server in Claude desktop, the same can be replicated for Cursor AI as well.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/872/1*ZhREzNuwdOgr5GbR38daqg.png" /></figure><p>In this implementation, we will configure to use the NPX package. You can also configure it to use the docker image as well.</p><ul><li>Copy from the “filesystem” key to your mcp.json file. And make sure you change the args to map locations in your filesystem for the MCP server to access.</li></ul><pre>{<br>    &quot;mcpServers&quot;: {<br>        &quot;filesystem&quot;: {<br>      &quot;command&quot;: &quot;npx&quot;,<br>      &quot;args&quot;: [<br>        &quot;-y&quot;,<br>        &quot;@modelcontextprotocol/server-filesystem&quot;,<br>        &quot;/home/your-username/Desktop/projects&quot;<br>      ]<br>    }<br>  }<br>}</pre><ul><li>We can add more servers to the configuration by copying the MCP server configuration and setting it up with your credentials and local env values.</li><li>Let us check out the <a href="https://github.com/modelcontextprotocol/servers/tree/main/src/brave-search">brave-search</a> MCP server.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/842/1*hDc9f49ueaAtdSbjKKypjA.png" /></figure><ul><li>Here you have to obtain an API key for the Brave Search API and the steps for it are mentioned in the documentation.</li><li>After obtaining the API Key you can copy the configuration for NPX from the page and add it to your mcp.json file.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/964/1*ilnx0YS0R-ocjgASiivbzA.png" /></figure><p>Now your mcp.json file will look like this.</p><pre>mcp.json<br><br>{<br>  &quot;mcpServers&quot;: {<br>    &quot;filesystem&quot;: {<br>      &quot;command&quot;: &quot;npx&quot;,<br>      &quot;args&quot;: [<br>        &quot;-y&quot;,<br>        &quot;@modelcontextprotocol/server-filesystem&quot;,<br>        &quot;/home/your-username/Desktop/projects&quot;<br>      ]<br>    },<br>    &quot;brave-search&quot;: {<br>      &quot;command&quot;: &quot;npx&quot;,<br>      &quot;args&quot;: [<br>        &quot;-y&quot;,<br>        &quot;@modelcontextprotocol/server-brave-search&quot;<br>      ],<br>      &quot;env&quot;: {<br>        &quot;BRAVE_API_KEY&quot;: &quot;BRAVE-API-KEY&quot;<br>      }<br>    }<br>  }<br>}</pre><p>Similarly you can configure more MCP servers globally or locally as per your requirements.</p><ul><li>Now let us see this in action.</li><li>I will open a new folder in Cursor AI to test my MCP servers and how they are being utilized by the Cursor AI agent. Make sure that you create the project folder in one of the locations which you have given the filesystem MCP server access to.</li></ul><pre>mcp.json<br><br>{<br>  &quot;mcpServers&quot;: {<br>    &quot;filesystem&quot;: {<br>      &quot;command&quot;: &quot;npx&quot;,<br>      &quot;args&quot;: [<br>        &quot;-y&quot;,<br>        &quot;@modelcontextprotocol/server-filesystem&quot;,<br>        &quot;/home/your-username/Desktop/projects&quot;<br>        # your project folder should be in this location<br>      ]<br>    },<br>    &quot;brave-search&quot;: {<br>      &quot;command&quot;: &quot;npx&quot;,<br>      &quot;args&quot;: [<br>        &quot;-y&quot;,<br>        &quot;@modelcontextprotocol/server-brave-search&quot;<br>      ],<br>      &quot;env&quot;: {<br>        &quot;BRAVE_API_KEY&quot;: &quot;BRAVE-API-KEY&quot;<br>      }<br>    }<br>  }<br>}</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*E0ZIaar91B_M4oqub2VxSg.png" /></figure><ul><li>I’ll try to create a FastAPI project from a boilerplate available on Github.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/759/1*cqKLCLXuKXoCBirTk8jTOA.png" /></figure><ul><li>Here you can see the agent using the Github MCP server which I have configured in my Cursor AI. For it to execute you have to click the Run Tool button.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/752/1*Ys2IOPOaXLPLe7odCCsd9g.png" /></figure><ul><li>Now it asks the filesystem MCP server’s create_directory API to create directories in the project folder.</li><li>And after a while this is what I get in the end.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*T2tYg7sj3jAByAnoCMhOKQ.png" /></figure><p>You can read more about configuring MCP servers in Cursor AI <a href="https://docs.cursor.com/context/model-context-protocol">here</a>.</p><p>This is just a basic introduction to how to get started with MCP servers and all. You can refer to the <a href="https://github.com/punkpeye/awesome-mcp-servers">punkpeye/awesome-mcp-servers</a> Github repo to see more about various available MCP servers or use SDKs available under <a href="https://github.com/modelcontextprotocol">modelcontextprotocol</a> Github repo to build your own MCP servers.</p><blockquote>PS: This article discusses steps for setting up MCP servers in your <strong>Cursor AI</strong>, the approach is almost the same with <strong>VS Code Insiders, Continue.dev</strong>, or <strong>Windsurf</strong>(Paid version).</blockquote><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=57a6c1775452" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>