0Pricing
MCP Academy · Aula

MCP em estruturas de agentes

Conecte servidores MCP a ambientes de execução de agentes.

MCP em estruturas de agentes é uma aula grátis de MCP Academy no CoddyKit. Esta é a aula 2 de 4. Você pode ler a aula completa abaixo gratuitamente — depois pratica ao vivo no navegador com um editor de código integrado e um tutor de IA 24/7. Faz parte do caminho de aprendizado de MCP Academy, e seu progresso é sincronizado entre a web e o app CoddyKit. O curso de MCP Academy inclui 4 aulas no total.

Partes desta aula ainda não foram traduzidas e aparecem em inglês.

Agents Need Tools Too

An agent framework runs a loop: the model thinks, picks a tool, sees the result, repeats. MCP is a tidy way to feed it those tools.

One Connection, Many Tools

Instead of wiring each tool by hand, your agent connects to an MCP server once and instantly gains everything that server advertises.

Frameworks Speak MCP

Popular agent runtimes add MCP support so you can drop a server in as a tool source, no custom glue code per framework.

Discover, Then Use

At startup the framework asks the server to list tools, then exposes them to the model like any other callable in the loop.

tools = await session.list_tools()

The Loop Stays the Same

Your agent loop does not change much. MCP just supplies the tool definitions the model chooses from on each step.

Calling a Tool

When the model picks a tool, the framework forwards the call to the MCP server with call_tool and waits for the result.

result = await session.call_tool(
  "get_weather", {"city": "Rome"})

Mix Many Servers

An agent can attach several MCP servers at once, pooling a database server, a search server, and a files server into one toolbox.

Swap Tools Without Code

Because tools live behind servers, you can add or remove capabilities by changing config, not by rewriting the agent itself.

The Host Handles Plumbing

The framework acts as the host: it starts servers, manages connections, and translates between the model and MCP for you.

Why This Scales

One server can power many agents, and one agent can use many servers. That many-to-many reach is exactly what MCP was built for.

Keep Your Agent Logic

MCP does not own your agent. Your reasoning, planning, and memory stay in the framework; MCP only standardizes the tool layer.

Quick Check

How does MCP fit into an agent framework?

Recap

An agent framework connects to MCP servers, discovers their tools, and calls them inside its loop. Plug in capability, keep your logic. 🔌

Perguntas Frequentes

A aula “MCP em estruturas de agentes” é grátis?

Sim — o texto completo de “MCP em estruturas de agentes” é grátis para ler aqui na web. Para praticá-la interativamente (um editor de código integrado e um tutor de IA 24/7) e desbloquear o restante do curso de MCP Academy, atualize para CoddyKit PRO. O curso de MCP Academy inclui 4 aulas no total.

O que vou aprender em “MCP em estruturas de agentes”?

Conecte servidores MCP a ambientes de execução de agentes. Você pratica MCP Academy com código prático que executa diretamente no navegador, e um tutor de IA 24/7 responde suas dúvidas enquanto trabalha na aula.

Preciso ter experiência prévia para começar MCP Academy?

Nenhuma experiência prévia é necessária. MCP Academy no CoddyKit é estruturado para alunos iniciantes até avançados, então você pode começar aqui ou desde o início e aprender no seu ritmo. Esta é a aula 2 de 4.

Quanto tempo leva a aula “MCP em estruturas de agentes”?

A maioria das aulas CoddyKit leva cerca de 5–10 minutos. Cada uma é compacta e interativa, então você faz progresso constante e retoma exatamente de onde parou entre web e app.

Posso escrever e executar código nesta aula de MCP Academy?

Sim. Cada aula de MCP Academy inclui um editor de código integrado, então você escreve e executa código real direto no navegador e recebe feedback de IA instantaneamente — nenhuma configuração local necessária.

Todas as aulas deste curso

  1. MCP versus chamada de funções
  2. MCP em estruturas de agentes
  3. De agente para agente com A2A
  4. O futuro do MCP
← Voltar para MCP Academy