Skip to content

JumpBot crawls any website and uses a query tool that leverages model context protocol (fastmcp) to index and query webpages.

Notifications You must be signed in to change notification settings

rajarshidattapy/jumpbot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

JumpBot MCP

JumpBot crawls any website and uses a query tool that leverages model context protocol (fastmcp) to index and query webpages. It provides a WebSocket interface to interact with the system and supports tools for crawling, indexing, and querying webpages.

Demo:

image

Project Structure

  • agent.py: Main entry point for the FastMCP agent.
  • core/: Core functionalities including crawling, embedding, indexing, and querying.
    • crawler.py: Handles web crawling and content extraction.
    • embedding.py: Generates embeddings for text using Sentence Transformers.
    • rag.py: Implements retrieval-augmented generation (RAG) for indexing and querying.
    • vectordb.py: Manages vector database operations using FAISS.
  • server/: WebSocket server for interacting with the agent.
    • websocket_gateway.py: Bridges WebSocket communication with the MCP agent.
  • client/: Frontend files (if applicable).
  • faiss_db/: Directory for storing FAISS index files.

Requirements

  • Python 3.8+
  • Dependencies listed in req.txt

Installation

  1. Clone the repository:
    git clone https://github.com/rajarshidattapy/jumpbot.git
    cd jumpbot

2. Install dependencies:
```bash
pip install -r req.txt
  1. Set up environment variables:

Create a config.py.

4.Start the WebSocket server:

python server/websocket_gateway.py

interact with the system via WebSocket at ws://localhost:8765. 5. Open the file explorer and find the jumpbot folder. and navigate into client folder and opn index.html manually in any off ur browser

  1. In the browser, you should see the JumpBot interface. 7.paste the url of the documentation page you want to crawl and index.
  2. Click the "Crawl and Index" button to start the process.
  3. Once the process is complete, you can query the indexed content using the "Query" input field. 10.wait for some time things might take some minimal amount of time depending on the size of the documentation page.

About

JumpBot crawls any website and uses a query tool that leverages model context protocol (fastmcp) to index and query webpages.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •