Home›MCP / Tooling›AIを安く使うために、MCP/SKILLの棚卸しをした話

AIを安く使うために、MCP/SKILLの棚卸しをした話The author audited their MCP server and skill configurations to reduce AI usage…

元記事を読むRead original articlezenn.dev(新しいタブで開きます)(opens in a new tab)
AI 要約AI summary

AIの利用コストを抑えるため、MCPサーバーやスキルの構成を見直し、不要なツールを整理した実践的な取り組みを紹介している。適切な棚卸しによってトークン消費を減らせることが示されている。

The author audited their MCP server and skill configurations to reduce AI usage costs, pruning unnecessary tools to lower token consumption. The post demonstrates that regularly reviewing tool inventories can meaningfully cut expenses.

AI 生成の要約と解説(解説は要約と収集メタデータに基づく)で、元記事全文の転載・翻訳ではありません。日本語版と英語版は言語ごとに独立して生成しています。正確性は元記事 (zenn.dev) でご確認ください。AI-generated summary and explainer (the latter based on the summaries and collected metadata), not a copy or translation of the full source article. Generated independently for each language. Verify accuracy at the original source (zenn.dev).

課金基準改定の影響

AIエージェントの利用量が急増するなか、著者の現場ではGitHub Copilotの課金基準改定が大きな影響を与えたという。従来は重いタスクや大量の情報を投げても1リクエストの料金が変わらなかったが、改定後はトークン量、つまりAIへの入力と出力の情報量に応じた課金に変わった。

この変更に対応するには、AIに余計な情報を渡さないことが重要だと著者は述べている。送る情報が増えるほど費用がかかるためだ。

約5万トークンの削減

著者は自身が関わるプロジェクトでこの観点に沿った改善を行い、1回のリクエストあたり約5万トークン(日本語の概算で5.3万文字)を削減できたと報告している。タスクによってはクレジットの消費量が半減したとされる。

改善の要となったのは、MCPサーバーとスキル(SKILL)の構成の見直しだ。不要なツールを整理する棚卸しによって、トークン消費を抑えられることが示されている。

AIはステートレス

記事はまず前提として、AIがステートレス、つまり記憶を持たない点を押さえている。人間は経験を蓄積し続けるが、AIは毎回きれいに忘れるという説明だ。

それでも会話が成立したり、特定の人格を演じたり、個人に合わせた返答ができたりするのは、毎回の入力に補足情報が付け加えられているからだと説明されている。記事の例では、「太郎は散歩が好き」「あなたは太郎の友達の涼子20歳です」といった設定や、それまでのやり取りが、発言のたびに添えられている。この補足情報によって、AIはあたかも会話内容や個人情報を覚えているかのように振る舞えるという。

MCPサーバーとの関係

続いて記事は、AIと外部システムを連携させる際にMCPサーバーが使われることがある、という話に進む。補足情報が毎回の入力に加わり、それが課金の対象になるという流れを踏まえると、MCPやスキルの構成が入力量に関わる点が見直しの焦点になるとわかる。

具体的な棚卸しの手順や詳細は、この続きで解説される構成になっている。

Rising AI usage and billing

The author describes a sharp recent rise in AI usage, and says the biggest impact in their workplace came from a change to GitHub Copilot's billing criteria. Previously, a request cost the same no matter how heavy the task or how much information was sent. According to the post, that was apparently not sustainable, and billing moved to a scheme based on token volume, meaning the amount of input sent to the AI and the output it returns.

Because cost now grows with every token sent, the author argues that the key to coping is not sending unnecessary information to the AI.

Roughly 50,000 tokens saved

In a project the author is involved in, they carried out improvements built on that idea. The reported result is a reduction of about 50,000 tokens per request, which the author estimates at about 53,000 Japanese characters. They say the effect is large: for some tasks, credit consumption has been cut in half. The author names MCP and SKILL as the main points of the effort, and the article is meant to explain the details.

The AI is stateless

The post starts from a basic premise: AI is stateless and has no memory. Where a human accumulates experience, the AI forgets everything each time. The author explains that conversation, persona emulation, and personalized replies work because supplementary information is attached to each message.

As an illustration, the author shows a dialogue between Taro and an AI playing Ryoko, a 20-year-old friend. Each message carries added context, such as the fact that Taro likes walking, the earlier exchange, and the instruction about who the AI is. With this attached information, the AI can behave as if it remembered the conversation and personal details. The author points to another Zenn article for reference.

MCP servers as a link to external systems

The author then turns to MCP servers, which are sometimes used when connecting AI with external systems. The material establishes this as the starting point for the audit of MCP and skill configurations, aimed at lowering the amount of information sent with each request and therefore the cost. The key takeaway offered is that reviewing and pruning unneeded tools can reduce token consumption.

ポコとTECHガイドPoko & TECH Guide

ポコと当サイトのTECHガイドが、記事の要約と収集した情報から読みどころを語るAI生成の対話です。Poko and TECH Dashboard's own TECH Guide discuss the article's highlights in an AI-generated conversation based on its summary and collected source details.

  1. ポコPoko1リクエストで約5万トークンも減ったんだって。これって大きいこと?They cut about 50,000 tokens per request. Is that a big deal?
  2. TECHガイドTECH Guide日本語で約5.3万文字ぶんだよ。今は量に応じた課金だから、タスクによってはクレジット消費が半減したと書かれてるね。That's roughly 53,000 Japanese characters. Billing now follows token volume, so for some tasks the credit use reportedly dropped by half.
  3. ポコPokoステートレスって何?記憶がないのに、なんで会話が続くの?What does stateless mean? If the AI has no memory, how does a conversation keep going?
  4. TECHガイドTECH GuideAIは毎回まっさらで、会話の流れや設定を補足情報として一緒に送ってるんだ。だから覚えているように見えるんだよ。The AI starts fresh every time, so the chat history and settings are sent along as extra info. That's why it seems to remember.
  5. ポコPokoじゃあ私なら、使ってないMCPやスキルを見直して、送る情報を減らすかな?So if it were me, I'd check which MCP servers and skills I don't use and send less. Does that fit?
  6. TECHガイドTECH Guideいい方向だと思うよ。この記事でも余計な情報を投げないのが要で、ポイントはMCPとSKILLとされてるね。ただ、数字はこのプロジェクトでの結果だよ。That fits. The post says not sending extra info is key, with MCP and SKILL as the focus. Just remember the numbers come from that one project.
記事情報・収集記録Article details & collection record
出典Source
Zenn MCPコミュニティCommunity
公開日時 (JST)Published (JST)
収集日時 (JST)Collected (JST)
配信形式Format
ブログBlog
原文言語Source language
日本語Japanese
重要度の位置づけImportance in this lane
MediumMedium priority(MCP / Tooling 126件中、同等以上 120件)(120 of 126 MCP / Tooling entries are equal or higher)
出典の平均重要度(掲載直近 30 件・最大 30 件)Source average (last 30 listed, up to 30)
2.0 / 31=情報 · 2=中 · 3=高1=Info · 2=Medium · 3=High
情報の寿命Half-life
中期 (チュートリアル)Medium-term (tutorial)

🔗MCP / Tooling の他の記事More from MCP / Toolingもっと見る →View more →

ページ上部へScroll to top