HP

hemanth/paws-on-mcp

Developer tools

このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。 原文を見る

326 stars 19 forks 品質 45 トレンド 19

最新の仕様を実装した包括的なモデルコンテキストプロトコル(MCP)サーバーです。

概要

最新の .ツール、リソース、プロンプト、ルート、モデル設定による強化サンプリングを含むMCP機能のデモンストレーション。高度なMCPサンプリングによるAI駆動分析を含むHackerNewsおよびGitHub API連携機能を備えています。 - - すべてのツールが完璧に動作し、強化されたサンプリングも含まれます - - すべてのリソースが正常に動作しています - - すべてのプロンプトテンプレートが正常に動作しています - - MCP 2025-03-26仕様の完全なサポート - - モデルの好みとコンテキスト認識サンプリングが動作しています - - フレームワークの並行性制限(機能機能の動作、テストインフラの問題) - - ロードテスト中のサーバー同時性制約 MCPのコア機能は完全に運用可能で、本番環境に対応可能です。 サーバーはhttp://127.0.0.1:8000/mcp/から次のスタートアップメッセージで開始します。 強化されたCLIクライアントですべてのMCP機能をテストしてください: 1. - HackerNewsのストーリー検索 2.- GitHubリポジトリの詳細取得 3.

概要(AI 翻訳)

最新のMCP 2025-03-26仕様を実装した包括的なモデルコンテキストプロトコル(MCP)サーバー。ツール、リソース、プロンプト、ルート、モデル設定による強化サンプリングを含むMCPの機能を実証します。機能:HackerNewsおよびGitHub APIとAI駆動の分析を組み合わせた高度なMCPサンプリング機能。

🎯 現在の状況

** ✅ 本番対応コア機能(テストスイート中3件合格)**

  • MCP Tools(9/9) - すべてのツールが完璧に動作し、サンプリングも強化されています
  • MCPリソース(15/15) - すべてのリソースは完璧に動作しています
  • MCP プロンプト(14/14) - すべてのプロンプトテンプレートが完璧に動作
  • MCPプロトコル準拠 - MCP 2025-03-26仕様の完全なサポート
  • 強化サンプリング - モデルの好みと文脈認識サンプリングの機能

** ⚠️ 既知の制限事項**

  • MCP Roots - フレームワークの並行性制限(機能正常、テストインフラの問題)
  • 強化サンプリングテスト - 負荷テスト中のサーバー同時執行制約

MCPのコア機能は完全に運用可能で本番環境に対応しています。

📁 プロジェクト構成

🚀 クイックスタート

就任

MCP SDKと依存関係をインストールしてください:

サーバーの運営

このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。

README

以下は原文 README の抜粋です。原文を見る。

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

Installation

Install the MCP SDK and dependencies:

# Using pip
pip install -r requirements.txt

Running the Server

Start the comprehensive MCP server:

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:

# Run all organized tests
cd tests
python run_tests.py

Expected Test Results:

============================================================
📊 COMPREHENSIVE TEST RESULTS SUMMARY
============================================================
GitHub で README 全文を見る

インストール

This server does not publish a one-line install command.

Open the repository installation guide MCP 初心者?mcpskill.org のガイドから始めましょう →