// agents · modelcontextprotocol/python-sdk

python-sdk

python-sdkは、modelcontextprotocolが公開しているオープンソースのAIエージェントプロジェクトです(GitHub: modelcontextprotocol/python-sdk)。GitHubスターは24,508、フォークは4,018で、MITライセンスの下で公開されています。GitHubでの最終更新は2026年10月5日です。

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

★ 24.5k スター⑂ 4.0k フォークMIT更新 2026年10月
▦ ビジュアル — このプロジェクトのREADMEには埋め込み可能なスクリーンショットがないため、
ここではプレースホルダーを表示しています。下のガイド自体は完全な内容です。
// プロジェクトの基本情報

プロジェクト基本情報

GitHubスター
24,508
フォーク
4,018
ライセンス
MIT
GitHubでの最終更新
2026年10月5日
掲載タイプ
完全なインストールガイド
公式サイト
Official site
// 仕組み

仕組み

  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.

// 機能

選ばれる理由

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
// 自分で実行

自分で実行してみる

  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
// 活用例

作れるもの

Advertisement
// よくある質問

よくある質問

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.

// さらに探索

似ているツール

AIエージェント

typescript-sdk

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

★ 13.5k スターNOASSERTION
ガイドを見る →
AIエージェント

servers

The official collection of reference Model Context Protocol servers.

★ 91.1k スターNOASSERTION
ガイドを見る →
AIエージェント

server-sdk-python

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

★ 53 スターNOASSERTION
ガイドを見る →
AIエージェント

langsmith-sdk

Official SDKs for tracing with LangSmith.

★ 1.1k スターMIT
ガイドを見る →
AIエージェント

fastmcp

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

★ 28.0k スターApache-2.0
ガイドを見る →
AIエージェント

harness-sdk

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

★ 8.7k スターApache-2.0
ガイドを見る →
// 代替候補

代替候補: AIエージェント

LibreAIカタログに掲載されたAIエージェントプロジェクトの中で最もスターの多いもの — python-sdkが合わなかった場合に検討したい、現実的な候補リストです。

// さらに見る agents

さらに見る: AIエージェント

カタログの中でpython-sdkとスター数が近いAIエージェントプロジェクト — 前後の棚もそのまま見て回れます。

python-sdkを入手する

無料でオープン — ソースコードを入手して、リポジトリにスターを付け、作り始めましょう。