PG

piyushhh-glitch/mcp

Developer tools

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

0 stars 0 forks 品質 35 トレンド 14

アーキテクチャ、クライアント、サーバー、ツール、リソース、プロンプト、およびAIエージェントとの統合を含むモデルコンテキストプロトコル(MCP)を探索するハンズオンリポジトリ.

概要

Python と FastMCP の使用を調べ、実装するハンズオンリポジトリ。 - MCPアーキテクチャ:ホスト、クライアント、サーバー - MCP ツール、リソース、プロンプト - JSON-RPC 2.0 - STDIOとストリーミング可能なHTTP - Asyncプログラミング - 進捗報告と長時間実行タスク - JWT 認証 - Gmail SMTP を使用して電子メールを送信します。 - MCP ツールを使用してメール機能を統合します。 - FastAPIを使用したJWTトークン生成 - トークンベースの認証。 - 保護されたMCPサーバーの実装。 - Notion ワークスペースの検索ページ。 - 新しいNotionページを作成します。 - Notion API との統合 - Python - FastMCP - FastAPI - HTTPX - Notion API - Gmail SMTP - MCPの概念、統合、認証メカニズム、AIエージェントの接続のUvicornとs-onの学習と実装.

概要(AI 翻訳)

Python と FastMCP を使用して、Model Context Protocol (MCP) を探索して実装するハンズオンリポジトリ。

トピック カバー

  • MCPアーキテクチャ:ホスト、クライアント、サーバー
  • MCPツール、リソース、プロンプト
  • JSON-RPC 2.0の特長
  • STDIOとストリーミング可能なHTTP
  • Asyncプログラミング
  • 進捗報告と長時間実行タスク
  • JWT認証

プロジェクトと実装

##1。 メールMCPサーバー

  • Gmail SMTP を使用して電子メールを送信します。
  • MCP ツールを使用してメール機能を統合します。

##2. MCPのJWT認証

  • FastAPIを使用したJWTトークン生成。
  • トークンベースの認証。
  • 保護されたMCPサーバーの実装。

##3. ノーションMCPサーバー

  • Notion ワークスペースの検索ページ。
  • 新しいNotionページを作成します。
  • Notion API との統合

テックスタック

  • Pythonの
  • 高速MCP
  • ファストAPI
  • HTTPXの
  • ノーション API
  • Gmail SMTPの
  • ウビコーン MCP コンセプト、インテグレーション、認証メカニズム、AI エージェントのコネクティビティの学習と実装.

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

README

Model Context Protocol (MCP)

A hands-on repository exploring and implementing the Model Context Protocol (MCP) using Python and FastMCP.

Topics Covered

  • MCP Architecture: Host, Client and Server
  • MCP Tools, Resources and Prompts
  • JSON-RPC 2.0
  • STDIO and Streamable HTTP
  • Async Programming
  • Progress Reporting and Long-Running Tasks
  • JWT Authentication

Projects & Implementations

1. Email MCP Server

  • Send emails using Gmail SMTP.
  • Integrate email functionality through MCP tools.

2. JWT Authentication for MCP

  • JWT token generation using FastAPI.
  • Token-based authentication.
  • Protected MCP server implementation.

3. Notion MCP Server

  • Search pages in a Notion workspace.
  • Create new Notion pages.
  • Integration with the Notion API.

Tech Stack

  • Python
  • FastMCP
  • FastAPI
  • HTTPX
  • Notion API
  • Gmail SMTP
  • Uvicorn ands-on learning and implementation of MCP concepts, integrations, authentication mechanisms and AI agent connectivity.
GitHub で README 全文を見る

インストール

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

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