dotsagent.io
言語:日本語
検索・ドキュメント · Perplexity

Perplexity を設定

ローカルで実行し、Perplexity Sonar APIを通じて根拠に基づくウェブ回答、検索、詳細調査を提供します。

提供元
Perplexity 公式
ローカルで実行
npx -y @perplexity-ai/mcp-server
トランスポート
stdio
認証
PERPLEXITY_API_KEY に設定するPerplexity APIキー。
環境変数
PERPLEXITY_API_KEY
アクセス対象
読み取り専用。
ライセンス
MIT
ソース
github.com/perplexityai/modelcontextprotocol
ステータス
稼働中

インストール

このサーバーは、クライアントの子プロセスとしてマシン上で実行されます。コマンドで使うランタイムが必要です。たとえば、npxにはNode.js、uvxにはuv、またはDockerが必要です。Environmentに記載された変数も用意してください。

Claude Code

shell
claude mcp add --scope project --env PERPLEXITY_API_KEY='<PERPLEXITY_API_KEY>' perplexity -- npx -y @perplexity-ai/mcp-server

Cursor

.cursor/mcp.json
{
  "mcpServers": {
    "perplexity": {
      "command": "npx",
      "args": [
        "-y",
        "@perplexity-ai/mcp-server"
      ],
      "env": {
        "PERPLEXITY_API_KEY": "${env:PERPLEXITY_API_KEY}"
      }
    }
  }
}

Codex

~/.codex/config.toml
[mcp_servers.perplexity]
command = "npx"
args = ["-y", "@perplexity-ai/mcp-server"]
env_vars = ["PERPLEXITY_API_KEY"]

他のクライアントの設定 →

検索・ドキュメントの他のサーバー

情報源

  1. github.com/perplexityai/modelcontextprotocol