Skip to content

Conversation

Vinisha-projects
Copy link

This PR introduces a MCP stdio client demo using the official MCP SDK.
The demo demonstrates how to connect to an MCP server via stdio using the recommended client interface.

Motivation and Context

This demo aims to provide a simple and practical example of using the MCP client via stdio.
It helps developers quickly understand how to connect, interact, and retrieve data from an MCP server.
The example is aligned with the official MCP guidelines and best practices.

How Has This Been Tested?

The demo was tested locally on a Windows environment using Python 3.12.
It simulates an MCP server connection and verifies that responses are correctly received and displayed.
The example was executed multiple times to check for stability and correctness.

Breaking Changes

None. The PR introduces an isolated demo script without impacting the core library.

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)
  • Documentation update

Checklist

  • I have read the MCP Documentation
  • My code follows the repository's style guidelines
  • New and existing tests pass locally
  • I have added appropriate error handling
  • I have added or updated documentation as needed

Additional context

n/a

@Vinisha-projects Vinisha-projects marked this pull request as ready for review May 9, 2025 15:32
@ihrpr
Copy link
Contributor

ihrpr commented May 9, 2025

thank you, we appreciate you contribution, we already have examples/clients/simple-chatbot/mcp_simple_chatbot for stdio client demo purposes

@ihrpr ihrpr closed this May 9, 2025
gspencergoog pushed a commit to gspencergoog/mcp-python-sdk that referenced this pull request Jul 29, 2025
…/basil/add_zencoder

docs: Add Zencoder to list of MCP clients
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants