trackmcp
Back to directory
avioflagos

MCP-coding-assistant

View on GitHub

Detect hallucinations, repetitive bug fix (AKA. bottomless pit) and help AI coder's with access to documentations and suggest fixes.

12 stars JavaScriptAI & Machine Learning Updated Apr 20, 2025

Documentation

Coding Assistant Server

smithery badge

The Coding Assistant Server is an MCP (Model Context Protocol) server that enhances the capabilities of the Cline coding agent. It provides intelligent code suggestions, reduces hallucinations, and documents the knowledge base by leveraging your project's documentation and detecting the technologies used in your codebase.

Features

  • Code Suggestions : Offers context-aware code suggestions based on your code snippets and project documentation.
  • Documentation Integration : Loads and vectorizes documentation files from the `docs` directory or from provided URLs.
  • Technology Detection : Automatically detects programming languages, frameworks, and libraries used in your project.
  • Automatic Documentation Retrieval : Finds and adds official documentation links for detected technologies to the knowledge base.
  • Project Path Automation : Reads the project path from `project_path.txt` to seamlessly integrate with your current project in Cline.
  • Multiple Documentation Sources : Accepts multiple documents and links to enrich the knowledge base.

Installation

Installing via Smithery

To install Coding Assistant Server for Cline automatically via Smithery:

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

Prerequisites

  • Node.js v14 or higher
  • npm v6 or higher
  • OpenAI API Key

Steps

1. Clone the Repository

bash
git clone [repository-url]

2. Navigate to the Project Directory

bash
cd coding-assistant-server

3. Install Dependencies

bash
npm install

4. Set Up Environment Variables

    javascript
    OPENAI_API_KEY=your_openai_api_key_here

    5. Build the Project

    bash
    npm run build

    Usage

    Starting the Server

    Start the Coding Assistant MCP server:

    bash
    node build/index.js

    Integrating with Cline

    1. Update 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. Set the Project Path

        javascript
        /path/to/your/project

        3. Restart Cline

          Using the Tools

          `get_suggestions` Tool

          Provides code suggestions based on the provided code context.

          Example Usage :

          Cline used a tool on the `coding-assistant` MCP server:

          get_suggestions

          Get code suggestions based on provided code context

          Arguments

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

          Response

          json
          {
            "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"
              }
            ]
          }

          Frequently asked questions

          What is MCP-coding-assistant?

          MCP-coding-assistant is Detect hallucinations, repetitive bug fix (AKA. bottomless pit) and help AI coder's with access to documentations and suggest fixes.

          How do I install MCP-coding-assistant?

          Open the GitHub repository and follow its README. Most MCP servers are added to your client's MCP config, then called by your agent.

          Is MCP-coding-assistant open source?

          Yes — it is hosted on GitHub at https://github.com/avioflagos/mcp-coding-assistant and has 12 stars.

          Related MCP tools

          Run your own MCP server? See who uses it and what to fix.

          Measure it with TrackMCP