Coding Assistant Server
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.
AviOfLagos
README
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
docsdirectory 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.txtto 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:
npx -y @smithery/cli install coding-assistant-server --client cline
Prerequisites
- Node.js v14 or higher
- npm v6 or higher
- OpenAI API Key
Steps
- Clone the Repository
git clone [repository-url] - Navigate to the Project Directory
cd coding-assistant-server - Install Dependencies
npm install - Set Up Environment Variables
- Create a
.envfile in the root directory. - Add your OpenAI API key:
OPENAI_API_KEY=your_openai_api_key_here
- Create a
- Build the Project
npm run build
Usage
Starting the Server
Start the Coding Assistant MCP server:
node build/index.js
Integrating with Cline
- Update MCP Settings
- Edit your MCP settings configuration file (e.g.,
cline_mcp_settings.json) to include the coding assistant server:{ "mcpServers": { "coding-assistant": { "command": "node", "args": ["/path/to/coding-assistant-server/build/index.js"], "env": { "OPENAI_API_KEY": "your_openai_api_key_here" } } } }
- Edit your MCP settings configuration file (e.g.,
- Set the Project Path
- Create or update the
project_path.txtfile in thecoding-assistant-serverdirectory with the absolute path to your current project:/path/to/your/project
- 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 :
<iframe></iframe>
Cline used a tool on the coding-assistant MCP server:
get_suggestions
Get code suggestions based on provided code context
Arguments
{
"codeContext": {
"code": "function helloWorld() { console.log('Hello, world!'); }",
"language": "JavaScript"
}
}
<iframe></iframe>
Response
{
"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"
}
]
}
Recommended Servers
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
E2B
Using MCP to run code via e2b.
React MCP
react-mcp integrates with Claude Desktop, enabling the creation and modification of React apps based on user prompts
AIO-MCP Server
🚀 All-in-one MCP server with AI search, RAG, and multi-service integrations (GitLab/Jira/Confluence/YouTube) for AI-enhanced development workflows. Folk from
Docx Document Processing Service
A powerful Word document processing service based on FastMCP, enabling AI assistants to create, edit, and manage docx files with full formatting support. Preserves original styles when editing content.
OpenRouter MCP Server
Provides integration with OpenRouter.ai, allowing access to various AI models through a unified interface.
Supabase MCP Server (used by Deploya.dev)
Enables Cursor and Windsurf to safely interact with Supabase databases by providing tools for database management, SQL query execution, and Supabase Management API access with built-in safety controls.
Any OpenAI Compatible API Integrations
Integrate Claude with Any OpenAI SDK Compatible Chat Completion API - OpenAI, Perplexity, Groq, xAI, PyroPrompts and more.
Perplexity Deep Research
A server that allows AI assistants to perform web searches using Perplexity's sonar-deep-research model with citation support.
Perplexity Chat MCP Server
MCP Server for the Perplexity API.