Model Context Protocol SDK icon

Model Context Protocol SDK

Facilitates the creation of Model Context Protocol (MCP) clients and servers in Python, enabling standardized context provision for Large Language Models (LLMs).

소개

The Model Context Protocol (MCP) allows applications to provide context for LLMs in a standardized way, separating the concerns of providing context from the actual LLM interaction. This Python SDK implements the full MCP specification, making it easy to build MCP clients and servers that expose resources, prompts, and tools. It supports standard transports like stdio and SSE and handles all MCP protocol messages and lifecycle events, enabling seamless integration and extensibility for LLM-powered applications.

주요 기능

  • Supports stdio and SSE transports.
  • Includes standalone development tools.
  • Expose resources, prompts, and tools.
  • Build MCP clients and servers.
  • Handles MCP protocol messages and lifecycle events.
  • 0 GitHub stars

사용 사례

  • Integrating with Claude Desktop for local development.
  • Creating a server to provide data to an LLM application.
  • Building a client to consume data from an MCP server.
Craft Better Prompts with AnyPrompt
Sponsored