ksrk-mcp-server-client

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

  1. Clone the repository and navigate to the documentation directory.
  2. Create and activate a virtual environment.
  3. Install the dependencies listed in requirements.txt.
  4. 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.