SCAST MCP Server
🔱キャスト
静的コード分析と可視化
2024年9月27日 DKZ

英語/中国語
🔱SCASTは、コードを UML 図やフローチャートに変換するプログラム ツールです。
サポートプラン
javascript ( acornを使用)
typescript (今はtypescriptを使い、後でestreeを使ってください)
csharp (将来サポートされなくなるカスタムパーサーを使用します)
python (カスタムパーサーを使用します。後でfilbert を使用します)
vue(後期)
基本的な原則としては、パーサーを利用してコードを抽象構文ツリー (AST) に解析し、次に静的分析を行い、最後にMermaidとD3を利用して視覚化します。
オンラインで試すことも、このリポジトリをダウンロードしてブラウザで SCAST.html を開くこともできます。
開発者は、 npm run serverを使用してサーバーにデプロイできます。また、 MCPサーバーとして使用し、AI クライアントに統合することもできます。
アップデート
MCP
git clone https://github.com/davidkingzyb/SCAST.gitソースコードをダウンロードします。npm installクライアント側の設定
{
"mcpServers": {
"scast":{
"command":"node",
"args":[
"/YOUR_INSTALL_DIR/SCAST/mcp/index.js",
"/YOUR_WORKSPACE/",
"C:\\Users\\DKZ\\OTHER_ALLOWED_DIR\\",
]
}
}
}ツール
scast_analysis:
SCASTは、視覚化を通じてコードの分析と要約を支援するツールです。コードが存在するフォルダパスを指定するだけで、SCASTはコードの静的解析を実行し、ASTツリーを生成します。これにより、ユーザーはコード構造を理解し、その機能を説明することができます。UML図、ASTツリー図、Mermaidフローチャートなど、様々な視覚的なチャートを生成します。最後に、すべてのクラス名とメソッド名、そしてその機能説明を含むキーワードリストを返します。また、ユーザーがブラウザでチャートの詳細を表示するためのリンクも表示されます。
scast_retriever
SCASTは、コードの分析と要約、そして視覚化を提供するツールです。ソースコードフォルダのファイルパスを指定する必要があります。SCASTはフォルダ内のソースコードに対して静的解析を実行し、ASTツリーを生成します。これにより、ユーザーはコード構造を理解し、その機能を説明することができます。SCASTでコードディレクトリを解析した後、ASTツリー内のキーワードを使用して検索を行うことで、RAG法を用いてユーザーの質問に適切に回答できます。このキーワードには、クラス名、メソッド名、またはフィールド名を指定できます。SCASTは定義箇所でソースコードを検索し、それを返します。
オラマAI
まずollamaをインストールしてください。詳細についてはai.jsを参照してください。
ESTree
ESTree仕様に準拠したASTパーサー
力指向グラフ
D3グラフの詳細
インデントされたツリー
整頓された木
クラスターツリー
タディアル整頓木
放射状クラスターツリー
力指向木
エッジバンドル
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
AI-powered codebase analysis — call graphs, security, dead code, complexity. 150+ tools.
Code intelligence platform for AI agents. 20 tools for architecture, security & impact analysis.
AI Agent with Architectural Memory. Impact analysis (free), tests and code from the graph (pro).
Ground-truth code graph for your codebase: exact callers, callees, symbols & dependencies.
Related MCP Servers
- AlicenseAqualityDmaintenanceAnalyzes codebases to generate dependency graphs and architectural insights across multiple programming languages, helping developers understand code structure and validate against architectural rules.66020MIT
- AlicenseAqualityDmaintenanceEnables comprehensive code analysis including quality assessment, security vulnerability detection, refactoring suggestions, complexity calculations, and automatic documentation generation for multiple programming languages.514MIT
- AlicenseNot gradedqualityDmaintenanceAnalyzes frontend project code (React, Vue, Angular) and converts it into AI-understandable flow diagrams and object structures. Provides tools for code analysis, variable/function/component inspection, and project structure insights.22MIT
- AlicenseNot gradedqualityDmaintenanceAnalyzes codebases to automatically generate README, API docs, architecture diagrams, and CHANGELOG.16MIT
Appeared in Searches
- Python code quality improvement and codebase diagram generation tools
- A tool for generating draw.io flowcharts from codebase analysis
- A tool for generating class and architecture diagrams from code or technical descriptions
- Tools to generate Lucidchart diagrams from Java code
- A tool for detecting code duplication in programming
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/davidkingzyb/SCAST'
If you have feedback or need assistance with the MCP directory API, please join our Discord server