Kobold MCP Server

hybrid server

The server is able to function both locally and remotely, depending on the configuration or use case.

Integrations

  • Supports contributing through GitHub and using the GitHub issue tracker for support

  • Provides OpenAI-compatible API endpoints for text completion

코볼드 MCP 서버

KoboldAI와의 인터페이스를 위한 모델 컨텍스트 프로토콜(MCP) 서버 구현입니다. 이 서버를 통해 KoboldAI의 텍스트 생성 기능과 MCP 호환 애플리케이션 간의 통합이 가능합니다.

특징

  • KoboldAI를 사용한 텍스트 생성
  • 지속 메모리를 통한 채팅 완료
  • OpenAI 호환 API 엔드포인트
  • 안정 확산 통합
  • 공식 MCP SDK 기반으로 구축됨
  • TypeScript 구현

설치

지엑스피1

필수 조건

  • Node.js(v16 이상)
  • npm 또는 yarn 패키지 관리자
  • KoboldAI 인스턴스 실행

용법

import { KoboldMCPServer } from 'kobold-mcp-server'; // Initialize the server const server = new KoboldMCPServer(); // Start the server server.start();

구성

서버는 환경 변수나 구성 객체를 통해 구성될 수 있습니다.

const config = { apiUrl: 'http://localhost:5001' // KoboldAI API endpoint }; const server = new KoboldMCPServer(config);

지원되는 API

  • Core KoboldAI API(텍스트 생성, 모델 정보)
  • 대화 메모리를 통한 채팅 완료
  • 텍스트 완성(OpenAI 호환)
  • 안정 확산 적분(txt2img, img2img)
  • 오디오 필사 및 텍스트 음성 변환
  • 웹 검색 기능

개발

  1. 저장소를 복제합니다.
git clone https://github.com/yourusername/kobold-mcp-server.git cd kobold-mcp-server
  1. 종속성 설치:
npm install
  1. 프로젝트를 빌드하세요:
npm run build

종속성

  • @modelcontextprotocol/sdk : ^1.0.1
  • node-fetch : ^2.6.1
  • zod : ^3.20.0
  • zod-to-json-schema : ^3.23.5

기여하다

기여를 환영합니다! 풀 리퀘스트를 제출해 주세요.

특허

MIT 라이센스 - 자세한 내용은 라이센스 파일을 참조하세요.

지원하다

문제 및 기능 요청은 GitHub 문제 추적기를 이용하세요.

You must be authenticated.

A
security – no known vulnerabilities
A
license - permissive license
A
quality - confirmed to work

KoboldAI의 텍스트 생성 기능과 MCP 호환 애플리케이션 간의 통합을 가능하게 하는 서버로, 채팅 완성, Stable Diffusion, OpenAI 호환 API 엔드포인트와 같은 기능을 갖추고 있습니다.

  1. Features
    1. Installation
      1. Prerequisites
        1. Usage
          1. Configuration
            1. Supported APIs
              1. Development
                1. Dependencies
                  1. Contributing
                    1. License
                      1. Support
                        ID: a2xd4hoij7