ksrk-mcp-server-client
1
This project facilitates interaction with OpenAI's GPT-4 model via a Model Context Protocol server. It features web scraping capabilities through the ScrapingDog API and includes testing utilities with BeautifulSoup and `httpx`.
Overview
This project provides a client and server setup for interacting with OpenAI's GPT-4 model through an MCP server. Key components include MCPClient
for managing server connections, various asynchronous functions for web scraping via the ScrapingDog API, and testing scripts using httpx
and BeautifulSoup.
Installation
- Clone the repository and navigate to the documentation directory.
- Create and activate a virtual environment.
- Install the dependencies listed in
requirements.txt
. - Set up environment variables in a
.env
file with your API keys.
Usage
Run the client.py
script and enter prompts in the interactive loop to interact with the MCP server.