Coding Assistant Server
local-only server
The server can only run on the client’s local machine because it depends on local resources.
Integrations
Detects JavaScript as one of the programming languages in projects and provides relevant suggestions
Uses Node.js as a runtime environment for the MCP server
Uses npm for package management and dependency installation
Coding Assistant Server
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:
Prerequisites
- Node.js v14 or higher
- npm v6 or higher
- OpenAI API Key
Steps
- Clone the RepositoryCopy
- Navigate to the Project DirectoryCopy
- Install DependenciesCopy
- Set Up Environment Variables
- Create a
.env
file in the root directory. - Add your OpenAI API key:Copy
- Create a
- Build the ProjectCopy
Usage
Starting the Server
Start the Coding Assistant MCP server:
Integrating with Cline
- Update MCP Settings
- Edit your MCP settings configuration file (e.g.,
cline_mcp_settings.json
) to include the coding assistant server:Copy
- Edit your MCP settings configuration file (e.g.,
- Set the Project Path
- Create or update the
project_path.txt
file in thecoding-assistant-server
directory with the absolute path to your current project:Copy
- Create or update the
- Restart Cline
- Restart Cline or reload the MCP settings to connect the coding assistant server.
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
Response
This server cannot be installed
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.