
escapewu/perplexity-ai
Developer toolsこのページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。 原文を見る
Proアカウントプールを活用し、無制限のクォータを問い合わせやディープサーチ機能を提供するサードパーティ製Perplexity MCP/REST API実装です。
概要
MCP(モデルコンテキストプロトコル)およびOpenAI互換エンドポイントを通じて検索機能を公開する非公式 Perplexity.ai サーバーです。負荷分散、健康状態監視、さまざまな検索モードのためのマルチトークンプールをサポートします。 デプロイメントのアドバイスや実行前にこのセクションを必ずお読みください。ドキュメント、説明、レビューのリクエストはライブデプロイを承認します。ユーザーが明示的にデプロイ、更新、再構築、再起動、またはロールアウトを要請した場合のみサーバーを変更してください。 docker-compose.yml、.env.example、deploy/compose.sh をデプロイの真実のソースとして扱いましょう。本番のエントリポイントはチェックアウト済みソースから構築されます。Docker Hubの最新イメージを待ったり、置き換えたりしないでください。 - ComposeプラグインでDockerを必須。- 宛先ファイルがまだ存在しない場合のみ、.envを作成しtoken_pool_config.json例から。強力なMCP_TOKENを生成する(例:openssl rand -hex 32)。- .envを保持し、token_pool_config。
概要(AI 翻訳)
パープレクシティMCPサーバー
MCP(モデルコンテキストプロトコル)およびOpenAI互換エンドポイントを通じて検索機能を公開する非公式 Perplexity.ai サーバーです。負荷分散、健康状態監視、さまざまな検索モードのためのマルチトークンプールをサポートします。
エージェントリード — 展開
展開についてアドバイスまたは実行する前に、このセクションを必ずお読みください。書類提出の要請、 説明やレビューは、ライブデプロイを承認するものではありません。サーバーを変更するのは、 ユーザーは明示的にサービスのデプロイ、更新、再構築、再起動、またはロールアウトを要求します。
リクエストをルーティング
| ユーザー意図 | エージェントアクション |
|---|---|
| ローカルインストールの説明または準備 | 以下のクイックスタートをご利用ください;リモートシステムの変更は禁止。 |
| 設定済みの本番サーバーをデプロイしてください | .agents/skills/server-deploy/SKILL.mdに正確に従ってください。 |
| デプロイメントの検証または診断 | まずはconfig、verify、status、logsから始めます。状態を変更する前に証拠を検査してください。 |
docker-compose.yml、.env.example、
deploy/compose.shが展開の真実の情報源として。本来の項目
チェックアウトされたソースからポイントをビルドします。Docker Hub latestイメージを待ったり置き換えたりしないでください。
このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。
README
以下は原文 README の抜粋です。原文を見る。
Thanks for LINUX DO
Perplexity MCP Server
An unofficial Perplexity.ai server that exposes search capabilities through MCP (Model Context Protocol) and OpenAI-compatible endpoints. Supports multi-token pools for load balancing, health monitoring, and various search modes.
AGENT READ — Deployment
Read this section before advising on or executing deployment. A request for documentation, explanation, or review does not authorize a live deployment. Only change a server when the user explicitly asks to deploy, update, rebuild, restart, or roll out the service.
Route the request
| User intent | Agent action |
|---|---|
| Explain or prepare a local installation | Use the Quick Start below; do not change remote systems. |
| Deploy the configured production server | Follow .agents/skills/server-deploy/SKILL.md exactly. |
| Validate or diagnose a deployment | Start with config, verify, status, and logs; inspect evidence before changing state. |
Treat docker-compose.yml, .env.example, and
deploy/compose.sh as the deployment sources of truth. The production entry
point builds from the checked-out source; do not wait for or substitute a Docker Hub latest image.
First-install prerequisites
- Require Docker with the Compose plugin.
- Create
.envandtoken_pool_config.jsonfrom their examples only when the destination files do not already exist. Generate a strongMCP_TOKEN(for example withopenssl rand -hex 32). - Keep
.env,token_pool_config.json,data/, CSRF/session tokens, and admin tokens out of Git and command output. Never overwrite the server copies during an update. - Preserve the mounted
data/directory so the model cache and WebUI/OAI/MCP session database survive container replacement. - On an Internet-facing host, bind to a loopback address and place the service behind TLS/reverse
proxying; see
.env.examplefor the port form.
Run the guarded deployment entrypoint from the repository checkout:
./deploy/compose.sh config
./deploy/compose.sh up
./deploy/compose.sh verify
./deploy/compose.sh status
up validates .env and the non-empty token pool, builds the application image from the current
checkout, replaces the service, waits for container health, calls /health, and prints status.
Production release contract
- Review the intended local diff on
main, commit only requested files, and push that exact commit. - Confirm local
HEADequalsorigin/mainbefore touching the server. - Require a clean remote tracked worktree; use only a fast-forward pull and verify the remote SHA equals the recorded local commit.
- Run
./deploy/compose.sh up, followed byverifyandstatus.
インストール
This server does not publish a one-line install command.
Open the repository installation guide MCP 初心者?mcpskill.org のガイドから始めましょう →設定
{
"mcpServers": {
"perplexity": {
"type": "http",
"url": "http://127.0.0.1:8000/mcp",
"headers": {
"Authorization": "Bearer sk-123456"
}
}
}
}