Skip to main content
Glama

Nia Codebase MCP

by nozomio-labs

Nia コードベース MCP

Nia コードベース MCP サーバーを使用すると、Cursor、Claude Desktop、その他の MCP 互換クライアントなどのツールで関数を呼び出すことによって、Nia のコードベース理解機能と統合できます。

インストール

この MCP サーバーは、npx を使用してインストールせずに使用できます。

npx -y nia-codebase-mcp@1.0.1 --api-key=YOUR_NIA_API_KEY --transport=stdio

交通手段

Nia Codebase MCP サーバーは、次の 2 つのトランスポート方法をサポートしています。

1. 標準入出力(stdio) - デフォルト

これはデフォルトのトランスポート方法で、トランスポートが指定されていない場合に使用されます。

npx -y nia-codebase-mcp --api-key=YOUR_NIA_API_KEY

2. サーバー送信イベント(SSE)

SSE トランスポートを使用するには、 --transport=sseフラグとオプションでポート (デフォルトは 3000) を指定します。

npx -y nia-codebase-mcp --api-key=YOUR_NIA_API_KEY --transport=sse --port=3000

MCPクライアントでの使用

カーソル

  1. カーソル設定 > 機能 > MCP サーバーを開きます
  2. 新しいMCPサーバーを追加する
  3. 名前: nia-codebase
  4. タイプ: command
  5. コマンド: npx -y nia-codebase-mcp@1.0.1 --api-key=YOUR_NIA_API_KEY

クロードデスクトップ

~/Library/Application Support/Claude/claude_desktop_config.jsonの Claude Desktop 構成に追加します。

{ "mcpServers": { "nia-codebase": { "command": "npx", "args": ["-y", "nia-codebase-mcp@1.0.1", "--api-key=YOUR_NIA_API_KEY"] } } }

Windows ユーザーの場合、構成は%APPDATA%\Claude\claude_desktop_config.jsonにあります。

プロンプトの例

Using the lookup_codebase_context tool, please analyze my project structure and tell me what the main components are.
Using the lookup_codebase_context tool, search the codebase to understand how the authentication system works and explain its key components.

デバッグ

サーバーが正常に動作しない場合は、デバッグ モードを有効にすることができます。

npx -y nia-codebase-mcp@1.0.1 --api-key=YOUR_NIA_API_KEY --debug=true

環境変数

環境変数を使用してサーバーを構成することもできます。

  • NIA_API_KEY : Nia APIキー
  • TRANSPORT : 使用するトランスポート方法 ( stdioまたはsse )
  • PORT : SSEトランスポートに使用するポート(デフォルト: 3000)
  • TOOL_TIMEOUT_MS : ツール実行のカスタムタイムアウト(デフォルト: 300000ms)
  • DEBUG : デバッグモードを有効にする( trueまたはfalse

ツール

この MCP サーバーは次のツールを提供します。

  • lookup_codebase_context : Nia でインデックス付けされたコードベースからコンテキストを検索し、ユーザークエリに基づいて関連するコードスニペットを取得します。

要件

  • Node.js 18以上
  • 有効なNia APIキー
  • Niaでインデックスされたコードベース

ライセンス

マサチューセッツ工科大学

Install Server
A
security – no known vulnerabilities
A
license - permissive license
A
quality - confirmed to work

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.

Cursor や Claude Desktop などのツールでの関数呼び出しを通じて Nia のコードベース理解機能との統合を可能にする MCP サーバー。これにより、ユーザーはプロジェクト構造を分析し、自然言語クエリを使用してコードベースを検索できます。

  1. インストール
    1. 交通手段
      1. 標準入出力(stdio) - デフォルト
      2. サーバー送信イベント(SSE)
    2. MCPクライアントでの使用
      1. カーソル
      2. クロードデスクトップ
      3. プロンプトの例
    3. デバッグ
      1. 環境変数
        1. ツール
          1. 要件
            1. ライセンス

              Related MCP Servers

              • -
                security
                F
                license
                -
                quality
                An MCP server that provides detailed information about your development environment to the Cursor code editor, enabling more context-aware assistance.
                Last updated -
                1
                Python
                • Linux
                • Apple
              • -
                security
                F
                license
                -
                quality
                An MCP server that enables language models to access code intelligence features like completions, definitions, and references across multiple programming languages through the Language Server Protocol.
                Last updated -
                Python
              • -
                security
                A
                license
                -
                quality
                An MCP server that implements Claude Code-like functionality, allowing the AI to analyze codebases, modify files, execute commands, and manage projects through direct file system interactions.
                Last updated -
                179
                Python
                MIT License
                • Apple
                • Linux
              • -
                security
                A
                license
                -
                quality
                An MCP server that analyzes codebases and generates contextual prompts, making it easier for AI assistants to understand and work with code repositories.
                Last updated -
                10
                Python
                MIT License

              View all related MCP servers

              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/nozomio-labs/nia-mcp'

              If you have feedback or need assistance with the MCP directory API, please join our Discord server