karan-ksrk
MCP Serverkaran-ksrkpublic

ksrk mcp server client

MCP server to get latest information about me (for now), you can add that mcp server to claude desktop or create custom client, have a look at this repo

Repository Info

2
Stars
1
Forks
2
Watchers
0
Issues
Python
Language
-
License

About This Server

MCP server to get latest information about me (for now), you can add that mcp server to claude desktop or create custom client, have a look at this repo

Model Context Protocol (MCP) - This server can be integrated with AI applications to provide additional context and capabilities, enabling enhanced AI interactions and functionality.

Documentation

Requirements

  • Python 3.13
  • Dependencies listed in pyproject.toml

Installation

  1. Clone the repository:

    git clone <repository-url>
    cd documentation
    
  2. Create a virtual environment and activate it:

    python -m venv .venv
    source .venv/bin/activate  # On Windows use `.venv\Scripts\activate`
    
  3. Install the dependencies:

    pip install -r requirements.txt
    
  4. Set up environment variables:

    Create a .env file in the root directory with the following content:

    SCRAPING_DOG_API_KEY=your_scraping_dog_api_key
    OPENAI_API_KEY=your_openai_api_key
    

Usage

Running the Client

  1. Navigate to the root directory:

    cd ..
    
  2. Run the client:

    python client.py
    
  3. Enter your prompts in the interactive prompt loop. Type quit or exit to stop the client.

Project Files

client.py

This file contains the main client code that interacts with the MCP server and OpenAI's GPT-4 model. It includes the following key components:

  • MCPClient: A class that manages the connection to the MCP server and provides methods to retrieve available tools and call them.
  • agent_loop: An asynchronous function that processes user queries using the LLM and available tools.
  • main: The main function that sets up the MCP server, initializes tools, and runs the interactive loop.

ksrk-mcp/ksrk-mcp-server.py

This file contains the MCP server implementation. It includes the following key components:

  • search_web: An asynchronous function that searches the web using the ScrapingDog API.
  • fetch_url: An asynchronous function that fetches the content of a URL.
  • about_ksrk: An MCP tool that searches for details about "ksrk" on a given website.

ksrk-mcp/test-website.py

This file contains a script to test website scraping using httpx and BeautifulSoup.

License

This project is licensed under the MIT License. See the LICENSE file for details.

Acknowledgements

  • OpenAI for providing the GPT-4 model.
  • ScrapingDog for the web scraping API.
  • BeautifulSoup for parsing HTML and XML documents.
  • httpx for the HTTP client.

Quick Start

1

Clone the repository

git clone https://github.com/karan-ksrk/ksrk-mcp-server-client
2

Install dependencies

cd ksrk-mcp-server-client
npm install
3

Follow the documentation

Check the repository's README.md file for specific installation and usage instructions.

Repository Details

Ownerkaran-ksrk
Repoksrk-mcp-server-client
LanguagePython
License-
Last fetched8/10/2025

Recommended MCP Servers

💬

Discord MCP

Enable AI assistants to seamlessly interact with Discord servers, channels, and messages.

integrationsdiscordchat
🔗

Knit MCP

Connect AI agents to 200+ SaaS applications and automate workflows.

integrationsautomationsaas
🕷️

Apify MCP Server

Deploy and interact with Apify actors for web scraping and data extraction.

apifycrawlerdata
🌐

BrowserStack MCP

BrowserStack MCP Server for automated testing across multiple browsers.

testingqabrowsers

Zapier MCP

A Zapier server that provides automation capabilities for various apps.

zapierautomation