Skip to main content
Glama
AviOfLagos
by AviOfLagos

コーディングアシスタントサーバー

鍛冶屋のバッジ

コーディングアシスタントサーバーは、Clineコーディングエージェントの機能を強化するMCP(モデルコンテキストプロトコル)サーバーです。インテリジェントなコード提案を提供し、誤解を軽減し、プロジェクトのドキュメントを活用してコードベースで使用されているテクノロジーを検出することで、ナレッジベースを文書化します。

特徴

  • コード提案: コード スニペットとプロジェクト ドキュメントに基づいて、コンテキストに応じたコード提案を提供します。

  • ドキュメント統合: docsディレクトリまたは指定された URL からドキュメント ファイルを読み込み、ベクトル化します。

  • テクノロジー検出: プロジェクトで使用されるプログラミング言語、フレームワーク、ライブラリを自動的に検出します。

  • 自動ドキュメント取得: 検出されたテクノロジーの公式ドキュメント リンクを検索し、ナレッジ ベースに追加します。

  • プロジェクト パスの自動化: project_path.txtからプロジェクト パスを読み取り、Cline の現在のプロジェクトとシームレスに統合します。

  • 複数のドキュメント ソース: 複数のドキュメントとリンクを受け入れて、ナレッジ ベースを充実させます。

Related MCP server: AgenticRAG MCP Server

インストール

Smithery経由でインストール

Smithery経由で Cline 用の Coding Assistant Server を自動的にインストールするには:

npx -y @smithery/cli install coding-assistant-server --client cline

前提条件

  • Node.js v14以上

  • npm v6以上

  • OpenAI APIキー

手順

  1. リポジトリのクローンを作成する

    git clone [repository-url]
  2. プロジェクトディレクトリに移動する

    cd coding-assistant-server
  3. 依存関係をインストールする

    npm install
  4. 環境変数を設定する

    • ルート ディレクトリに.envファイルを作成します。

    • OpenAI API キーを追加します:

      OPENAI_API_KEY=your_openai_api_key_here
  5. プロジェクトを構築する

    npm run build

使用法

サーバーの起動

Coding Assistant MCP サーバーを起動します。

node build/index.js

Clineとの統合

  1. MCP設定を更新する

    • MCP 設定ファイル (例: cline_mcp_settings.json ) を編集して、コーディング アシスタント サーバーを追加します。

      {
        "mcpServers": {
          "coding-assistant": {
            "command": "node",
            "args": ["/path/to/coding-assistant-server/build/index.js"],
            "env": {
              "OPENAI_API_KEY": "your_openai_api_key_here"
            }
          }
        }
      }
  2. プロジェクトパスを設定する

    • 現在のプロジェクトへの絶対パスを使用して、 coding-assistant-serverディレクトリ内のproject_path.txtファイルを作成または更新します。

      /path/to/your/project
  3. クラインを再起動

    • コーディング アシスタント サーバーに接続するには、Cline を再起動するか、MCP 設定を再ロードします。

ツールの使用

get_suggestionsツール

提供されたコード コンテキストに基づいてコードの提案を提供します。

使用例:

Cline はcoding-assistant MCP サーバー上のツールを使用しました。

get_suggestions

提供されたコードコンテキストに基づいてコードの提案を取得します

議論

{
    "codeContext": {
      "code": "function helloWorld() { console.log('Hello, world!'); }",
      "language": "JavaScript"
    }
  }

応答

{
  "suggestions": [
    {
      "source": "example.txt",
      "content": "# Coding Assistant Documentation\n\nThis is a sample documentation file for the coding assistant server. You can add more documentation files here for the server to use.\n"
    }
  ]
}

Related MCP Connectors

Related MCP Servers

  • F
    license
    Not graded
    quality
    D
    maintenance
    This server enables AI assistants (CLINE, Cursor, Windsurf, Claude Desktop) to share a common knowledge base through Retrieval Augmented Generation (RAG), providing consistent information access across multiple tools.
    4
    -
  • A
    license
    Not graded
    quality
    D
    maintenance
    An intelligent codebase processing server that provides agentic RAG capabilities for code repositories, enabling semantic search and contextual understanding through self-evaluating retrieval loops.
    2
    MIT
  • F
    license
    Not graded
    quality
    D
    maintenance
    A local server that provides powerful code analysis and search capabilities for software projects, helping AI assistants and development tools understand codebases for tasks like code generation and refactoring.
    4
    -
  • F
    license
    B
    quality
    D
    maintenance
    A centralized Model Context Protocol server that provides common development tools (like formatting and translation) across all your Cline projects without needing to install them individually.
    8
    -