Skip to main content
Glama
dmchet

PasNavigator MCP

by dmchet

PasNavigator MCP

Delphi/Pascal コードベースのセマンティックナビゲーションのための MCP サーバー。

長期的な設計は次のとおりです。

  • CodeComparer のアイデアとコードを再利用する Delphi ベースのインデクサー/バックエンド

  • プロジェクトのインデックス作成とシンボルナビゲーションツールを公開する薄い MCP サーバーレイヤー

  • 生の grep 出力ではなく、AI エージェント向けのコンパクトなシンボルレベルの応答

現在のステータス

このリポジトリには以下が含まれています。

  • Python MCP ツールサーフェスとプロセスアダプター

  • delphi/vendor/codecomparer/ の下にベンダーされた CodeComparer/DelphiAST ソースを含む Delphi コンソールバックエンド

  • ライブの CodeComparer リポジトリチェックアウトへの実行時依存はありません

Delphi インデクサーをコンパイルするには、DevExpress VCL がまだ必要です (DXVCL)。

ベンダーされたインポーターには、definesunit_scopes がパーサーに到達するようにするためのローカルな変更がいくつか含まれています。それらは delphi/vendor/codecomparer/NOTICE.txt にリストされています。

ドキュメント:

  • プロトコル: docs/delphi-backend-protocol.md

  • Delphi ビルド: delphi/README.md

Related MCP server: Delphi Compiler MCP

ツール

  • open_project, open_project_from_config

  • project_status

  • find_symbol — ランク付けされ、上限付き、total_count を報告

  • get_symbol

  • get_hierarchy

  • get_descendants

  • get_source

設定

プロジェクト設定の例:

{
  "project_name": "MyApp",
  "roots": [
    "E:/Work/MyApp/Source",
    "E:/Work/MyApp/Modules"
  ],
  "search_paths": [
    "E:/Libs/Common",
    "C:/RAD/Studio/22.0/source/vcl"
  ],
  "defines": ["MSWINDOWS", "VER350"],
  "unit_scopes": ["System", "Vcl", "Winapi"],
  "excludes": ["**/__history/**", "**/backup/**"]
}

開発

仮想環境を作成し、パッケージを編集可能モードでインストールします:

python -m venv .venv
.venv\Scripts\Activate.ps1
pip install -e .

インメモリスタブでサーバーを実行します:

python -m pasnavigator_mcp

Delphi コンソールバックエンドと通信します (スタブビルド、DevExpress なし):

$env:PASNAVIGATOR_BACKEND = "delphi"
$env:PASNAVIGATOR_DELPHI_EXE = "E:\Github_dm75\PasNavigator_MCP\delphi\bin\Win32\Debug\PasNavigatorBackend.exe"
python -m pasnavigator_mcp

テストを実行します。コンパイルされたバックエンドを必要とするケースは、PasNavigatorBackend.exe が存在しない場合にスキップされます。残りは Python フェイクプロセスに対して実行されます:

python -m unittest discover -s tests

次のステップ

MCP レイヤー自体 (server.py, config.py) にはテストカバレッジがありません。これは、mcp 依存関係がこの環境でインストールできなかったためです。

F
license - not found
Not graded
quality - not tested
B
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Servers

  • A
    license
    Not graded
    quality
    D
    maintenance
    Enables semantic code search across projects using AI embeddings to find code by meaning rather than just text matching. Provides fast intelligent search, symbol analysis, and code similarity detection with multi-language support.
    MIT
  • A
    license
    Not graded
    quality
    D
    maintenance
    Enables semantic code search across multiple repositories using natural language queries. Provides intelligent code discovery, symbol lookups, and cross-repo dependency analysis for AI coding agents.
    MIT
  • A
    license
    Not graded
    quality
    D
    maintenance
    Enables fast semantic code search and analysis across 15+ programming languages. Supports searching for functions and classes, tracing code usage, detecting syntax errors, and analyzing code quality and structure.
    29
    33
    GPL 3.0

View all related MCP servers

Related MCP Connectors

  • Code intelligence for coding agents: semantic, AST, graph, and full-text search. 279+ languages.

  • Enterprise code intelligence for M&A, security audits, and tech debt. Hosted server with 200k free.

  • Search your Obsidian vault to quickly find notes by title or keyword, summarize related content, a…

View all MCP Connectors

Latest Blog Posts

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/dmchet/PasNavigator_MCP'

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