mcpField
M
MCP Client Example ☀️

MCP Client Example ☀️

github.com/dev-mahfuj80Frameworks & SDKs0Updated 84w ago

About MCP Client Example ☀️

MCP Client Example is a Python project demonstrating how to build clients and servers using the MCP Python SDK. It includes BMI calculation and weather-fetching tools, illustrating fundamental MCP implementation and tool invocation workflows.

Key features

  1. 01Create clients and servers with MCP Python SDK
  2. 02Implement custom tools (BMI calculator, weather fetcher)
  3. 03Support asynchronous tool calls
  4. 04Connect client and server via stdio
  5. 05Test and debug with MCP Inspector

Use cases

  1. 01Learn MCP client-server implementation basics
  2. 02Understand tool discovery and invocation workflows
  3. 03Rapidly prototype MCP integration projects

MCP support

This example demonstrates basic MCP client and server implementation, including stdio connection, tool listing, and tool invocation.

Details

The maintainer has not added details yet. See the official docs.

Comments

Markdown supported

New to MCP?

From what the protocol is to installing your first server, these answers cover most first questions.

An open protocol that defines how AI applications connect to external tools and data in a uniform way. Clients talk to the model; MCP servers provide tools, resources and prompt templates. They exchange standard messages, so one server can be reused by many clients.