Get AI summaries of any video or article — Sign up free
Build Anything with Claude Agents, Here’s How thumbnail

Build Anything with Claude Agents, Here’s How

David Ondrej·
5 min read

Based on David Ondrej's video on YouTube. If you like this content, support the original creators by watching, liking and subscribing to their content.

TL;DR

mCP turns Claude desktop into a tool-using agent by connecting it to external services through dedicated mCP servers.

Briefing

Claude’s latest “mCP” update turns it from a chat model into an agent that can plug into external tools—web search and GitHub—so it can carry out multi-step work from a single prompt. The practical payoff is speed: once Claude can access the right tool servers, it becomes far easier to automate tasks that previously required manual setup and ongoing human intervention, especially around connecting AI to data and developer workflows.

The walkthrough starts with installing “Claude desktop,” logging in, and then creating a local configuration file named “claude desktop config.js” (via two terminal commands). That config file is where tool access gets wired in. Without this setup, Claude desktop can’t browse the web; a test like “today’s news about Bitcoin” fails because web access isn’t available by default.

To enable web search, the guide adds the “Brave search mCP” server. It pulls a Brave Search API key from the Brave Search API dashboard (noting that even the free plan requires a credit card for abuse prevention), then pastes the token into the Claude desktop config. After restarting Claude desktop—needed for the new mCP server to be detected—an “mCP tools available” icon appears, and Claude can now use Brave web search. When prompted to browse for Bitcoin, Claude queries multiple sites (the example cites a query count of 10) and returns news results.

Next comes GitHub integration, which is where the automation shifts from “research” to “software work.” The guide adds the GitHub mCP server by copying a JSON block from an Anthropic-linked GitHub repository into the Claude desktop config, then supplies a GitHub Personal Access Token with carefully chosen permissions (including repo write capabilities needed to create branches, commit changes, open issues, and submit pull requests). Claude desktop must be restarted again so the additional tools load.

With both Brave and GitHub tools active, the guide demonstrates a one-prompt, multi-step agent workflow attributed to Alex Albert: create a repository, generate a simple HTML page, add CSS, push the changes, open an issue requesting more content, create a feature branch, update the page, and open a pull request back to main. The agent performs these actions through GitHub—creating branches, committing files, and raising PRs—while the user approves tool permissions along the way. Errors appear briefly (invalid argument, unexpected string), but the process continues and the pull request ultimately lands.

The final emphasis is that this isn’t just chat output. Claude can also use “artifacts” to render the resulting website as it would appear when deployed, merging the HTML and CSS into a preview. The broader claim is that teams of AI agents will increasingly handle routine engineering and productivity tasks, compressing days of work into hours—provided the user invests the initial setup time and manages tool permissions responsibly.

Cornell Notes

Claude’s mCP update lets Claude desktop run tool-connected “agent” workflows instead of only answering questions. By adding mCP servers, Claude gains access to external capabilities such as Brave web search and GitHub actions. The setup requires installing Claude desktop, creating a “claude desktop config.js” file, inserting JSON tool server configuration, and providing API keys/tokens (Brave Search API key and a GitHub Personal Access Token). After restarting Claude desktop, Claude can browse the web and then execute multi-step GitHub tasks—creating repos, editing files, opening issues, creating branches, and submitting pull requests—from a single plain-English prompt. This matters because it turns AI into an automation layer for developer workflows, not just a chatbot.

What does mCP change about Claude desktop’s capabilities?

mCP (Model Context Protocol) adds a tool-connection layer so Claude can interact with external apps and services via dedicated “mCP servers.” In the walkthrough, this is the difference between Claude being unable to browse the web by default and being able to use Brave search once the Brave mCP server is configured. It also enables GitHub automation—Claude can create branches, commit file changes, open issues, and open pull requests—because the GitHub mCP server is added to the same Claude desktop configuration.

Why does the guide insist on creating and editing “claude desktop config.js”?

The config file is where the mCP server definitions and credentials get placed in JSON format. The walkthrough uses terminal commands to create the file, then opens it in a text/code editor (Cursor, VS Code, or even Notepad) to paste in the JSON blocks for Brave search and GitHub. Without this configuration, Claude desktop lacks the tool endpoints needed to browse the web or operate on GitHub.

How does Claude get web browsing working, and what’s the role of Brave?

Web browsing is enabled by adding the Brave search mCP server. The user generates a Brave Search API key (the guide notes that a free plan still requires selecting a subscription and adding a credit card, even if $0 is charged). That API key is inserted into the Claude desktop config. After restarting Claude desktop, Claude can call the Brave web search tool; the example prompt about Bitcoin triggers multiple site queries (cited as query count 10).

What permissions does Claude need to automate GitHub tasks safely?

Claude needs a GitHub Personal Access Token with repo permissions that match the actions it will perform. The walkthrough creates a “Classic” token, sets an expiration for testing, and selects permissions such as writing to repositories while avoiding unnecessary destructive permissions (it explicitly avoids delete-related capabilities). The guide also stresses not to blindly approve prompts and to review what the agent is allowed to do—especially because file-system access can be dangerous if granted broadly.

How can one prompt trigger a full engineering workflow?

Once both Brave and GitHub mCP tools are configured, a single plain-English instruction can chain multiple tool calls. The example prompt (attributed to Alex Albert) orders Claude to: create a repository, generate an HTML page, add CSS, push changes, open an issue, create a feature branch, update the page, and open a pull request against main. The agent then performs these steps in GitHub—creating branches and PRs—while the user approves each tool action.

What’s the point of “artifacts” in this workflow?

Artifacts let Claude display the generated website in a rendered form rather than only showing raw code. In the walkthrough, artifacts merge the HTML and CSS into a preview of what the site would look like when deployed, reinforcing that the agent’s output is actionable deliverable code stored in a real GitHub repository.

Review Questions

  1. What specific steps are required to enable Brave web search for Claude desktop, and why must Claude desktop be restarted?
  2. Which GitHub actions can Claude perform once the GitHub mCP server and Personal Access Token are configured, and why does permission selection matter?
  3. How does a single plain-English prompt become a multi-step workflow when mCP tools are available?

Key Points

  1. 1

    mCP turns Claude desktop into a tool-using agent by connecting it to external services through dedicated mCP servers.

  2. 2

    Claude desktop can’t browse the web by default; adding the Brave search mCP server enables web search via a Brave Search API key.

  3. 3

    A local JSON configuration file (“claude desktop config.js”) is the central place to register mCP servers and insert credentials.

  4. 4

    GitHub automation requires adding the GitHub mCP server and supplying a GitHub Personal Access Token with repo write permissions needed for branches, issues, and pull requests.

  5. 5

    Claude can execute multi-step engineering tasks from a single prompt once multiple tools (e.g., Brave + GitHub) are available and permissions are approved.

  6. 6

    Restarting Claude desktop is necessary after changing mCP configuration so the new tool servers are detected.

  7. 7

    Artifacts provide a rendered preview of generated websites, making agent output immediately inspectable beyond code text.

Highlights

Once Brave and GitHub mCP servers are configured, Claude can browse the web and then carry out GitHub engineering actions—branches, issues, commits, and pull requests—without switching tools.
The workflow hinges on a JSON-based “claude desktop config.js” setup plus API keys/tokens, followed by a Claude desktop restart to load the new tool servers.
A single plain-English prompt can chain a full repo workflow: create repo → generate HTML/CSS → push changes → open an issue → create a feature branch → update files → open a PR to main.

Topics

Mentioned