Nia Codebase MCP

by nozomio-labs
Integrations
  • Provides a Node.js-based MCP server that connects to Nia's codebase understanding service, supporting function calling to retrieve relevant code snippets based on user queries

Nia Codebase MCP

Der Nia Codebase MCP-Server ermöglicht Ihnen die Integration mit den Codebase-Verständnisfunktionen von Nia durch Funktionsaufrufe in Tools wie Cursor, Claude Desktop und anderen MCP-kompatiblen Clients.

Installation

Sie können diesen MCP-Server verwenden, ohne ihn mit npx zu installieren:

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

Transportmöglichkeiten

Der Nia Codebase MCP-Server unterstützt zwei Transportmethoden:

1. Standard-Eingabe/Ausgabe (stdio) – Standard

Dies ist die Standardtransportmethode und wird verwendet, wenn kein Transport angegeben ist:

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

2. Server-Sent Events (SSE)

Um den SSE-Transport zu verwenden, geben Sie das Flag --transport=sse und optional einen Port an (Standard ist 3000):

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

Verwendung in MCP-Clients

Cursor

  1. Öffnen Sie Cursoreinstellungen > Funktionen > MCP-Server
  2. Einen neuen MCP-Server hinzufügen
  3. Name: nia-codebase
  4. Typ: command
  5. Befehl: npx -y nia-codebase-mcp@1.0.1 --api-key=YOUR_NIA_API_KEY

Claude Desktop

Fügen Sie Ihrer Claude Desktop-Konfiguration unter ~/Library/Application Support/Claude/claude_desktop_config.json hinzu:

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

Für Windows-Benutzer befindet sich die Konfiguration unter %APPDATA%\Claude\claude_desktop_config.json .

Beispiel-Eingabeaufforderungen

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.

Debuggen

Wenn der Server nicht richtig funktioniert, können Sie den Debug-Modus aktivieren:

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

Umgebungsvariablen

Sie können den Server auch mithilfe von Umgebungsvariablen konfigurieren:

  • NIA_API_KEY : Ihr Nia-API-Schlüssel
  • TRANSPORT : Die zu verwendende Transportmethode ( stdio oder sse )
  • PORT : Der für den SSE-Transport zu verwendende Port (Standard: 3000)
  • TOOL_TIMEOUT_MS : Benutzerdefiniertes Timeout für die Tool-Ausführung (Standard: 300000 ms)
  • DEBUG : Debug-Modus aktivieren ( true oder false )

Werkzeuge

Dieser MCP-Server bietet das folgende Tool:

  • lookup_codebase_context : Sucht den Kontext aus einer in Nia indizierten Codebasis und ruft relevante Codeausschnitte basierend auf Benutzerabfragen ab.

Anforderungen

  • Node.js 18 oder höher
  • Ein gültiger Nia-API-Schlüssel
  • Eine in Nia indizierte Codebasis

Lizenz

MIT

You must be authenticated.

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.

Ein MCP-Server, der die Integration mit den Codebase-Verständnisfunktionen von Nia durch Funktionsaufrufe in Tools wie Cursor und Claude Desktop ermöglicht, sodass Benutzer die Projektstruktur analysieren und Codebases über Abfragen in natürlicher Sprache durchsuchen können.

  1. Installation
    1. Transportmöglichkeiten
      1. Standard-Eingabe/Ausgabe (stdio) – Standard
      2. Server-Sent Events (SSE)
    2. Verwendung in MCP-Clients
      1. Cursor
      2. Claude Desktop
      3. Beispiel-Eingabeaufforderungen
    3. Debuggen
      1. Umgebungsvariablen
        1. Werkzeuge
          1. Anforderungen
            1. Lizenz

              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 -
                151
                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