Cline Coding Assistant
STDIOMCP server enhancing Cline coding agent with intelligent code suggestions and documentation integration.
MCP server enhancing Cline coding agent with intelligent code suggestions and documentation integration.
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.
docs
directory or from provided URLs.project_path.txt
to seamlessly integrate with your current project in Cline.To install Coding Assistant Server for Cline automatically via Smithery:
npx -y @smithery/cli install coding-assistant-server --client cline
git clone [repository-url]
cd coding-assistant-server
npm install
.env
file in the root directory.OPENAI_API_KEY=your_openai_api_key_here
npm run build
Start the Coding Assistant MCP server:
node build/index.js
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" } } } }
project_path.txt
file in the coding-assistant-server
directory with the absolute path to your current project:
/path/to/your/project
get_suggestions
ToolProvides 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
{ "codeContext": { "code": "function helloWorld() { console.log('Hello, world!'); }", "language": "JavaScript" } }
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" } ] }