Skip to main content
Glama
lamemind

Coder Toolbox MCP Server

by lamemind

Coder Toolbox MCP サーバー

Claude とコード間の相互作用を強化するように設計されたユーティリティ ツールキット。コード分析、操作、およびテスト ワークフローのためのシームレスな統合ツールを提供します。

特徴

実装済み

  • テスト実行ログ: テスト実行ログと結果を取得して分析します

  • クラス操作:

    • 場所: パッケージフィルタリングを使用してプロジェクトソースコード内の Java クラスを検索する

    • 作成: 適切なパッケージ構造を持つ新しいJavaクラスを作成する

    • コンテンツ管理: 既存の Java クラスのコンテンツを追加、置換、または削除します。

    • メソッド管理: Javaクラス内のメソッドを追加または削除する

    • コンストラクタ管理: Java クラスのコンストラクタを追加または削除します

Related MCP server: Java Class Analyzer MCP Server

ツール

get_test_execution_logs

ログディレクトリからテスト実行ログを取得する

Javaクラスの検索

  • パラメータ:

    • className (文字列): 検索するJavaクラスの名前(大文字と小文字が区別されます)

    • sourceType (文字列、オプション): 検索を制限するソースタイプ ('source' または 'test')

    • packagePath (文字列, オプション): 検索範囲を制限するパッケージパス (例: 'com.myself.myproject')。指定する場合は、sourceType も指定する必要があります。

  • 戻り値: 見つかった場合はファイルパスとコンテンツを含む検索結果を含む JSON オブジェクト

Javaクラスを作成する

  • パラメータ:

    • className (文字列): 作成するJavaクラスの名前(大文字と小文字が区別されます)

    • sourceType (文字列): ファイルを作成するソースタイプ ('source' または 'test')

    • packagePath (文字列): クラスを作成するパッケージパス (例: 'com.myself.myproject')

  • 戻り値: ファイルパスまたはエラーメッセージを含む作成結果を含む JSON オブジェクト

クラス_add_body

  • パラメータ:

    • locate_java_class からのパラメータに加えて、次のパラメータ:

    • classBody (文字列): 追加するクラス本体の内容 (フィールド、メソッド、コンストラクターなど)

  • 戻り値: ファイルパスを含む変更結果を含むJSONオブジェクト

クラス置換本体

  • パラメータ:

    • locate_java_class からのパラメータに加えて、次のパラメータ:

    • edits : 編集操作の配列。それぞれに次の内容が含まれます。

      • oldText (文字列): 置き換えるテキスト

      • newText (文字列): 新しいテキスト

    • dryRun (ブール値、オプション): 変更を適用せずにプレビューします

  • 戻り値: 変更内容またはプレビューを表示する差分

クラス削除ボディ

  • パラメータ:

    • locate_java_class からのパラメータに加えて、次のパラメータ:

    • targetContent (文字列): クラス本体から削除するコンテンツ

    • dryRun (ブール値、オプション): 変更を適用せずにプレビューします

  • 戻り値: 変更内容またはプレビューを表示する差分

開発ロードマップ

  • [x] テスト実行ログの取得

  • [x] クラスの場所とナビゲーション

  • [x] クラスファイルの作成

  • [x] クラスにコンテンツを追加する

  • [x] クラスのコンテンツを置き換える

  • [x] クラスからコンテンツを削除する

  • [ ] クラスレベルの注釈を追加する

  • [ ] インターフェース実装を追加する

  • [ ] クラス継承を追加する

  • [ ] インポートを整理する

  • [ ] フォーマットコード

貢献

貢献を歓迎します!お気軽にプルリクエストを送信してください。

ライセンス

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

Related MCP Connectors

Related MCP Servers

  • A
    license
    Not graded
    quality
    D
    maintenance
    A comprehensive code analysis and management tool that integrates with Claude Desktop to analyze code at project and file levels, helping adapt changes to projects intelligently.
    39
    MIT
  • A
    license
    B
    quality
    C
    maintenance
    Enables AI tools to analyze Java dependencies by scanning Maven projects, decompiling JAR files, and extracting detailed class information including methods, fields, and inheritance relationships. Solves the problem of AI hallucinations when generating code that calls external dependencies by providing accurate class structures through decompilation.
    3
    12 npm
    43
    Apache 2.0
  • F
    license
    Not graded
    quality
    D
    maintenance
    Enables LLMs to perform high-performance code search and analysis across multiple languages using symbol indexing, regex text search, and structural AST pattern matching. It also provides tools for technology stack detection and dependency analysis with persistent caching for optimized performance.
    8
    -