MCP Client Streamlit Interface
by zeeshanunique
This is a simple Streamlit interface for interacting with the MCP client. It allows users to send queries and view responses from the MCP client.
View on GitHub
Last updated: N/A
MCP Client Streamlit Interface
A simple Streamlit interface for interacting with the MCP client.
Setup
- Make sure you have Python 3.13+ installed
- Install the dependencies:
pip install -e .
- Create a
.env
file with your API keys:GEMINI_API_KEY=your_gemini_api_key SERPAPI_KEY=your_serpapi_key # Optional for web search functionality
Running the Streamlit Interface
Run the following command to start the Streamlit interface:
streamlit run main.py
Then open your browser to http://localhost:8501 to interact with the MCP client.
Usage
- Enter the path to the server script (default is
server.py
) - Type your query in the text area
- Click "Process Query" to send the query to the MCP client
- View the response from the MCP client