Runs a Python-based MCP server with a client and a browser interface for local development and testing.
Configuration
View docs{
"mcpServers": {
"adamleen-mcp-kimi": {
"command": "python",
"args": [
"mcp_server.py"
]
}
}
}You can run a lightweight MCP server that wires together a Python-based backend with a client and a simple browser interface. This setup lets you start the server, connect a client, and view results in a browser, making it easy to experiment with data flows and interactions in a local environment.
Start the server locally, connect the client, and then interact with the browser interface to see results. Run the server first, then launch the client, and open index.html in your browser to access the web UI. The client can be used to send requests to the server and observe the responses in real time.
Prerequisites: Ensure you have Python installed and access to the internet to install dependencies. You will also need a web browser to view the interface.
pip install -r requirements.txt
python mcp_server.py
python mcp_client.pyThe environment can include a .env file where the API key can be any value. This is just a placeholder for environments that expect an API key. You can set it to a dummy value if you are not connecting to a real external service.
Open index.html in your browser to access the web interface and begin interacting with the MCP server through the client.