MPC ドキュメント サーバー
これは、Langchain、Llama Index、OpenAIの公式ドキュメントから情報を取得するためのシンプルなMCP(Model Context Protocol)サーバーです。MCP対応アプリケーションが関連するドキュメントスニペットを検索・取得するためのツールを提供します。
特徴
- ドキュメントの取得: Langchain、Llama Index、OpenAI の公式ドキュメントからコンテンツを取得します。
- MCP 互換性: MCP サーバーを実装し、他の MCP 互換アプリケーションと簡単に統合できます。
- **シンプルなツール:**クエリとライブラリ名を受け入れ、関連するドキュメント スニペットを返す
get_docs
ツールを公開します。
仕組み
はじめる
uv パッケージマネージャーのインストール
MacOS/Linuxの場合:
uv
コマンドが確実に実行されるように、後でターミナルを再起動してください。
プロジェクトのセットアップ
プロジェクトを作成して初期化します。
環境変数
ルート ディレクトリに.env
ファイルを作成し、以下を追加します。
ウェブ検索機能を使用するには、SERPER APIキーが必要です。Serper.devから取得できます。Serper APIは、関連ドキュメントをウェブで検索するために使用しています。
サーバーの実行
MCP サーバーを起動します。
サーバーが起動し、接続を受け入れる準備が整います。
This server cannot be installed
remote-capable server
The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.
Langchain、Llama Index、OpenAI の公式ドキュメントから関連するドキュメント スニペットを検索および取得できるシンプルなモデル コンテキスト プロトコル サーバー。
Related MCP Servers
- AsecurityAlicenseAqualityA flexible Model Context Protocol server that makes documentation or codebases searchable by AI assistants, allowing users to chat with code or docs by simply pointing to a git repository or folder.Last updated -13649JavaScriptMIT License
- -securityFlicense-qualityA Model Context Protocol server for ingesting, chunking and semantically searching documentation files, with support for markdown, Python, OpenAPI, HTML files and URLs.Last updated -Python
- -securityAlicense-qualityA Model Context Protocol server that provides AI assistants and language models with access to Laravel 12 documentation, allowing them to list, read, and search through documentation files.Last updated -13PythonMIT License
- -securityAlicense-qualityA server that provides organized documentation content for various applications using the Model Context Protocol, enabling AI assistants to access quickstart guides and code examples.Last updated -PythonMIT License