MCPとFunction Callingの比較
MCPがモデルの生のツール呼び出しとどのように異なるかを学びます。
「MCPとFunction Callingの比較」はCoddyKit上の無料MCP Academyレッスンです。 これはレッスン1/4です。 下記で完全なレッスンを無料で読むことができます。その後、ブラウザ内の組み込みコードエディタと24時間対応のAIチューターでハンズオン演習できます。 これはMCP Academy学習パスの一部であり、ウェブとCoddyKitアプリ全体で進捗が同期されます。 MCP Academyコースには全4レッスンが含まれています。
このレッスンの一部はまだ翻訳されておらず、英語で表示されています。
Two Ways to Give Models Tools
You already know models can call tools. So where does MCP fit? It is a standard way to ship those tools, not a replacement for the idea.
What Function Calling Is
With function calling, you define each tool inline in your own API request to the model, and your code runs whatever the model picks.
tools = [{
"name": "get_weather",
"input_schema": {"type": "object"}
}]Tools Live in Your App
In plain function calling, the tool list and the code that runs them both live inside your one app. Nothing is shared with anyone else.
MCP Moves Tools Out
MCP takes those tools and puts them behind a separate server. Any MCP-aware app can connect and use them without copying your code.
Reusable Across Apps
The big win is reuse: write a tool once as an MCP server, and Claude Desktop, an IDE, or your own agent can all share it.
Function Calling Is Per-Request
Function calling ships the tool schemas in every request. It is simple and direct, but each app must carry its own copy of every tool.
MCP Is Discoverable
An MCP client asks the server what it offers at connect time. Tools are discovered live, not hardcoded into each request.
tools = await session.list_tools()They Work Together
These are not rivals. Under the hood an MCP host often turns server tools into ordinary function-calling tools for the model to pick.
When Function Calling Wins
For a single app with a few private tools, plain function calling is lighter. No extra server, no transport, just your code.
When MCP Wins
Reach for MCP when the same capability must serve many clients, or when users plug your tools into apps you do not control.
The Mental Model
Think of function calling as a tool you carry in your pocket, and MCP as that tool published in a shop where anyone can pick it up.
Quick Check
Pick the clearest difference between MCP and plain function calling.
Recap
Function calling defines tools inline in one app; MCP publishes them as a reusable server. Same core idea, wider reach. Nice work! 🎉
よくある質問
「MCPとFunction Callingの比較」レッスンは無料ですか?
はい。「MCPとFunction Callingの比較」の完全なテキストはこのウェブで無料で読めます。インタラクティブに演習し(組み込みコードエディタと24時間対応のAIチューター)、MCP Academyコースの残りをアンロックするには、CoddyKit PROにアップグレードしてください。 MCP Academyコースには全4レッスンが含まれています。
「MCPとFunction Callingの比較」で何を学びますか?
MCPがモデルの生のツール呼び出しとどのように異なるかを学びます。 ブラウザで直接実行するハンズオンコードでMCP Academyを演習し、24時間対応のAIチューターがレッスンを進める中での質問に答えます。
MCP Academyを始めるのに経験は必要ですか?
事前経験は必要ありません。CoddyKitのMCP Academyは初級者から上級者向けに構成されているため、ここから始めるか最初から始めて、自分のペースで進むことができます。 これはレッスン1/4です。
「MCPとFunction Callingの比較」レッスンにはどのくらい時間がかかりますか?
ほとんどのCoddyKitレッスンは約5~10分かかります。各レッスンはコンパクトでインタラクティブなので、着実に進歩し、ウェブとアプリ全体で正確に前回の場所から再開できます。
このMCP Academyレッスンでコードを書いて実行できますか?
はい。すべてのMCP Academyレッスンに組み込みコードエディタが含まれているため、ブラウザでリアルコードを書いて実行し、即座のAIフィードバックを取得できます。ローカル設定は不要です。
このコースのすべてのレッスン
- MCPとFunction Callingの比較
- エージェントフレームワーク内のMCP
- A2Aによるエージェント間通信
- MCPのこれから