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
NixOS + Kubernetesで構築する自宅サーバーのすべて
ichi_h3
0
1.1k
One Enishi After Another
snoozer05
PRO
0
150
Range on Rails ―「多重範囲型」という新たな選択肢が、複雑ロジックを劇的にシンプルにしたワケ
rizap_tech
0
6.7k
Claude CodeによるAI駆動開発の実践 〜そこから見えてきたこれからのプログラミング〜
iriikeita
0
320
なぜGoのジェネリクスはこの形なのか? - Featherweight Goが明かす設計の核心
qualiarts
0
240
釣り地図SNSにおける有料機能の実装
nokonoko1203
0
200
登壇は dynamic! な営みである / speech is dynamic
da1chi
0
360
monorepo の Go テストをはやくした〜い!~最小の依存解決への道のり~ / faster-testing-of-monorepos
convto
2
530
オープンソースソフトウェアへの解像度🔬
utam0k
17
3.1k
When Dependencies Fail: Building Antifragile Applications in a Fragile World
selcukusta
0
110
他言語経験者が Golangci-lint を最初のコーディングメンターにした話 / How Golangci-lint Became My First Coding Mentor: A Story from a Polyglot Programmer
uma31
0
340
EMこそClaude Codeでコード調査しよう
shibayu36
0
350
Featured
See All Featured
KATA
mclloyd
PRO
32
15k
The World Runs on Bad Software
bkeepers
PRO
72
11k
VelocityConf: Rendering Performance Case Studies
addyosmani
332
24k
YesSQL, Process and Tooling at Scale
rocio
173
15k
Put a Button on it: Removing Barriers to Going Fast.
kastner
60
4k
Rails Girls Zürich Keynote
gr2m
95
14k
Fight the Zombie Pattern Library - RWD Summit 2016
marcelosomers
234
17k
Stop Working from a Prison Cell
hatefulcrawdad
271
21k
Build your cross-platform service in a week with App Engine
jlugia
232
18k
The Success of Rails: Ensuring Growth for the Next 100 Years
eileencodes
46
7.7k
Design and Strategy: How to Deal with People Who Don’t "Get" Design
morganepeng
132
19k
Into the Great Unknown - MozCon
thekraken
40
2.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 の仕様を知ることでより⾯⽩いアプリケー ションが作れるかも おわりに