MCP (Model Context Protocol) Implementation
Overview
This project implements the Model Context Protocol (MCP) using a server-client architecture in Python. The MCP Server handles requests related to model context management, while the MCP Client interacts with the server to send and receive data.
Prerequisites
- Python 3.x
Setting Up the Environment
Create a Virtual Environment Open a terminal and navigate to the project directory. Run the following command to create a virtual environment:
python -m venv venv
Activate the Virtual Environment
- On Windows:
venvScriptsactivate
- On macOS/Linux:
source venv/bin/activate
- On Windows:
Install Required Packages After activating the virtual environment, install the required packages using:
pip install -r requirements.txt
Running the Application
Start the MCP Server Open a terminal (while the virtual environment is activated) and navigate to the directory containing
mcp_server.py
. Run the following command:python mcp_server.py
Start the MCP Client Open another terminal window (or tab) (while the virtual environment is activated) and navigate to the directory containing
mcp_client.py
. Run the following command:python mcp_client.py
Usage
- After starting the MCP Server, you can interact with it using the MCP Client.
Contributing
Feel free to fork the repository and submit pull requests for any improvements or bug fixes.
License
This project is licensed under the MIT License - see the LICENSE file for details.
MCP Python Server
Project Details
- jatindera/MCPBasic
- Last Updated: 3/28/2025
Recomended MCP Servers
The MCP Code Executor is an MCP server that allows LLMs to execute Python code within a specified...
MCP PostgreSQL Server
Monitor browser logs directly from Cursor and other MCP compatible IDEs.
MCP server for Delve debugger integration
Rootly MCP server
ModelContextProtocal server for interacting with buttondown
An MCP (Model Context Protocol) server for performing accessibility audits on webpages using axe-core. Use the results in...
MCP tool for exposing a structured task queue to guide AI agent workflows. Great for taming an over-enthusiastic...
A fully automated workflow for triggering, running & managing fine tuning, training & deploying custom stable diffusion models...
The leading agentic finance toolkit for AI agents