Skip to main content
Glama
tosin2013

MCP Codebase Insight

by tosin2013

MCP コードベース インサイト - WIP

🚧開発進行中

このプロジェクトは現在活発に開発中です。機能とドキュメントは継続的に更新されています。

概要

MCP Codebase Insight は、セマンティック分析、パターン検出、ドキュメント管理を通じてコードベースを分析および理解するためのシステムです。

Related MCP server: CodeAlive MCP

現在の開発状況

完成した機能

  • ✅ コアベクターストアシステム

  • ✅ 基本的な知識ベース

  • ✅ SSE統合

  • ✅ テストフレームワーク

  • ✅ TDD とデバッグ フレームワーク (rules_template の統合)

進行中

  • 🔄 ドキュメント管理システム

  • 🔄高度なパターン検出

  • 🔄パフォーマンスの最適化

  • 🔄統合テスト

  • 🔄 デバッグユーティリティの機能強化

計画済み

  • 📋 拡張APIドキュメント

  • 📋 カスタムパターンプラグイン

  • 📋 高度なキャッシュ戦略

  • 📋 デプロイメントガイド

  • 📋 包括的なエラー追跡システム

クイックスタート

  1. インストール

    pip install mcp-codebase-insight
  2. 基本的な使い方

    from mcp_codebase_insight import CodebaseAnalyzer
    
    analyzer = CodebaseAnalyzer()
    results = analyzer.analyze_code("path/to/code")
  3. テストの実行

    # Run all tests
    pytest tests/
    
    # Run unit tests
    pytest tests/unit/
    
    # Run component tests
    pytest tests/components/
    
    # Run tests with coverage
    pytest tests/ --cov=src --cov-report=term-missing
  4. デバッグユーティリティ

    from mcp_codebase_insight.utils.debug_utils import debug_trace, DebugContext, get_error_tracker
    
    # Use debug trace decorator
    @debug_trace
    def my_function():
        # Implementation
    
    # Use debug context
    with DebugContext("operation_name"):
        # Code to debug
    
    # Track errors
    try:
        # Risky operation
    except Exception as e:
        error_id = get_error_tracker().record_error(e, context={"operation": "description"})
        print(f"Error recorded with ID: {error_id}")

テストとデバッグ

テスト駆動開発

このプロジェクトはテスト駆動開発 (TDD) の原則に従います。

  1. 失敗するテストを最初に書く(赤)

  2. テストに合格するために最小限のコードを書く(緑)

  3. テストをパスさせながらクリーンなコードにリファクタリングする (リファクタリング)

TDD ドキュメントはdocs/tdd/workflow.mdにあります。

デバッグフレームワーク

私たちはAgansの9つのデバッグルールを使用します。

  1. システムを理解する

  2. 失敗させる

  3. 考えるのをやめて見よう

  4. 分割統治

  5. 一度に一つずつ変えていく

  6. 監査証跡を保存する

  7. プラグをチェックする

  8. 新鮮な視点を得る

  9. 直さなければ、直らない

デバッグ方法の詳細については、 docs/debuggers/agans_9_rules.mdをご覧ください。

ドキュメント

貢献

貢献を歓迎します!詳細については貢献ガイドをご覧ください。

ライセンス

このプロジェクトは MIT ライセンスに基づいてライセンスされています - 詳細についてはLICENSEファイルを参照してください。

サポート

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.

Maintenance

ActivityInactive
ResponsivenessNo issues

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

Related MCP Servers

  • A
    license
    Not graded
    quality
    A
    maintenance
    A Model Context Protocol server that enhances AI agents by providing deep semantic understanding of codebases, enabling more intelligent interactions through advanced code search and contextual awareness.
    89
    MIT
  • -
    license
    Not graded
    quality
    Not graded
    maintenance
    A Model Context Protocol server that provides semantic understanding of codebases using Qdrant vector database, enabling AI assistants to search files by purpose, discover relationships between files, analyze architecture, and identify refactoring opportunities.
    -
  • A
    license
    Not graded
    quality
    D
    maintenance
    A Model Context Protocol server that analyzes application codebases with real-time file watching, providing AI assistants like Claude with deep insights into project structure, code patterns, and architecture.
    MIT

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/tosin2013/mcp-codebase-insight'

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