Claude Code

MCP Servers on Claude Code: What They Are and How to Use (2026 Guide)

minhaskills.io MCP Servers on Claude Code: What They Are and How to Use (2026 Guide) Claude Code
minhakills.io 2 Apr 2026 12 min read

You're using Claude Code to write code, but every time you need to query the database, check a payment on Stripe, or check a pull request on GitHub, you need to exit Claude Code, open another tool, copy the data, and come back. This breaks the workflow and consumes time.

O MCP (Model Context Protocol)solves exactly this problem. It allows Claude Code to connect directly to external tools and services, without you having to leave the terminal. Claude Code queries the bank, processes payments, reads repositories -- all within the same session.

In this guide, you will understand what MCP is, how to configure it, which servers are available and how to use it in practice with Supabase, Stripe, GitHub and other services.

1. What is MCP (Model Context Protocol)

MCP and aopen protocolcreated by Anthropic that standardizes how AI models connect to external tools and data sources. Think of it as USB-C for AI: a universal interface that allows Claude Code to “plug in” to any service that implements the protocol.

Technical definition:MCP (Model Context Protocol) is a client-server protocol where Claude Code acts as a client and external tools act as servers. Each server exposes a set of tools (functions) that Claude Code can call during a session. Communication takes place via JSON-RPC over stdio or HTTP.

Before MCP, integrating Claude Code with external tools required workarounds: running CLI commands, parsing outputs, copying data manually. With MCP, integration is native. Claude Code knows which tools are available, which tometers each one accepts and how to interpret the results.

The simplest analogy

Imagine that Claude Code is a professional sitting at a desk. Without MCP, it only has access to files on the table (your local project). With MCP, he gets a phone with a direct line to the database, the payment system, the code repository and any other department. He calls, asks for information, receives it and continues working -- without leaving the table.

Protocol components

MCP works with three main components:

2. How MCP works in the Claude Code architecture

When you configure an MCP server on Claude Code, the following happens:

  1. Initialization:When starting Claude Code, it reads the file.mcp.jsonand starts the processes of the configured MCP servers
  2. Discovery:Claude Code asks each server what tools it offers. The server responds with a list of functions, tometers and descriptions
  3. Availability:the tools are available for Claude Code to use during the session, as if they were native functions
  4. Execution:When Claude Code decides that it needs a tool (for example, querying the bank), it sends a request to the MCP server, which executes the action and returns the result
Fluxo MCP
# 1. Claude Code inicia e le .mcp.json
[MCP] Iniciando server: supabase
[MCP] Iniciando server: github

# 2. Discovery: Claude descobre as tools disponiveis
[MCP:supabase] Tools: execute_sql, list_tables, get_project
[MCP:github] Tools: create_issue, list_prs, get_file

# 3. Voce pede algo que requer dados externos
> quantos usuarios se cadastraram ontem?

# 4. Claude usa a tool MCP automaticamente
[MCP:supabase] execute_sql("SELECT COUNT(*) FROM users WHERE created_at >= '2026-04-01'")
Ontem, 47 novos usuarios se cadastraram no sistema.

The important point: you don't need to tell Claude Code "use Supabase's MCP". It automatically identifies that it needs data from the bank and uses the appropriate tool. The experience is transparent.

3. MCP servers vs skills: what's the difference

This is a common doubt. Both extend Claude Code's capabilities, but in fundamentally different ways:

Aspect MCP Servers Skills
What they provideTools (actions executable in external services)Expert knowledge and instructions
AnalogyTools on the bench (hammer, wrench, drill)Expert manual (how to use each tool)
ExampleExecute SQL on Supabase, create charges on StripeKnow how to structure optimized queries, how to model data
SettingsFile.mcp.jsonFiles.md em .claude/commands/
Requires credentialsYes (API keys, tokens)Nao
Perform external actionsSimNo (just instructs Claude)

In practice,skills and MCP servers are complementary. A "database architect" skill teaches Claude Code the best data modeling practices. Supabase's MCP server allows it to execute these queries directly in the database. Together, you have a Claude Code who knows what to do and has access to do it.

Powerful combination:skillsDev packageinclude instructions for Supabase, Stripe, REST APIs, and more. When combined with the corresponding MCP servers, Claude Code becomes a full-stack developer with direct access to the entire infrastructure.

4. Configuring .mcp.json step by step

The configuration of MCP servers is done in the file.mcp.json. You can configure it in two scopes:

Basic file structure

Complete example with Supabase

Example with multiple servers

After saving the file, restart Claude Code. It will start the servers automatically and you will see the available tools.

Checking if the servers are active

Terminal — Claude Code
> quais MCP servers estao conectados?

3 MCP servers ativos:
- supabase (12 tools)
- github (15 tools)
- stripe (8 tools)

Use all this potential with ready-made skills

Each Claude upgrade makes his skills even more powerful. The Mega Bundle comes with the latest news — 748+ skills updated, tested and ready to use in Claude Code.

Ver Skills Atualizadas — $9
SPECIAL OFFER

Master Claude Code with 748+ Professional Skills

Every skill in this article becomes 10x more powerful with ready-made templates. Install in 2 minutes and start producing like a senior.

748+ Skills + 12 Bonus + 120K Prompts

Shortcut for those who want the result fast

Everything you're reading becomes a ready template with 748 Skills.

See Skills $9 →

De $197

$9

One-time payment • Lifetime access • 7-day guarantee

GET THE MEGA BUNDLE NOW

Install in 2 min • Claude Code, Cursor, ChatGPT

5. 7 most used MCP servers in 2026

The MCP ecosystem has grown rapidly. These are the servers most used by the community:

Server What it does npm package
SupabaseSQL, tables, migrations, edge functions, auth@supabase/mcp-server
GitHubIssues, PRs, repos, actions, code search@modelcontextprotocol/server-github
StripeCustomers, charges, subscriptions, invoices@stripe/mcp-server
SlackMessages, channels, threads, search@modelcontextprotocol/server-slack
FilesystemExpanded access to files outside the project@modelcontextprotocol/server-filesystem
PostgreSQLDirect connection to any PostgreSQL database@modelcontextprotocol/server-postgres
Brave SearchReal-time web search@modelcontextprotocol/server-brave-search

In addition to these, there are MCP servers for Notion, Linear, Jira, Google Drive, AWS and dozens of other services. The official Anthropic repository lists all verified servers.

6. Practical examples: Supabase, Stripe and GitHub

Example 1: Supabase — query data and create migrations

MCP Supabase em acao
> liste as tabelas do meu banco de dados

[MCP:supabase] list_tables()
Tabelas encontradas: users, products, orders, payments, sessions

> quantos pedidos foram feitos nos ultimos 7 dias? agrupe por status

[MCP:supabase] execute_sql("SELECT status, COUNT(*) as total FROM orders WHERE created_at >= NOW() - INTERVAL '7 days' GROUP BY status ORDER BY total DESC")
Pedidos nos ultimos 7 dias:
completed: 234
pending: 18
cancelled: 7

> crie uma migration to adicionar uma coluna "phone" na tabela users

[MCP:supabase] apply_migration("ALTER TABLE users ADD COLUMN phone TEXT;")
Migration aplicada com sucesso.

Example 2: Stripe — verify payments and create products

MCP Stripe em acao
> mostre os ultimos 5 pagamentos recebidos

[MCP:stripe] list_charges({limit: 5})
Ultimos pagamentos:
$9.00 - joao@email.com - 2 abr 2026 (succeeded)
$9.00 - maria@email.com - 2 abr 2026 (succeeded)
$9.00 - pedro@email.com - 1 abr 2026 (succeeded)
...

> crie um produto "Pacote Enterprise" por $97 com checkout link

[MCP:stripe] create_product({name: "Pacote Enterprise", ...})
[MCP:stripe] create_price({unit_amount: 19700, currency: "brl", ...})
Produto criado. Checkout link: https://buy.stripe.com/...

Example 3: GitHub — manage issues and PRs

MCP GitHub em acao
> liste os PRs abertos com label "bug"

[MCP:github] list_pull_requests({state: "open", labels: ["bug"]})
3 PRs abertos com label "bug":
#142 - Fix payment webhook timeout
#138 - Resolve CSS overflow on mobile
#135 - Fix date parsing in reports

> crie uma issue to rastrear o bug do checkout no Safari

[MCP:github] create_issue({title: "Bug: checkout falha no Safari 18", body: "...", labels: ["bug", "high-priority"]})
Issue #143 criada com sucesso.

7. How to create your own MCP server

If you have an internal API or a service that does not have an official MCP server, you can create your own. The SDK is available in TypeScript andPython.

Basic structure in TypeScript

Basic structure in Python

After creating the server, configure it in.mcp.json:

8. Good practices and safety

Credential security

Performance

Organization

Claude evolves. Your skills too.

It's not enough to have the most advanced tool — you need to know how to use it. Skills are professional shortcuts that transform Claude into an expert. 748+ skills, 7 categories, $9.

Quero as Skills — $9
SPECIAL OFFER — LIMITED TIME

The Largest AI Skills Package on the Market

748+ Skills + 12 Bonus Packs + 120,000 Prompts

748+
Professional Skills
Marketing, SEO, Copy, Dev, Social
12
GitHub Bonus Packs
8,107 skills + 4,076 workflows
100K+
AI Prompts
ChatGPT, Claude, Gemini, Midjourney
135
Ready-Made Agents
Automation, data, business, dev

Was $39

$9

One-time payment • Lifetime access • Free updates

GET THE MEGA BUNDLE NOW

Install in 2 minutes • Works with Claude Code, Cursor, ChatGPT • 7-day guarantee

✓ SEO & GEO (20 skills) ✓ Copywriting (34 skills) ✓ Dev (284 skills) ✓ Social Media (170 skills) ✓ n8n Templates (4,076)

FAQ

MCP (Model Context Protocol) is an open protocol created by Anthropic that allows Claude Code to connect to external tools and services in a standardized way. Instead of AI just reading and writing local files, MCP allows it to interact directly with databases (Supabase), payment processors (Stripe), repositories (GitHub), communication platforms (Slack) and any other service that implements the protocol.

MCP servers provide tools -- actions that Claude Code can perform on external services, such as querying a database or creating a record on Stripe. Skills provide specialized knowledge and instruction -- like an expert manual that Claude follows. In practice, skills tell Claude HOW to think and act; MCP servers give it ACCESS to perform actions on external systems. The two are complementary. Packages likeminhakills.iooffer hundreds of ready-made skills that work perfectly with MCP servers.

You configure MCP servers by creating or editing the file.mcp.jsonin the root of your project (for project scope) or in~/.claude/.mcp.json(for global scope). The file defines each server with its execution command, arguments and environment variables. After saving the file, restart Claude Code and the servers will be available automatically. Claude Code shows which tools each server offers during startup.

Compartilhe este artigo X / Twitter LinkedIn Facebook WhatsApp
SPECIAL OFFER

Master Claude Code with 748+ Professional Skills

Every skill in this article becomes 10x more powerful with ready-made templates. Install in 2 minutes and start producing like a senior.

748+ Skills + 12 Bonus + 120K Prompts

De $197

$9

One-time payment • Lifetime access • 7-day guarantee

GET THE MEGA BUNDLE NOW

Install in 2 min • Claude Code, Cursor, ChatGPT

class="related-posts" style="max-width:800px;margin:2rem auto;padding:1.5rem 2rem;background:#fff;border-radius:12px;border:1px solid #e2e8f0;">

Read also