PaPut MCP Claude Desktop OAuth 検証メモ
MCP
OAuth
知識
運用
PaPut MCP の remote Streamable HTTP + OAuth を Claude Desktop で検証した。
結果:
- MCP endpoint は
https://mcp.paput.io。/mcpは使わない。 mcp-remote@latest経由で Claude Desktop から接続できた。- PaPut OAuth discovery、login / consent、token exchange、bearer token 付き MCP tool 実行まで成功。
- Claude Desktop 上で PaPut のメモ取得も成功。
一時的な Claude Desktop 設定:
json
{
"mcpServers": {
"paput": {
"command": "npx",
"args": [
"-y",
"mcp-remote@latest",
"https://mcp.paput.io",
"3334",
"--transport",
"http-only",
"--static-oauth-client-info",
"{\"client_id\":\"paput-mcp\"}",
"--static-oauth-client-metadata",
"{\"scope\":\"paput.read paput.write\"}"
]
}
}
}追加した callback URI:
http://localhost:3334/oauth/callback
判断:
- この static client 設定は検証用としては有効だが、設定が複雑で一般利用や Directory 提出向きではない。
- ChatGPT Developer Mode は同種の OAuth discovery / callback flow と仮定し、一旦 skip。
- 次は paput-api 側に OAuth Dynamic Client Registration を実装し、
mcp-remoteの通常設定だけで接続できる状態を目指す。