
barriletechapin/fcc-mcp-course
Developer toolsこのページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。 原文を見る
barriletechapin/fcc-mcp-courseは[https://github.com/barriletechapin/fcc-mcp-course.からインポートされたMCPサーバー候補です
概要
barriletechapin/fcc-mcp-courseは[https://github.com/barriletechapin/fcc-mcp-course.からインポートされたMCPサーバー候補です
概要(AI 翻訳)
このリポジトリには、モデルコンテキストプロトコル(MCP)上のFreeCodeCampコースのコードと例が含まれています。 リポジトリは、コース参照コードと練習資料の両方を提供するように構成されます。
リポジトリ構造
リポジトリは2つのメインセクションに編成されます。
##1. メインコード/ このディレクトリには、コースチュートリアルで使われる元のコードが含まれています。 それは下記のものを含んでいます:
- [
Scenario2/]: MCP との FastAPI 連携 - [
Scenario3/: FreeCodeCamp RSSフィードリーダー
##2. 練習/ このディレクトリには、同じコードのチュートリアルに焦点を当てたバージョンが含まれています。
- 詳細なステップバイステップコメント
- 包括的なドキュメント
- コンセプトの明確な説明
- 使用例と手順 自分の学習や実験に最適!
MCP を始めよう
Visual Studio コードでMCPを使用するには、適切に設定する必要があります。
-
プロジェクトルートの[
.vscodeフォルダを作成します。 -
このテンプレートで[
.vscodeフォルダ内の[mcp.json]ファイルを作成します。
はじめる
- このリポジトリをクローンする
- Python仮想環境の設定
このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。
README
FreeCodeCamp Model Context Protocol (MCP) Tutorial
This repository contains the code and examples for the FreeCodeCamp course on Model Context Protocol (MCP). The repository is structured to provide both the course reference code and practice materials.
Repository Structure
The repository is organized into two main sections:
1. MainCode/
This directory contains the original code used during the course tutorial. It includes:
Scenario1/: Basic MCP calculator implementationScenario2/: FastAPI integration with MCPScenario3/: FreeCodeCamp RSS feed readerdeployment/: Deployment configuration examples
2. Practice/
This directory contains tutorial-focused versions of the same code, with:
- Detailed step-by-step comments
- Comprehensive documentation
- Clear explanations of concepts
- Usage examples and instructions Perfect for learning and experimenting on your own!
Getting Started with MCP
To use MCP in Visual Studio Code, you need to configure it properly:
- Create a
.vscodefolder in your project root:
mkdir .vscode
- Create an
mcp.jsonfile inside the.vscodefolder with this template:
{
"servers": {
"Calculator-STDIO": {
"command": "python",
"args": [
"Scenario1/fastmcp_calculator.py"
]
},
"Calculator-HTTP": {
"command": "npx",
"args": [
"mcp-remote",
"http://localhost:8002/mcp"
]
}
}
}
Getting Started
- Clone this repository
- Set up your Python virtual environment
- Install the required packages:
pip install -r requirements.txt - Start with the Practice/ directory to learn the concepts
- Reference MainCode/ to see the production-ready implementations
インストール
npx mcp-remote http://localhost:8002/mcp