paws-on-mcp
Сообществоот hemanth
A comprehensive Model Context Protocol (MCP) server implementing the latest specification.
Установка
# Using pipОписание
# Paws-on-MCP: Unified MCP Server Implementation 🐾 A comprehensive Model Context Protocol (MCP) server implementing the latest **MCP 2025-03-26 specification**. Demonstrates MCP capabilities including tools, resources, prompts, roots, and enhanced sampling with model preferences. Features HackerNews and GitHub API integrations with AI-powered analysis through advanced MCP sampling. ## 🎯 Current Status **✅ Production-Ready Core Features (3/5 test suites passing)** - **MCP Tools (9/9)** - All tools working perfectly including enhanced sampling - **MCP Resources (15/15)** - All resources working perfectly - **MCP Prompts (14/14)** - All prompt templates working perfectly - **MCP Protocol Compliance** - Full MCP 2025-03-26 specification support - **Enhanced Sampling** - Model preferences and context-aware sampling working **⚠️ Known Limitations** - **MCP Roots** - Framework concurrency limitations (functionality works, test infrastructure issues) - **Enhanced Sampling Tests** - Server concurrency constraints under load testing *The core MCP functionality is fully operational and production-ready.* ## 📁 Project Structure ``` paws-on-mcp/ ├── src/ # Source code │ ├── mcp_server.py # Main MCP server (MCP 2025-03-26) │ └── mcp_cli_client.py # CLI client for testing ├── tests/ # Comprehensive test suite │ ├── run_tests.py # Complete test runner │ ├── test_mcp_tools.py # Tools functionality tests │ ├── test_mcp_resources.py # Resources tests │ ├── test_mcp_prompts.py # Prompts tests │ ├── test_mcp_roots.py # Roots tests (MCP 2025-03-26) │ └── test_enhanced_sampling.py # Enhanced sampling tests ├── docs/ # Documentation │ ├── architecture.md # Technical architecture │ ├── blog.md # Development insights │ └── CLI_README.md # CLI usage guide ├── requirements.txt # Python dependencies └── README.md # This file ``` <details> <summary><h2>🚀 Quick Start</h2></summary> ### Installation Install the MCP SDK and dependencies: ```bash # Using pip pip install -r requirements.txt ``` ### Running the Server Start the comprehensive MCP server: ```bash cd src python mcp_server.py ``` The server will start on `http://127.0.0.1:8000/mcp/` with the following startup message: ``` 🚀 Starting Unified MCP Server on http://127.0.0.1:8000/mcp/ 📋 Available features: • HackerNews integration (resources & tools) • GitHub repository discovery • Server-side sampling with roots capability • Tech trends analysis prompts 💡 Use Ctrl+C to stop the server ``` ### Comprehensive Testing Run the complete test suite: ```bash # Run all organized tests cd tests python run_tests.py ``` **Expected Test Results:** ``` ============================================================ 📊 COMPREHENSIVE TEST RESULTS SUMMARY ============================================================ MCP Tools (9 tools) ✅ PASSED MCP Resources (15 resources) ✅ PASSED MCP Prompts (14 templates) ✅ PASSED MCP Roots (2025-03-26) ⚠️ Framework limitations Enhanced Sampling (8 scenarios) ⚠️ Concurrency constraints Overall Test Results: 3/5 test suites passed Component Test Coverage: 🔧 Tools: All 9 MCP tools tested 📁 Resources: All 15 resource types tested 📝 Prompts: All 14 prompt templates tested 🌳 Roots: MCP 2025-03-26 compliance tested 🎯 Sampling: Enhanced features with model preferences tested ``` ### CLI Client Testing Test all MCP features with the enhanced CLI client: ```bash cd src python mcp_cli_client.py --help ``` ### Quick Examples ```bash # Basic HackerNews search python mcp_cli_client.py tool search_hackernews --args '{"query": "AI", "limit": 3}' # Enhanced sampling with model preferences python mcp_cli_client.py tool create_sampling_request --args '{ "prompt": "Analyze AI trends", "model_hint": "claude-3-sonnet", "intelligence_priority": 0.9, "cost_priority": 0.2 }' # AI-powered HackerNews trend analysis python mcp_cli_client.py tool analyze_hackernews_trends_with_ai --args '{"topic": "Python", "count": 5}' # Access comprehensive resources python mcp_cli_client.py resource hackernews://top/10 python mcp_cli_client.py resource github://trending/python/daily python mcp_cli_client.py resource sampling://repositories/python/3 ``` </details> <details> <summary><h2>✨ Complete MCP Feature Set</h2></summary> <details> <summary><h3>🔧 Tools (9 Available - All Working ✅)</h3></summary> **Core Data Tools:** 1. **`search_hackernews`** - Search HackerNews stories 2. **`get_github_repo_info`** - Get GitHub repository details 3. **`get_server_roots`** - List available sampling roots 4. **`get_server_prompts`** - List prompt templates **Enhanced Sampling Tools:** 5. **`create_sampling_request`** - Create MCP sampling requests with model preferences - Supports: model hints, intelligence/c
Отзывы (0)
Пока нет отзывов. Будьте первым!
Статистика
Информация
Технологии
Похожие серверы
Sentry MCP
Интеграция с Sentry: просмотр ошибок, issues, performance данных.
Docker MCP
Управление Docker контейнерами: создание, запуск, мониторинг контейнеров и образов.
Kubernetes MCP
Управление Kubernetes кластерами: pods, deployments, services и другие ресурсы.
tfmcp
🌍 Terraform Model Context Protocol (MCP) Tool - An experimental CLI tool that enables AI assistants to manage and operate Terraform environments. Supports reading Terraform configurations, analyzing plans, applying configurations, and managing state with Claude Desktop integration. ⚡️