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
320
あまり知られていない 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.2k
激動の一年を通じて見えてきた「技術でリードする」ということ
ktr_0731
8
9.8k
Monorepo における Go テストの差分実行 / Running Differential Go Tests in a Monorepo
ktr_0731
1
210
Designing libraries in Go way
ktr_0731
7
1.5k
Go Modules and Proxy Walkthrough
ktr_0731
8
27k
ソフトウェアの複雑さに立ち向かう技術 / Tackling software complexity
ktr_0731
0
210
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
旅行プランAIエージェント開発の裏側
ippo012
2
890
アルテニア コンサル/ITエンジニア向け 採用ピッチ資料
altenir
0
100
print("Hello, World")
eddie
2
530
Deep Dive into Kotlin Flow
jmatsu
1
310
@Environment(\.keyPath)那么好我不允许你们不知道! / atEnvironment keyPath is so good and you should know it!
lovee
0
110
私の後悔をAWS DMSで解決した話
hiramax
4
210
Kiroで始めるAI-DLC
kaonash
2
580
テストコードはもう書かない:JetBrains AI Assistantに委ねる非同期処理のテスト自動設計・生成
makun
0
250
アプリの "かわいい" を支えるアニメーションツールRiveについて
uetyo
0
230
Introducing ReActionView: A new ActionView-compatible ERB Engine @ Rails World 2025, Amsterdam
marcoroth
0
670
AI時代のUIはどこへ行く?
yusukebe
18
8.8k
rage against annotate_predecessor
junk0612
0
160
Featured
See All Featured
Dealing with People You Can't Stand - Big Design 2015
cassininazir
367
27k
Facilitating Awesome Meetings
lara
55
6.5k
The Web Performance Landscape in 2024 [PerfNow 2024]
tammyeverts
9
810
[RailsConf 2023 Opening Keynote] The Magic of Rails
eileencodes
30
9.7k
GraphQLの誤解/rethinking-graphql
sonatard
72
11k
Fantastic passwords and where to find them - at NoRuKo
philnash
52
3.4k
Git: the NoSQL Database
bkeepers
PRO
431
66k
Build your cross-platform service in a week with App Engine
jlugia
231
18k
Code Reviewing Like a Champion
maltzj
525
40k
Learning to Love Humans: Emotional Interface Design
aarron
273
40k
How STYLIGHT went responsive
nonsquared
100
5.8k
Speed Design
sergeychernyshev
32
1.1k
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 の仕様を知ることでより⾯⽩いアプリケー ションが作れるかも おわりに