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
460
あまり知られていない 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
580
CLI ツールを Go ライブラリ として再実装する理由 / Why reimplement a CLI tool as a Go library
ktr_0731
3
1.4k
激動の一年を通じて見えてきた「技術でリードする」ということ
ktr_0731
8
10k
Monorepo における Go テストの差分実行 / Running Differential Go Tests in a Monorepo
ktr_0731
1
390
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
230
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
Claude Code、ちょっとした工夫で開発体験が変わる
tigertora7571
0
190
受け入れテスト駆動開発(ATDD)×AI駆動開発 AI時代のATDDの取り組み方を考える
kztakasaki
2
490
Amazon Bedrockを活用したRAGの品質管理パイプライン構築
tosuri13
5
900
CSC307 Lecture 12
javiergs
PRO
0
450
Rubyと楽しいをつくる / Creating joy with Ruby
chobishiba
0
200
ふん…おもしれぇ Parser。RubyKaigi 行ってやるぜ
aki_pin0
0
120
要求定義・仕様記述・設計・検証の手引き - 理論から学ぶ明確で統一された成果物定義
orgachem
PRO
1
480
今更考える「単一責任原則」 / Thinking about the Single Responsibility Principle
tooppoo
3
1.2k
Geminiの機能を調べ尽くしてみた
naruyoshimi
0
190
TipKitTips
ktcryomm
0
110
「ブロックテーマでは再現できない」は本当か?
inc2734
0
1.1k
浮動小数の比較について
kishikawakatsumi
0
360
Featured
See All Featured
Save Time (by Creating Custom Rails Generators)
garrettdimon
PRO
32
2.3k
Music & Morning Musume
bryan
47
7.1k
The innovator’s Mindset - Leading Through an Era of Exponential Change - McGill University 2025
jdejongh
PRO
1
110
Sharpening the Axe: The Primacy of Toolmaking
bcantrill
46
2.7k
Design of three-dimensional binary manipulators for pick-and-place task avoiding obstacles (IECON2024)
konakalab
0
370
Stop Working from a Prison Cell
hatefulcrawdad
274
21k
The MySQL Ecosystem @ GitHub 2015
samlambert
251
13k
Building Applications with DynamoDB
mza
96
6.9k
Designing Experiences People Love
moore
144
24k
The untapped power of vector embeddings
frankvandijk
2
1.6k
HDC tutorial
michielstock
1
470
Ethics towards AI in product and experience design
skipperchong
2
210
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 の仕様を知ることでより⾯⽩いアプリケー ションが作れるかも おわりに