LibreAI / Agentes de IA / python-sdk
// agents · modelcontextprotocol/python-sdk

python-sdk

python-sdk é um projeto de agentes de IA de código aberto de modelcontextprotocol (modelcontextprotocol/python-sdk no GitHub). Tem 24.508 estrelas no GitHub e 4.018 forks, é publicado sob a licença MIT e foi atualizado pela última vez no GitHub em 5 de outubro de 2026.

The official Python SDK for Model Context Protocol servers and clients.

★ 24,5 mil estrelas⑂ 4,0 mil forksMITatualizado out 2026
▦ visual: o README deste projeto não inclui nenhuma captura incorporável,
então aqui vai um marcador. O guia abaixo está completo mesmo assim.
// dados do projeto

Dados do projeto

Estrelas no GitHub
24.508
Forks
4.018
Licença
MIT
Última atualização no GitHub
5 de outubro de 2026
Categoria
Agentes de IA
Tipo de ficha
Guia de instalação completo
Site oficial
Official site
// como funciona

Como funciona

  1. Pick a use case

    Start with one concrete task rather than a grand architecture.

  2. Fetch the source

    Clone the repo and check the examples folder for a quickstart.

  3. Configure it

    Install packages, set environment variables, and point it at your model.

  4. Run and iterate

    Execute the demo workflow, then adapt it to your own data.

// recursos

Por que as pessoas gostam tanto

Official implementation

From the team behind the MCP spec.

Spec fidelity

The reference for correct behavior.

Servers and clients

Both sides of the protocol.

Python-native

Async-first Python design.

MIT licensed

Permissive and commercial-friendly.

Well documented

Dedicated docs site with guides.

Advertisement
// execute você mesmo

Execute você mesmo

  1. Step 1 - Clone the repo

    Download the source and move into the project folder.

    git clone https://github.com/modelcontextprotocol/python-sdk.git
    cd python-sdk
  2. Step 2 - Install dependencies

    Create a virtual environment and install the requirements.

    python -m venv .venv && source .venv/bin/activate
    pip install -r requirements.txt
  3. Step 3 - Run an example

    Treat these as starting points - the README documents the exact commands.

    python examples/quickstart.py
// casos de uso

O que você pode criar

Advertisement
// perguntas frequentes

Perguntas frequentes

Who maintains this project?

modelcontextprotocol/python-sdk is its home on GitHub, with 4018 forks so far. The contributors tab and recent commits show how actively it is maintained.

Is python-sdk free to use?

Yes - it is MIT licensed, so you can use, modify, and distribute it freely, including in commercial projects.

Do I need a paid API to use it?

The SDK is free; the underlying platform's API may be billed separately - check that service's pricing.

Official SDK vs FastMCP?

The official SDK is the spec-faithful reference; FastMCP is the productivity layer on similar ideas. Learn the SDK to understand the protocol, use FastMCP to ship faster.

How do I get started?

Follow the README quickstart, then browse the examples directory for patterns that match what you want to build.

// continue explorando

Ferramentas semelhantes

Agentes de IA

typescript-sdk

The official TypeScript SDK for Model Context Protocol servers and clients.

★ 13,5 mil estrelasNOASSERTION
Ver o guia →
Agentes de IA

servers

The official collection of reference Model Context Protocol servers.

★ 91,1 mil estrelasNOASSERTION
Ver o guia →
Agentes de IA

server-sdk-python

The official Python SDK for building on Vapi's voice AI platform.

★ 53 estrelasNOASSERTION
Ver o guia →
Agentes de IA

langsmith-sdk

Official SDKs for tracing with LangSmith.

★ 1,1 mil estrelasMIT
Ver o guia →
Agentes de IA

fastmcp

The fast, Pythonic way to build MCP servers and clients.

★ 28,0 mil estrelasApache-2.0
Ver o guia →
Agentes de IA

harness-sdk

An open-source SDK for production agents on any model, any cloud.

★ 8,7 mil estrelasApache-2.0
Ver o guia →
// alternativas

Alternativas em Agentes de IA

Os outros projetos de Agentes de IA com mais estrelas no catálogo do LibreAI — a lista realista de alternativas se python-sdk não for o ideal para você.

// mais em agents

Mais em Agentes de IA

Projetos de Agentes de IA próximos no catálogo, os mais próximos em estrelas de python-sdk: continue explorando dos dois lados dele.

Baixe o python-sdk

Grátis e aberto: pegue o código-fonte, dê uma estrela no repositório e comece a criar.