fastmcp

Ochiq manbalardan

FastMCP — MCP serverlar, mijozlar va interaktiv ilovalar yaratish uchun ochiq kodli Python freymvorki bo‘lib, LLMlarga kam kod bilan vositalar va ma’lumotlarga ulanish imkonini beradi.

MCP serverKategoriya: MCP serverlar · SDK va freymvorklarOpen sourcemaʼlumot tekshirilgan: 15-okt, 2026

Sharh

Model Context Protocol (MCP) LLMlarni vositalar va ma’lumotlar bilan bog‘laydi, ammo to‘g‘ri MCP ilovasini yaratish protokol bilan sezilarli ishni talab qiladi. FastMCP shu qatlamni o‘z zimmasiga oladi. Vosita oddiy Python funksiyasi sifatida e’lon qilinadi, sxema, kiruvchi ma’lumotlarni tekshirish va hujjatlar esa avtomatik yaratiladi. Serverga ulanish uchun faqat URL kerak, transport kelishuvi, autentifikatsiya va protokol hayot sikli freymvork tomonidan boshqariladi. FastMCP uch qismdan iborat: LLMlarga vositalar, resurslar va promptlarni taqdim etuvchi Serverlar; istalgan MCP serveriga, mahalliy yoki masofaviy, dasturiy yoki buyruq qatori orqali ulanuvchi Mijozlar; hamda vositalarga suhbat ichida to‘g‘ridan-to‘g‘ri interaktiv interfeys beruvchi Ilovalar. Loyiha Apache-2.0 litsenziyasi ostida tarqatiladi, uni Prefect jamoasi qo‘llab-quvvatlaydi va JavaScript loyihalari uchun TypeScript varianti ham mavjud. Pythonda AI agentlar va MCP serverlar yaratayotgan dasturchilar uni uv orqali o‘rnatib, qisqa skriptdan boshlashlari mumkin. Hujjatlar, tezkor boshlanish qo‘llanmalari va llms.txt fayllari gofastmcp.com saytida mavjud.
  • agents
  • fastmcp
  • llms
  • mcp
  • mcp-clients
  • mcp-servers
  • mcp-tools
  • model-context-protocol
  • python

Oʻrnatish

Buyruqlar faqat koʻrsatiladi, marketpleys ularni bajarmaydi. Rasmiy hujjatlar bilan solishtiring.
  • Rasmiy saytOchiq manbalardankatalog metamaʼlumotlaridan
    gofastmcp.com/ ↗
  • Til paketlari reyestripythonOchiq manbalardanpaket manifestidan — reyestrda chop etilgani tekshirilmagan
    pipx install fastmcp

    Tekshirilmagan: oʻrnatishdan oldin reyestrdagi paket aynan shu loyihaga tegishli ekanini tekshiring.

    pypi.org/project/fastmcp/ ↗
  • Manbadan yigʻishOchiq manbalardankatalog metamaʼlumotlaridan

    Manbadan yigʻish: tekshirilgan yigʻish retsepti yoʻq — repozitoriy koʻrsatmalariga amal qiling.

    github.com/PrefectHQ/fastmcp ↗

Moslik

«Nomaʼlum» dalil topilmaganini bildiradi, mahsulot mos emasligini emas.
PlatformaHolatArxitekturaDalilIshonchlilik
Claude (web & desktop)Nomaʼlum———
Claude CodeNomaʼlum———
CursorNomaʼlum———
VS CodeNomaʼlum———
WindsurfNomaʼlum———
ChatGPTNomaʼlum———
PythonMos—paket manifesti: pyproject.toml name0.60

Relizlar

tekshirilgan: 29-okt, 2026
v4.1.4Oxirgi26-okt, 2026Rasmiy manba ↗

4.1.4 versiyasi fayllari

Relizga fayllar biriktirilmagan.

Relizlar tarixi

Sifat profili

algoritm quality-v1.0 · baholangan 15-okt, 2026
Sifat bahosi100
Xavf bahosi0
Ishonchlilik 1.00
Sifat bahosi va xavf bahosi — turli koʻrsatkichlar. Yuqori sifat xavfsizlikni kafolatlamaydi.

Baho tarkibi

Qoʻllab-quvvatlash · 2020
last activity 0 days ago
Hujjatlar · 1515
README 7453 chars, description present
Foydalanishga tayyorlik · 1515
install instructions: yes; releases: yes
Metamaʼlumotlar · 1010
4/4 of description, homepage, license, topics
Relizlar · 1010
10 release(s), latest 7 days ago
Kategoriya aniqligi · 1010
classifier confidence 1
Ommaboplik · 1010
28089 stars (log-dampened, 10k = max)
Litsenziya aniqligi · 55
SPDX Apache-2.0
Hamjamiyat · 55
issues enabled, 2476 forks

Litsenziya

Apache-2.0
Litsenziya maʼlumrepozitoriy xostingi maʼlumotlariga koʻra

Bu katalog siyosati holati, yuridik xulosa emas.

Manbalar

github.com/PrefectHQ/fastmcpAsosiy★ 28 089 yulduzfaollik: 15-okt, 2026Asosiy repozitoriy · Ishonchlilik 1.00

Sharhlar

Sharh yozish uchun kiring

Hali sharhlar yoʻq.

Muqobillar

README

PrefectHQ/fastmcp dan · litsenziya Apache-2.0 · yuklangan 29-okt, 2026

FastMCP 🚀

Move fast and make things.

Made with 💙 by Prefect

[Docs] [Discord] [PyPI - Version] [TypeScript] [Tests] [License]


The Model Context Protocol (MCP) connects LLMs to tools and data. FastMCP is a full MCP application framework for servers, clients, and interactive apps. A server starts with ordinary Python:

from fastmcp import FastMCP

mcp = FastMCP("Demo 🚀")

@mcp.tool
def add(a: int, b: int) -> int:
    """Add two numbers"""
    return a + b

if __name__ == "__main__":
    mcp.run()

Why FastMCP

Building an effective MCP application is harder than it looks. FastMCP handles all of it. Declare a tool with a Python function, and the schema, validation, and documentation are generated automatically. Connect to a server with a URL, and transport negotiation, authentication, and protocol lifecycle are managed for you. You focus on your logic, and the MCP part just works: with FastMCP, best practices are built in.

That's why FastMCP is the standard framework for working with MCP. FastMCP 1.0 was incorporated into the official MCP Python SDK in 2024. Today, the actively maintained standalone project is downloaded a million times a day, and some version of FastMCP powers 70% of MCP servers across all languages.

FastMCP has three pillars:

Servers wrap your Python functions into MCP-compliant tools, resources, and prompts. Clients connect to any server with full protocol support. And Apps give your tools interactive UIs rendered directly in the conversation.

Building in TypeScript? FastMCP for TypeScript is the official counterpart, built and maintained by the same team. Same pillars, same ideas, npm install @prefecthq/fastmcp-ts.

Ready to build? Start with the installation guide or jump straight to the quickstart.

Scale MCP with Horizon

FastMCP handles the MCP application layer. Prefect Horizon is the enterprise MCP gateway for scaling servers and tools across teams, with centralized governance over how they are deployed, discovered, secured, and used.

FastMCP and Horizon are built by the same team at Prefect.

Deploy FastMCP servers from GitHub with branch previews and instant rollback. Create a private registry of every MCP your company uses. Secure access with SSO and tool-level RBAC. Get audit logs, observability, and governance across your MCP stack. Remix approved tools into purpose-built endpoints for teams and agents.

Start with FastMCP. Scale with Horizon →

Installation

We recommend adding FastMCP to your project with uv:

uv add fastmcp

For full installation instructions, including verification and upgrading, see the Installation Guide.

Upgrading? We have guides for:

📚 Documentation

FastMCP's complete documentation is available at gofastmcp.com, including detailed guides, API references, and advanced patterns.

Documentation is also available in llms.txt format, which is a simple markdown standard that LLMs can consume easily:

  • llms.txt is essentially a sitemap, listing all the pages in the documentation.
  • llms-full.txt contains the entire documentation. Note this may exceed the context window of your LLM.

Give your coding agent llms.txt as its starting point. See Coding Agents for version-matched documentation and the optional server authoring skill.

Community: Join our Discord server to connect with other FastMCP developers and share what you're building.

Contributing

Start with CONTRIBUTING.md for accepted contributions and the issue-assignment workflow, then follow the Contributing Guide for setup and validation. Agents should read AGENTS.md.

Repozitoriyni ochish ↗