Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
あまり知られていない MCP 仕様たち / MCP specifications that a...
Search
ktr
July 30, 2025
Programming
0
380
あまり知られていない MCP 仕様たち / MCP specifications that aren’t widely known
ktr
July 30, 2025
Tweet
Share
More Decks by ktr
See All by ktr
CLI ツールを Go ライブラリ として再実装する理由 / Why reimplement a CLI tool as a Go library
ktr_0731
3
1.3k
激動の一年を通じて見えてきた「技術でリードする」ということ
ktr_0731
8
10k
Monorepo における Go テストの差分実行 / Running Differential Go Tests in a Monorepo
ktr_0731
1
310
Designing libraries in Go way
ktr_0731
7
1.6k
Go Modules and Proxy Walkthrough
ktr_0731
8
27k
ソフトウェアの複雑さに立ち向かう技術 / Tackling software complexity
ktr_0731
0
220
Fuzzy finder as a Go library
ktr_0731
3
6.1k
つよくてニューゲーム / NewGame++
ktr_0731
0
1k
やはり俺の Go アプリケーション設計はまちがっている。 / My Go Application Design Is Wrong, As I Expected
ktr_0731
13
3.7k
Other Decks in Programming
See All in Programming
monorepo の Go テストをはやくした〜い!~最小の依存解決への道のり~ / faster-testing-of-monorepos
convto
2
530
GC25 Recap: The Code You Reviewed is Not the Code You Built / #newt_gophercon_tour
mazrean
0
100
技術的負債の正体を知って向き合う
irof
0
230
What Spring Developers Should Know About Jakarta EE
ivargrimstad
0
420
『毎日の移動』を支えるGoバックエンド内製開発
yutautsugi
2
280
開発組織の戦略的な役割と 設計スキル向上の効果
masuda220
PRO
8
1.2k
AI駆動で0→1をやって見えた光と伸びしろ
passion0102
1
780
The Past, Present, and Future of Enterprise Java
ivargrimstad
0
420
Leading Effective Engineering Teams in the AI Era
addyosmani
7
580
Catch Up: Go Style Guide Update
andpad
0
240
釣り地図SNSにおける有料機能の実装
nokonoko1203
0
200
iOSでSVG画像を扱う
kishikawakatsumi
0
160
Featured
See All Featured
Reflections from 52 weeks, 52 projects
jeffersonlam
353
21k
The Cost Of JavaScript in 2023
addyosmani
55
9.1k
How to Create Impact in a Changing Tech Landscape [PerfNow 2023]
tammyeverts
55
3k
Design and Strategy: How to Deal with People Who Don’t "Get" Design
morganepeng
132
19k
Performance Is Good for Brains [We Love Speed 2024]
tammyeverts
12
1.2k
Helping Users Find Their Own Way: Creating Modern Search Experiences
danielanewman
30
2.9k
Site-Speed That Sticks
csswizardry
13
920
JavaScript: Past, Present, and Future - NDC Porto 2020
reverentgeek
52
5.7k
No one is an island. Learnings from fostering a developers community.
thoeni
21
3.5k
Product Roadmaps are Hard
iamctodd
PRO
55
11k
Evolution of real-time – Irina Nazarova, EuRuKo, 2024
irinanazarova
9
990
XXLCSS - How to scale CSS and keep your sanity
sugarenia
249
1.3M
Transcript
© LayerX Inc. あまり知られていない MCP 仕様たち バクラク事業部 プロダクト開発部 @ktr DAY05
topic AI for fun Speaker
© LayerX Inc. Speaker • ktr / きたろー • 2024
年 4 ⽉⼊社 • バクラク事業部 プロダクト開発部 バクラク申請‧経費精算チーム テックリード ⻘⽊ 太郎 AOKI, Taro
© LayerX Inc. MCP サーバ、使ってますか?
© LayerX Inc. • 6 ⽉にも新バージョンが出たばかり • 利⽤者として MCP サーバを使っているだけでは気づかない仕様もたくさんある
MCP 仕様は⽇々進化
© LayerX Inc. 1. Prompts & Resources 2. Tool annotations
3. Elicitation 紹介する仕様たち
© LayerX Inc. • “MCP 機能” で連想されるもののほとんどは “Tools” • そのほかにも
Prompts と Resources という仕組みがある 1. Prompts & Resources (プロトコルバージョン 2024-11-05)
© LayerX Inc. • LLM プロンプトの再利⽤化のしくみ • 例: langfuse/mcp-server-langfuse ◦
Langfuse 内にあるプロンプトを MCP サーバから参照 • 正直、あまり実⽤的な実装を⾒たことがない 😇 Prompts
© LayerX Inc. • リソースの統⼀的な管理のしくみ • 例: gdrive (Google Drive
MCP 参照実装) ◦ ドライブ内のファイル‧フォルダを “gdrive:///” で始まる URI で⼀覧‧参照 Resources
© LayerX Inc. • ツールの性質をクライアントに伝えるしくみ ◦ title: 名称 ◦ readonlyHint:
副作⽤があるかどうか ◦ destructiveHint: 破壊的な変更を⽣むかどうか ◦ idempotentHint: 冪等性があるかどうか ◦ openWorldHint: 外部システムとの連携があるかどうか • 保証されているわけではない!あくまでもヒント 2. Tool Annotations (プロトコルバージョン 2025-03-26)
© LayerX Inc. • Tools などと組み合わせ、ユーザに追加の質問を投げかけるしくみ ◦ ユーザは質問に対して承認‧拒否‧キャンセルを選択する • 例:
LLM によりファイル削除ツールの呼び出しが⾏われたとき、Elicitation を使ってユーザ に最終確認を求める 3. Elicitation (プロトコルバージョン 2025-06-18)
© LayerX Inc. • 他にも最近アップデートされた MCP 仕様はたくさん ◦ Streamable HTTP、認可まわりもホットトピック
◦ MCP はまだまだ発展途上のプロトコル • MCP サーバを利⽤するだけではなく、MCP の仕様を知ることでより⾯⽩いアプリケー ションが作れるかも おわりに