Testing and demonstration of the Model Content Protocol (MCP) using Python. This project enables you to experiment with and test any MCP server implementation utilizing Pydantic AI.
This repository provides a demonstration framework for the Model Content Protocol (MCP), enabling users to test MCP server implementations using Python and Pydantic AI.
It is intended as a collection of examples and test scripts for learning, experimentation, and interoperability testing.
- Test compatibility with any MCP server
- Built with Python and Pydantic for robust data validation
- Example scripts and configuration for quick experimentation
These instructions will help you set up the project on your local machine.
- Python 3.12 or newer
- Node.js v22 or newer
- Clone the repository:
git clone https://github.com/PramudiR/mcp-demo.git cd mcp-demo
- (Optional) Create and activate a virtual environment:
python3 -m venv venv source venv/bin/activate
- Install required Python packages:
pip install -r requirements.txt
- Install Node.js dependencies (if applicable):
npm install
This repository is a demo and does not have a single entry point or main script.
- Browse the repository for sample code and scripts related to MCP testing.
- Review code comments and documentation in each Python file for instructions on how to run or adapt individual examples.
- Run specific scripts using:
python path/to/example_script.py
- Refer to included documentation or comments for details on script functionality and prerequisites.
Feel free to experiment with and modify the examples to fit your MCP server implementation or testing needs.
Contributions, issues, and feature requests are welcome!
- Fork this repository.
- Create a new branch (
git checkout -b feature/your-feature
). - Commit your changes (
git commit -am 'Add new feature'
). - Push to the branch (
git push origin feature/your-feature
). - Create a new Pull Request.
This project is licensed under the MIT License. See the LICENSE file for details.
Maintained by PramudiR.
Feel free to open issues or reach out with questions.