MCP ExplorerExplorer

Decision Mind

@rmrf2020on a year ago
8 MIT
FreeCommunity
AI Systems
A demo projects for Model Context Protocol

Overview

What is Decision Mind

decision-mind is a demonstration project that implements the Model Context Protocol (MCP), focusing on client-server communication with functionalities such as web content fetching and system monitoring.

Use cases

Use cases include listing available resources, reading greeting messages, fetching system information, and processing web content in real-time.

How to use

To use decision-mind, clone the repository, create a virtual environment, install the required dependencies, start the server, and then run the client to interact with the server’s features.

Key features

Key features include web content fetching and parsing, system information monitoring, real-time server-sent events (SSE) communication, MCP protocol implementation, and resource management and tool execution.

Where to use

decision-mind can be used in various fields such as web development, system monitoring, and real-time data processing applications.

Content

decision-mind

A demonstration project implementing the Model Context Protocol (MCP), showcasing client-server communication with various functionalities including web content fetching and system monitoring.

Features

  • Web content fetching and parsing
  • System information monitoring
  • Real-time server-sent events (SSE) communication
  • MCP protocol implementation
  • Resource management and tool execution

Requirements

  • Python 3.10+
  • Dependencies (install via pip):
    • httpx
    • beautifulsoup4
    • uvicorn
    • psutil
    • mcp-sdk

Installation

  1. Clone the repository:
git clone https://github.com/rmrf2020/decision-mind.git
cd decision-mind
  1. Create and activate a virtual environment:
python -m venv .venv
source .venv/bin/activate  # On Windows, use: .venv\Scripts\activate
  1. Install dependencies:
pip install -r requirements.txt

Usage

  1. Start the server:
python server.py

The server will start on http://localhost:8000

  1. In a separate terminal, run the client:
python client.py

The client will connect to the server and demonstrate various functionalities including:

  • Listing available resources
  • Reading greeting message
  • Fetching system information
  • Processing web content

Protocol Implementation

This project implements the Model Context Protocol (MCP), providing a framework for:

  • Server-Sent Events (SSE) based communication
  • Resource management
  • Tool execution
  • Client-server interaction

License

See the LICENSE file for details.

Tools

No tools

Comments

Recommend MCP Servers

View All MCP Servers