claude
アプリからmcpサーバーの接続
npxのエラー"command": "npx",としていたらエラーでた
code:sh
2025-03-22T20:09:21.243Z filesystem info Initializing server...
2025-03-22T20:09:21.253Z filesystem error spawn npx ENOENT
フルパスが必要。ホームディレクトリを~/との表記もできない
code:claude_desktop_config.json
{
"mcpServers": {
"filesystem": {
"command": "/Users/{user}/.anyenv/envs/nodenv/shims/npx",
"args": [
"-y",
"@modelcontextprotocol/server-filesystem",
"/Users/{user}/Desktop",
"/Users/{user}/Downloads"
]
}
}
}
いい感じ
https://gyazo.com/a0a218753380c26f407f66e593827d29
https://qiita.com/n0bisuke/items/c50bad8c19a7746f1bb3
有効になっているmcpの確認もできる
https://gyazo.com/dff90e71b149dd6013a43302d923dee6
claud desktop for ubuntu
にて公開されている非公式なので注意
https://github.com/aaddrick/claude-desktop-debian
readmeの通りinstallして起動
code:test
https://github.com/aaddrick/claude-desktop-debian
# Clone this repository
git clone https://github.com/aaddrick/claude-desktop-debian.git
cd claude-desktop-debian
# Example: Build an AppImage and keep intermediate files
./build.sh --build appimage --clean no