CodeAlive MCP
OfficialCodeAlive MCP: プロジェクトの詳細なコンテキスト(特に大規模なコードベース向け)
CodeAlive API用のこの MCP (モデル コンテキスト プロトコル) サーバーにより、Claude Desktop、Cursor、Windserf、VS Code (GitHub Copilot)、Cline、Roo-Code、Refact などの AI クライアントが CodeAlive の高度なセマンティック コード検索およびコードベース相互作用機能にアクセスできるようになります。
CodeAlive MCP は、プロジェクトのコードベースから豊富なコンテキストを提供することでこれらのエージェントを強化し、よりインテリジェントで効率的なインタラクションを可能にします。
CodeAlive とは何ですか?
CodeAliveは、ドキュメントや依存関係を含むコードベース全体を分析して、その構造、パターン、ロジックを理解するプラットフォームです。リポジトリやワークスペースの詳細な内部マップを作成し、ITプロフェッショナルがソリューションに関する質問に迅速かつ確実に、そして高品質な回答を提供できるようにします。
このMCPサーバーを使用することで、AIエージェント(Claude、Copilotなど)はCodeAliveの高度なコード理解を活用できるようになります。これにより、エージェントは以下のことが可能になります。
**関連するコードをより速く見つける:**質問に関連する正確なコード スニペットを取得します。
**全体像を把握する:**個別のファイルだけでなく、リポジトリまたはワークスペース全体のコンテキストを把握します。
**コストと時間を削減:**正確なコンテキストを直接提供することでエージェントの効率を向上し、広範なファイル検索や推測の必要性を減らします。
Related MCP server: code-index-mcp
目次
利用可能なツール
MCP サーバーは次のツールを提供します。
chat_completions: コードベースコンテキストを使用してCodeAlive Chat APIにアクセスします。APIキーが1つのデータソースに割り当てられている場合、データソースの指定は任意です。get_data_sources: CodeAlive によってインデックス付けされた利用可能なリポジトリとワークスペースを一覧表示します。search_code: CodeAlive のセマンティック検索を使用して、データソース全体のコードスニペットを検索します。API キーが 1 つのデータソースに割り当てられている場合は、データソースの指定は任意です。
はじめる
前提条件
Python 3.11
uv (推奨)またはpip
CodeAliveアカウントとAPIキー
APIキーの取得
https://app.codealive.dev/で CodeAlive アカウントにログインします。
API キーセクション (組織の下) に移動します。
「 + API キーの作成」をクリックします。
キーにわかりやすい名前 (例: 「My Local MCP Key」) を付け、適切なスコープ (例: 「すべてのデータ ソース」または特定のデータ ソースを選択) を選択します。
「作成」をクリックします。
**重要:**生成されたAPIキーはすぐにコピーして安全に保管してください。ダイアログを閉じると、再び表示されなくなります。
インストール
uv でインストールする(推奨)
# Clone the repository
git clone https://github.com/CodeAlive-AI/codealive-mcp.git
cd codealive-mcp
# Create a virtual environment and install dependencies
uv venv
source .venv/bin/activate # On Windows use: .venv\\Scripts\\activate
uv pip install -e .pipでインストールする
# Clone the repository
git clone https://github.com/CodeAlive-AI/codealive-mcp.git
cd codealive-mcp
# Create a virtual environment and install dependencies
python -m venv .venv
source .venv/bin/activate # On Windows use: .venv\\Scripts\\activate
pip install -e .構成
環境変数またはコマンドライン引数を使用してサーバーを構成します。
環境変数
次の環境変数がサポートされています。
CODEALIVE_API_KEY: CodeAlive API キー。(--api-keyで渡されない限り必須)
コマンドラインオプション
--api-key:CODEALIVE_API_KEYAPI キー。CODEALIVE_API_KEY 環境変数を上書きします。--transport: トランスポート タイプ:"stdio"(デフォルト) または"sse"。--host: SSE トランスポートのホスト アドレス (デフォルト:0.0.0.0)。--port: SSE トランスポートのポート (デフォルト:8000)。--debug: 標準出力/エラーに詳細なログを記録するデバッグ モードを有効にします。
AIクライアントとの統合
以下は一般的なAIクライアントの設定例です。/path/to/your/codealive-mcp やYOUR_API_KEY_HEREなどのプレースホルダーは/path/to/your/codealive-mcp実際の値に置き換えてください。設定ファイルにAPIキーを直接記述するよりも、環境変数( envブロック)を使用することをお勧めします。
続く
プロジェクトの
.continue/config.yamlまたはグローバルに~/.continue/config.yamlで MCP サーバーを設定します。# ~/.continue/config.yaml or ./.continue/config.yaml mcpServers: - name: CodeAlive command: /path/to/your/codealive-mcp/.venv/bin/python # Or use 'uv' if preferred (see Cursor example) args: - /path/to/your/codealive-mcp/src/codealive_mcp_server.py - --debug # Optional: Enable debug logging env: CODEALIVE_API_KEY: YOUR_API_KEY_HERE再起動して続行するか、構成を再読み込みします。
クロードデスクトップ
Claude Desktop 構成ファイルを編集します。
macOS:
~/Library/Application Support/Claude/claude_desktop_config.jsonWindows:
%APPDATA%\Claude\claude_desktop_config.json(通常はC:\Users\YourUsername\AppData\Roaming\Claude\claude_desktop_config.json)
MCP サーバー構成を追加します。
{ "mcpServers": { "codealive": { "command": "/path/to/your/codealive-mcp/.venv/bin/python", "args": [ "/path/to/your/codealive-mcp/src/codealive_mcp_server.py", "--debug" // Optional: Enable debug logging ], "env": { "CODEALIVE_API_KEY": "YOUR_API_KEY_HERE" } } } }(ファイルにすでにコンテンツがある場合は、正しくマージされることを確認してください)
Claude Desktop を完全に再起動します。
Visual Studio Code と GitHub Copilot
コマンド パレット (
Ctrl+Shift+PまたはCmd+Shift+P) を使用して VS Code 設定 (JSON) を開き、「設定: ユーザー設定 (JSON) を開く」を選択します。MCP サーバー構成を
settings.jsonに追加します。{ // ... other settings ... "mcp": { "servers": { "codealive": { "command": "uv", "args": [ "--directory", "/path/to/your/codealive-mcp", // Path to the MCP server project root "run", "python", "src/codealive_mcp_server.py", "--debug" // Optional: Enable debug logging ], "env": { "CODEALIVE_API_KEY": "YOUR_API_KEY_HERE" } } } } // ... other settings ... }(既存の設定と正しく統合されていることを確認してください)
VS Code を再起動します。GitHub Copilot 拡張機能が、バージョン/設定で必要な場合に MCP サーバーを使用するように構成されていることを確認します。
カーソル
カーソル設定を開きます (
Cmd+,またはCtrl+,)。左側のパネルの「MCP」セクションに移動します。
「新しいグローバル MCP サーバーを追加」をクリックします。
次の JSON 構成を入力し、パスと API キーを更新します。
{ "mcpServers": { "codealive": { "command": "uv", "args": [ "--directory", "/path/to/your/codealive-mcp", // Path to the MCP server project root "run", "python", "src/codealive_mcp_server.py", "--debug" // Optional: Enable debug logging ], "env": { "CODEALIVE_API_KEY": "YOUR_API_KEY_HERE" } } } }設定を保存します。
カーソルを完全に再起動します。
Pythonを直接使用する
uv使用したくない場合は、仮想環境からPythonインタープリタを使ってサーバースクリプトを直接呼び出すことができます。クライアント設定のcommandとargs適宜更新してください。
Claude Desktop と Python
{
"mcpServers": {
"codealive": {
"command": "/path/to/your/codealive-mcp/.venv/bin/python", // Full path to python in venv
"args": [
"/path/to/your/codealive-mcp/src/codealive_mcp_server.py",
"--debug" // Optional
],
"env": {
"CODEALIVE_API_KEY": "YOUR_API_KEY_HERE"
}
}
}
}Pythonのカーソル
{
"mcpServers": {
"codealive": {
"command": "/path/to/your/codealive-mcp/.venv/bin/python",
"args": [
"/path/to/your/codealive-mcp/src/codealive_mcp_server.py",
"--debug" // Optional
],
"env": {
"CODEALIVE_API_KEY": "YOUR_API_KEY_HERE"
}
}
}
}トラブルシューティング
MCP サーバーが AI クライアントで正しく動作しない場合は、次の手順に従ってください。
**デバッグログを有効にする:**クライアントのMCP設定の
argsに--debugフラグを追加します。これにより、MCPサーバー自体からの詳細なログが標準出力/エラーストリームに出力されます。このストリームの出力先は、クライアントがMCPプロセスをどのように管理しているかによって異なります。MCP サーバーの出力を確認します。
ターミナルで直接サーバー コマンドを実行してみてください (最初に仮想環境をアクティブ化します)。
# Activate venv first! export CODEALIVE_API_KEY="YOUR_API_KEY_HERE" python src/codealive_mcp_server.py --debug --transport stdio特に API キーの検証や接続の問題に関連するエラー メッセージを探します。
クライアントログの確認: AIクライアントのドキュメントまたは設定を参照して、ログファイルを確認してください。「codealive」MCPサーバーの起動または通信に関連するエラーがないか確認してください。
クロードデスクトップ:
メインアプリケーションログを確認します。
MCP 固有のログを探します。
macOS:
~/Library/Logs/Claude/mcp.logおよび~/Library/Logs/Claude/mcp-server-codealive.logWindows:
%LOCALAPPDATA%\Claude\Logs\mcp.logおよび%LOCALAPPDATA%\Claude\Logs\mcp-server-codealive.log(パスは通常C:\Users\YourUsername\AppData\Local\Claude\Logs)
カーソル:
コマンド パレット (
Cmd+Shift+P/Ctrl+Shift+P) ->Developer: Toggle Developer Tools-> コンソール タブ (ブラウザー レベルのエラーの場合) を使用します。出力パネルを確認します。 「
View」→Outputを選択するか、下部パネルのOutputをクリックします。出力パネルの右側にあるドロップダウンメニューで、CodeAlive、MCP、またはサーバープロセスに関連するチャネルを探します。----debugが有効になっている場合、これらのチャネルにはMCPサーバーからの直接の標準出力/標準エラー出力が含まれていることがよくあります。コマンドパレット ->
Developer: Open Logs Folder使用します。特にメインプロセスまたは拡張ホストに関連するファイルを確認してください。ログ フォルダーの場所:
macOS:
~/Library/Application Support/Cursor/logs/Windows:
%APPDATA%\Cursor\logs\(通常はC:\Users\YourUsername\AppData\Roaming\Cursor\logs\)
VS Code (継続/コパイロット):
コマンド パレット (
Cmd+Shift+P/Ctrl+Shift+P) ->Developer: Toggle Developer Tools-> コンソール タブ (ブラウザー レベルのエラーの場合) を使用します。出力パネルを確認します。 「
View」→Outputに移動するか、下部パネルのOutputをクリックします。出力パネルの右側にあるドロップダウンメニューで、CodeAlive、MCP、GitHub Copilot、またはContinueというチャネルを探します。MCP サーバーのログ(特に--debugを指定した場合)は、ここにルーティングされている可能性があります。コマンドパレット ->
Developer: Show Logs...-> ドロップダウンからExtension Hostを選択します。Copilot または Continue 拡張機能が MCP 経由で通信しようとしていることに関連するエラーを探します。Continue固有のログについては、コマンドパレット ->
Continue: Focus on Continue Console View当ててください(設定でContinue: Enable Consoleを有効にする必要があります)。Continueのトラブルシューティングドキュメントをご覧ください。
**設定の確認:**クライアントのMCP設定ファイル内の
command、args、envパスと値を再確認してください。JSON/YAML構文が正しいことを確認してください。API キー:
CODEALIVE_API_KEYが正しいことを確認してください。
問題が解決しない場合は、関連するログと構成の詳細(API キーをマスク)を添えて、CodeAlive MCP サーバー リポジトリ(利用可能な場合)で問題を開くことを検討してください。
さらにサポートが必要な場合は、support@codealive.devのサポート チームにお問い合わせください。
ライセンス
このプロジェクトは MIT ライセンスに基づいてライセンスされています - 詳細についてはLICENSEファイルを参照してください。
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections. Dates show when Glama detected each change.
No tool schema history has been recorded yet.
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Connectors
A comprehensive Model Context Protocol (MCP) server that enables AI assistants to interact with yo…
A Model Context Protocol server for Wix AI tools
An MCP server that gives your AI access to the source code and docs of all public github repos
The Mercado Pago MCP Server implements the Model Context Protocol to provide AI agents and LLMs with access to Mercado Pago's APIs and tools within compatible development environments. It acts as an intermediary that translates Mercado Pago resources into executable functions (tools) that AI applications can invoke to perform actions and automate flows. The server simplifies integration, enables using documentation to implement or improve code, and optimizes operations through natural language interactions without manual implementations.
Related MCP Servers
- AlicenseBqualityFmaintenanceA Model Context Protocol server that enables AI agents to retrieve and understand entire codebases at once, providing tools to analyze local workspaces or remote GitHub repositories.32984MIT
- AlicenseAqualityAmaintenanceA Model Context Protocol (MCP) server that helps large language models index, search, and analyze code repositories with minimal setup141,005MIT
- -licenseNot gradedqualityNot gradedmaintenanceA Model Context Protocol server that provides semantic understanding of codebases using Qdrant vector database, enabling AI assistants to search files by purpose, discover relationships between files, analyze architecture, and identify refactoring opportunities.-
- FlicenseAqualityDmaintenanceA Model Context Protocol (MCP) server for advanced code analysis and editing with semantic search capabilities, enabling AI assistants to perform complex code operations through a standardized interface.151-
Appeared in Searches
- A tool for searching code using semantic understanding
- Code intelligence tools for LLMs to understand codebase structure and locate functionality
- AI-powered IDEs for project analysis and development
- Using Qdrant vector database for code indexing
- Finding the Best Memory Compression Policies (MCPs) for Optimizing Limited Context Window in Claude Code
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/CodeAlive-AI/codealive-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server