Skip to main content
Glama

Nuanced MCP Server

by MattMorgis

ニュアンスのあるMCPサーバー

ニュアンスライブラリを通じて LLM にコールグラフ分析機能を提供するモデルコンテキストプロトコル (MCP)サーバー。

概要

このMCPサーバーは、標準化されたツールとリソースを介して関数呼び出しグラフにアクセスすることで、LLMがコード構造を理解することを可能にします。これにより、AIアシスタントは以下のことが可能になります。

  • Pythonリポジトリの呼び出しグラフを初期化する
  • 関数呼び出し関係を調べる
  • 関数間の依存関係を分析する
  • よりコンテキストに応じたコード支援を提供する

API

ツール

  • グラフの初期化
    • 指定されたリポジトリパスのコードグラフを初期化します
    • 入力: repo_path (文字列)
  • スイッチリポジトリ
    • 別の初期化されたリポジトリに切り替える
    • 入力: repo_path (文字列)
  • リポジトリ一覧
    • 初期化されたすべてのリポジトリを一覧表示する
    • 入力は不要です
  • get_function_call_graph
    • 特定の関数の呼び出しグラフを取得する
    • 入力:
      • file_path (文字列)
      • function_name (文字列)
      • repo_path (文字列、オプション) - 指定されていない場合はアクティブなリポジトリを使用します
  • 依存関係を分析する
    • コードベース内のすべてのモジュールまたはファイルの依存関係を見つける
    • 入力(少なくとも 1 つ必要):
      • file_path (文字列、オプション)
      • module_name (文字列、オプション)
  • 変更の影響を分析する
    • 特定の機能の変更による影響を分析する
    • 入力:
      • file_path (文字列)
      • function_name (文字列)

リソース

  • グラフ://サマリー
    • 現在読み込まれているコードグラフの概要を取得します
    • パラメータは必要ありません
  • グラフ://repo/{repo_path}/summary
    • 特定のリポジトリのコードグラフの概要を取得する
    • パラメータ:
      • repo_path (文字列) - リポジトリへのパス
  • グラフ://function/{ファイルパス}/{関数名}
    • 特定の機能に関する詳細情報を取得する
    • パラメータ:
      • file_path (文字列) - 関数を含むファイルへのパス
      • function_name (文字列) - 分析する関数の名前

プロンプト

  • 分析関数
    • 呼び出しグラフを使用して関数を分析するためのプロンプトを作成する
    • パラメータ:
      • file_path (文字列) - 関数を含むファイルへのパス
      • function_name (文字列) - 分析する関数の名前
  • 影響分析
    • 関数の変更による影響を分析するためのプロンプトを作成する
    • パラメータ:
      • file_path (文字列) - 関数を含むファイルへのパス
      • function_name (文字列) - 分析する関数の名前
  • 依存関係の分析プロンプト
    • ファイルまたはモジュールの依存関係を分析するためのプロンプトを作成する
    • パラメータ(少なくとも 1 つ必要):
      • file_path (文字列、オプション) - 分析するファイルへのパス
      • module_name (文字列、オプション) - 分析するモジュールの名前

Claude Desktopでの使用

これをclaude_desktop_config.jsonに追加します

紫外線

{ "mcpServers": { "nuanced": { "command": "uv", "args": [ "--directory", "/path/to/nuanced-mcp", "run", "nuanced_mcp_server.py" ] } } }

You must be authenticated.

A
security – no known vulnerabilities
F
license - not found
A
quality - confirmed to work

hybrid server

The server is able to function both locally and remotely, depending on the configuration or use case.

LLM が関数呼び出しグラフを通じてコード構造を理解して分析できるようにする MCP サーバー。これにより、AI アシスタントは関数間の関係を調査し、Python リポジトリ内の依存関係を分析できるようになります。

  1. 概要
    1. API
      1. ツール
      2. リソース
      3. プロンプト
    2. Claude Desktopでの使用
      1. 紫外線

    Related MCP Servers

    • -
      security
      A
      license
      -
      quality
      A Model Context Protocol server that extracts and analyzes Python code structures, focusing on import/export relationships between files to help LLMs understand code context.
      Last updated -
      4
      Python
      MIT License
    • -
      security
      A
      license
      -
      quality
      A MCP server that transforms code repositories from GitHub, GitLab, or local directories into LLM-friendly formats, preserving context and structure for better AI processing.
      Last updated -
      1
      Python
      Apache 2.0
    • -
      security
      -
      license
      -
      quality
      An MCP server that automatically generates documentation, test plans, and code reviews for code repositories by analyzing directory structures and code files using AI models via OpenRouter API.
      Last updated -
      3
      TypeScript
      Creative Commons Zero v1.0 Universal
    • -
      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/MattMorgis/nuanced-mcp'

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