Kobold MCP Server
코볼드 MCP 서버
KoboldAI와의 인터페이스를 위한 모델 컨텍스트 프로토콜(MCP) 서버 구현입니다. 이 서버를 통해 KoboldAI의 텍스트 생성 기능과 MCP 호환 애플리케이션 간의 통합이 가능합니다.
특징
KoboldAI를 사용한 텍스트 생성
지속 메모리를 통한 채팅 완료
OpenAI 호환 API 엔드포인트
안정 확산 통합
공식 MCP SDK 기반으로 구축됨
TypeScript 구현
Related MCP server: nanobanana-mcp
설치
지엑스피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)
오디오 필사 및 텍스트 음성 변환
웹 검색 기능
개발
저장소를 복제합니다.
git clone https://github.com/yourusername/kobold-mcp-server.git
cd kobold-mcp-server종속성 설치:
npm install프로젝트를 빌드하세요:
npm run build종속성
@modelcontextprotocol/sdk: ^1.0.1node-fetch: ^2.6.1zod: ^3.20.0zod-to-json-schema: ^3.23.5
기여하다
기여를 환영합니다! 풀 리퀘스트를 제출해 주세요.
특허
MIT 라이센스 - 자세한 내용은 라이센스 파일을 참조하세요.
지원하다
문제 및 기능 요청은 GitHub 문제 추적기를 이용하세요.
Available Tools
20 toolskobold_abortB
Abort the currently ongoing generation
Inputs: apiUrl.
kobold_chatC
Chat completion (OpenAI-compatible)
Inputs: messages (required), apiUrl, temperature, top_p, +2 more.
kobold_completeC
Text completion (OpenAI-compatible)
Inputs: prompt (required), apiUrl, max_tokens, temperature, +2 more.
kobold_detokenizeC
Convert token IDs to text
Inputs: tokens (required), apiUrl.
kobold_generateC
Generate text with KoboldAI
Inputs: prompt (required), apiUrl, max_length, max_context_length, +6 more.
kobold_img2imgC
Transform existing image using prompt
Inputs: prompt (required), init_images (required), apiUrl, negative_prompt, +7 more.
kobold_interrogateC
Generate caption for image
Inputs: image (required), apiUrl.
kobold_last_logprobsB
Get token logprobs from the last request
Inputs: apiUrl.
kobold_max_context_lengthB
Get current max context length setting
Inputs: apiUrl.
kobold_max_lengthB
Get current max length setting
Inputs: apiUrl.
kobold_model_infoB
Get current model information
Inputs: apiUrl.
kobold_perf_infoC
Get performance information
Inputs: apiUrl.
kobold_sd_modelsB
List available Stable Diffusion models
Inputs: apiUrl.
kobold_sd_samplersB
List available Stable Diffusion samplers
Inputs: apiUrl.
kobold_token_countC
Count tokens in text
Inputs: text (required), apiUrl.
kobold_transcribeC
Transcribe audio using Whisper
Inputs: audio (required), apiUrl, language.
kobold_ttsC
Generate text-to-speech audio
Inputs: text (required), apiUrl, voice, speed.
kobold_txt2imgC
Generate image from text prompt
Inputs: prompt (required), apiUrl, negative_prompt, width, +5 more.
kobold_versionB
Get KoboldAI version information
Inputs: apiUrl.
kobold_web_searchC
Search the web via DuckDuckGo
Inputs: query (required), apiUrl.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 20 tools
Most tools have distinct purposes (e.g., text generation vs. image generation vs. utility functions), but there is some overlap between kobold_chat and kobold_complete (both for text generation) and kobold_token_count and kobold_detokenize (both token-related). Descriptions help clarify, but an agent might occasionally confuse similar tools.
All tool names follow a consistent snake_case pattern with a 'kobold_' prefix and descriptive suffixes (e.g., kobold_generate, kobold_model_info). This uniformity makes the set predictable and easy to navigate, with no deviations in style.
With 20 tools, the count is borderline high for a single server, as it covers diverse domains like text generation, image processing, audio, and utilities. While each tool serves a purpose, the scope feels broad, potentially overwhelming for agents focused on specific tasks.
The tool set covers core AI functionalities well, including text and image generation, audio processing, and model management. Minor gaps exist, such as no explicit tool for updating settings or managing generation parameters beyond aborting, but agents can work around these with the available tools.
Maintenance
Related MCP Connectors
MCP server for OpenAI API (chat completions, image generation, embeddings) via AceDataCloud
An MCP server that integrates with Discord to provide AI-powered features.
An MCP server that provides agents access to the KeldynAI platform
MCP server for AI dialogue using various LLM models via AceDataCloud
Related MCP Servers
- AlicenseAqualityDmaintenanceAn MCP server that enables AI applications to access 20+ model providers (including OpenAI, Anthropic, Google) through a unified interface for text and image generation.230MIT
- AlicenseAqualityDmaintenanceMCP server for AI image generation supporting text-to-image and image-to-image editing via any OpenAI-compatible service, with configurable models, aspect ratios, and sizes.2MIT
- FlicenseNot gradedqualityDmaintenanceMCP server for OpenAI ChatGPT API. Enables chat completions, vision analysis, embeddings, and model listing through natural language.-
- AlicenseNot gradedqualityBmaintenanceAn MCP server that exposes NovelAI image generation as tools for AI agents, supporting txt2img, img2img, inpaint, upscaling, Director tools, ControlNet annotation, tag suggestions, vibe encoding, and subscription queries via stdio or streamable-http transports.12MIT