python3 -m venv .venvsource .venv/bin/activate(Windows users can run .venv\Scripts\activate)
pip install -r requirements.txtExample requirements.txt:
mcp>=1.0.0
npx @modelcontextprotocol/inspector venv_path server_path/server.pyThis starts the MCP server and opens the Inspector for viewing and testing.
Create a file named test.txt and add some sample data:
Sample Input Data
-----------------
name: Parth Upadhya
role: Developer
message: Hello from test.txt!
MCP/
├── server.py
├── test.txt
├── requirements.txt
├── .venv/
└── README.md