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
490
あまり知られていない MCP 仕様たち / MCP specifications that aren’t widely known
ktr
July 30, 2025
Tweet
Share
More Decks by ktr
See All by ktr
詳解 MCP Go SDK / MCP Go SDK
ktr_0731
3
590
CLI ツールを Go ライブラリ として再実装する理由 / Why reimplement a CLI tool as a Go library
ktr_0731
3
1.5k
激動の一年を通じて見えてきた「技術でリードする」ということ
ktr_0731
8
10k
Monorepo における Go テストの差分実行 / Running Differential Go Tests in a Monorepo
ktr_0731
1
400
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
240
Fuzzy finder as a Go library
ktr_0731
3
6.2k
つよくてニューゲーム / NewGame++
ktr_0731
0
1.1k
Other Decks in Programming
See All in Programming
Windows on Ryzen and I
seosoft
0
320
Swift ConcurrencyでよりSwiftyに
yuukiw00w
0
270
Redox OS でのネームスペース管理と chroot の実現
isanethen
0
250
AIに任せる範囲を安全に広げるためにやっていること
fukucheee
0
140
Fundamentals of Software Engineering In the Age of AI
therealdanvega
2
260
へんな働き方
yusukebe
5
2.6k
Cyrius ーLinux非依存にコンテナをネイティブ実行する専用OSー
n4mlz
0
220
GC言語のWasm化とComponent Modelサポートの実践と課題 - Scalaの場合
tanishiking
0
120
「接続」—パフォーマンスチューニングの最後の一手 〜点と点を結ぶ、その一瞬のために〜
kentaroutakeda
3
900
Angular-Apps smarter machen mit Gen AI: Lokal und offlinefähig - Hands-on Workshop!
christianliebel
PRO
0
120
メタプログラミングで実現する「コードを仕様にする」仕組み/nikkei-tech-talk43
nikkei_engineer_recruiting
0
200
new(1.26) ← これすき / kamakura.go #8
utgwkk
0
2.5k
Featured
See All Featured
Organizational Design Perspectives: An Ontology of Organizational Design Elements
kimpetersen
PRO
1
640
Joys of Absence: A Defence of Solitary Play
codingconduct
1
310
Let's Do A Bunch of Simple Stuff to Make Websites Faster
chriscoyier
508
140k
Rebuilding a faster, lazier Slack
samanthasiow
85
9.4k
Making the Leap to Tech Lead
cromwellryan
135
9.8k
Beyond borders and beyond the search box: How to win the global "messy middle" with AI-driven SEO
davidcarrasco
3
78
Java REST API Framework Comparison - PWX 2021
mraible
34
9.2k
Heart Work Chapter 1 - Part 1
lfama
PRO
5
35k
Tell your own story through comics
letsgokoyo
1
850
Building Applications with DynamoDB
mza
96
7k
Evolution of real-time – Irina Nazarova, EuRuKo, 2024
irinanazarova
9
1.2k
Typedesign – Prime Four
hannesfritz
42
3k
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 の仕様を知ることでより⾯⽩いアプリケー ションが作れるかも おわりに