🗒️

MCPの新しい仕様をUitHub経由でNotebookLMに渡す

に公開

はじめに

MCPの新しい仕様が策定されたらしい。

https://x.com/alexalbert__/status/1904908450473324721

MCPにはOpenAIも乗っかるようだし理解しなくてはいけないのだが、申し訳ないことにMCPについて解説できるほど詳しくない。

https://x.com/openaidevs/status/1904957755829481737?s=46&t=sAKhpXj8QBJzXNAvHxOXdw

とりあえず今回の差分をNotebookLMに入れて聞いてみたいというモチベーションで、作業手順をメモする。

MCP仕様の格納場所

続くツイートで、MCPの仕様がこのリポジトリに格納されていることがわかる。

https://github.com/modelcontextprotocol/specification/tree/main

中身はこんなん。

tree docs/specification
docs/specification
├── 2024-11-05
│   ├── _index.md
│   ├── architecture
│   │   └── _index.md
│   ├── basic
│   │   ├── _index.md
│   │   ├── lifecycle.md
│   │   ├── messages.md
│   │   ├── transports.md
│   │   └── utilities
│   │       ├── _index.md
│   │       ├── cancellation.md
│   │       ├── ping.md
│   │       └── progress.md
│   ├── client
│   │   ├── _index.md
│   │   ├── roots.md
│   │   └── sampling.md
│   └── server
│       ├── _index.md
│       ├── prompts.md
│       ├── resource-picker.png
│       ├── resources.md
│       ├── slash-command.png
│       ├── tools.md
│       └── utilities
│           ├── _index.md
│           ├── completion.md
│           ├── logging.md
│           └── pagination.md
├── 2025-03-26
│   ├── _index.md
│   ├── architecture
│   │   └── _index.md
│   ├── basic
│   │   ├── _index.md
│   │   ├── authorization.md
│   │   ├── lifecycle.md
│   │   ├── transports.md
│   │   └── utilities
│   │       ├── _index.md
│   │       ├── cancellation.md
│   │       ├── ping.md
│   │       └── progress.md
│   ├── changelog.md
│   ├── client
│   │   ├── _index.md
│   │   ├── roots.md
│   │   └── sampling.md
│   └── server
│       ├── _index.md
│       ├── prompts.md
│       ├── resource-picker.png
│       ├── resources.md
│       ├── slash-command.png
│       ├── tools.md
│       └── utilities
│           ├── _index.md
│           ├── completion.md
│           ├── logging.md
│           └── pagination.md
├── _index.md
├── contributing.md
└── versioning.md

単に変更履歴が知りたい場合は、docs/specification/2025-03-26/changelog.mdから追うのが良さそう。

https://github.com/modelcontextprotocol/specification/blob/main/docs/specification/2025-03-26/changelog.md

uithub

既存の仕様と今回の変更を、全部NotebookLMに投入してしまいたい。

どこかで見たサービスのuithubをここで初めて使う。

https://uithub.com/

uithubはブラウザから使えるサービスで、GitHubのURLを*g*ithub.comから*u*ithub.comに変えるだけでLLMに食わせるためのテキストになる。

アクセスするとおおよその使い方がわかる。

これに沿って、サイトのdocs/specification配下をそれぞれ一枚にしていく。

筆者が設定済みのものでよければ、こちらがリンク。

このURLをそのままNotebookLMに渡すとNotebookLMでの読み込みに失敗するので、サイトの「COPY」ボタンでコピーしたテキストをそのままNotebookLMに貼る。

初心者向けの柔らかい雰囲気になってよかった。

ふりかえり

ということでGitHubで策定された仕様はuithubでテキスト化し、簡単にNotebookLMに渡せることが分かった。難しいことをせず使えるので、基本動作として手が動くようにしておきたい。

Discussion