プロジェクトとツールの範囲を決める
サーバーが公開する機能を決定します。
「プロジェクトとツールの範囲を決める」はCoddyKit上の無料MCP Academyレッスンです。 これはレッスン1/4です。 下記で完全なレッスンを無料で読むことができます。その後、ブラウザ内の組み込みコードエディタと24時間対応のAIチューターでハンズオン演習できます。 これはMCP Academy学習パスの一部であり、ウェブとCoddyKitアプリ全体で進捗が同期されます。 MCP Academyコースには全4レッスンが含まれています。
このレッスンの一部はまだ翻訳されておらず、英語で表示されています。
Time to Ship Something Real
You have learned the pieces; now you build a complete server. This capstone wraps one real service into a tidy, installable MCP server. 🚀
Start with the User Goal
Before any code, name the job your server helps with. A clear goal like search my notes keeps every later decision focused and small.
Pick One Real Service
Choose a single concrete backend: a notes folder, a SQLite database, or one public API. One source keeps the capstone shippable, not sprawling.
List the Capabilities
Write down what the AI should be able to do, like search, read, and add. This short capability list becomes your map of tools and resources.
Sort Actions from Reads
Split your list: things that change state are tools, things that only fetch context are resources. This sorting decides each primitive up front.
Sketch the Tool Signatures
For each tool, jot a name, its arguments, and what it returns. A quick signature sketch catches missing inputs long before you write logic.
# add_note(title: str, body: str) -> str
# search_notes(query: str) -> list[str]
# A two-line sketch is enough to start.Plan One Resource
Pick one piece of read-only context to expose as a resource, such as a single note by its id. Resources feed the model without taking action.
Plan One Prompt
Add one reusable prompt the user can trigger, like summarize this note. Prompts package your best instructions so callers do not retype them.
Define Done Early
Decide what finished looks like now: the server loads, lists three tools, and answers one real query. A clear scope stops endless feature creep.
Name the Server
Give your project a short, descriptive name like notes-mcp. Clients show this name to users, so make it instantly tell people what it does.
from mcp.server.fastmcp import FastMCP
mcp = FastMCP("notes-mcp")Write a Tiny Spec
Capture the plan in one short spec file: goal, backend, tools, resource, and prompt. This page becomes your checklist as you build the rest.
Quick Check
Let us confirm how you sort capabilities.
Recap
You scoped a real project: one goal, one backend, and a tight list of tools, a resource, and a prompt. A clear plan makes the build easy. 🎯
よくある質問
「プロジェクトとツールの範囲を決める」レッスンは無料ですか?
はい。「プロジェクトとツールの範囲を決める」の完全なテキストはこのウェブで無料で読めます。インタラクティブに演習し(組み込みコードエディタと24時間対応のAIチューター)、MCP Academyコースの残りをアンロックするには、CoddyKit PROにアップグレードしてください。 MCP Academyコースには全4レッスンが含まれています。
「プロジェクトとツールの範囲を決める」で何を学びますか?
サーバーが公開する機能を決定します。 ブラウザで直接実行するハンズオンコードでMCP Academyを演習し、24時間対応のAIチューターがレッスンを進める中での質問に答えます。
MCP Academyを始めるのに経験は必要ですか?
事前経験は必要ありません。CoddyKitのMCP Academyは初級者から上級者向けに構成されているため、ここから始めるか最初から始めて、自分のペースで進むことができます。 これはレッスン1/4です。
「プロジェクトとツールの範囲を決める」レッスンにはどのくらい時間がかかりますか?
ほとんどのCoddyKitレッスンは約5~10分かかります。各レッスンはコンパクトでインタラクティブなので、着実に進歩し、ウェブとアプリ全体で正確に前回の場所から再開できます。
このMCP Academyレッスンでコードを書いて実行できますか?
はい。すべてのMCP Academyレッスンに組み込みコードエディタが含まれているため、ブラウザでリアルコードを書いて実行し、即座のAIフィードバックを取得できます。ローカル設定は不要です。
このコースのすべてのレッスン
- プロジェクトとツールの範囲を決める
- ツール、リソース、プロンプトを実装する
- テスト、調査、強化
- サーバーをドキュメント化して公開する