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

코딩 어시스턴트 서버

코딩 어시스턴트 서버는 클라인 코딩 에이전트의 기능을 향상시키는 MCP(모델 컨텍스트 프로토콜) 서버입니다. 지능적인 코드 제안을 제공하고, 환각 현상을 줄이며, 프로젝트 문서를 활용하고 코드베이스에 사용된 기술을 감지하여 지식 기반을 문서화합니다.

특징

  • 코드 제안 : 코드 조각과 프로젝트 문서를 기반으로 상황에 맞는 코드 제안을 제공합니다.
  • 문서 통합 : docs 디렉토리나 제공된 URL에서 문서 파일을 로드하고 벡터화합니다.
  • 기술 감지 : 프로젝트에서 사용된 프로그래밍 언어, 프레임워크, 라이브러리를 자동으로 감지합니다.
  • 자동 문서 검색 : 탐지된 기술에 대한 공식 문서 링크를 찾아 지식 기반에 추가합니다.
  • 프로젝트 경로 자동화 : project_path.txt 에서 프로젝트 경로를 읽어 Cline의 현재 프로젝트와 원활하게 통합합니다.
  • 다양한 문서 소스 : 다양한 문서와 링크를 수용하여 지식 기반을 풍부하게 합니다.

설치

Smithery를 통해 설치

Smithery 를 통해 Cline용 Coding Assistant Server를 자동으로 설치하는 방법:

지엑스피1

필수 조건

  • 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 도구

제공된 코드 컨텍스트를 기반으로 코드 제안을 제공합니다.

사용 예 :

클라인은 coding-assistant MCP 서버에서 도구를 사용했습니다.

제안 받기

제공된 코드 컨텍스트를 기반으로 코드 제안 받기

인수

{ "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" } ] }
-
security - not tested
F
license - not found
-
quality - not tested

Cline 코딩 에이전트의 기능을 향상시키는 서버입니다. 지능적인 코드 제안을 제공하고, 환각 현상을 줄이며, 프로젝트 문서를 활용하고 코드베이스에 사용된 기술을 감지하여 지식 기반을 문서화합니다.

  1. Features
    1. Installation
      1. Installing via Smithery
      2. Prerequisites
      3. Steps
    2. Usage
      1. Starting the Server
      2. Integrating with Cline
      3. Using the Tools
    ID: in0s5a6bi7