Kobold MCP Server
A Model Context Protocol (MCP) server implementation for interfacing with KoboldAI. This server enables integration between KoboldAI's text generation capabilities and MCP-compatible applications.
Features
- Text generation with KoboldAI
- Chat completion with persistent memory
- OpenAI-compatible API endpoints
- Stable Diffusion integration
- Built on the official MCP SDK
- TypeScript implementation
Installation
Prerequisites
- Node.js (v16 or higher)
- npm or yarn package manager
- Running KoboldAI instance
Usage
Configuration
The server can be configured through environment variables or a configuration object:
Supported APIs
- Core KoboldAI API (text generation, model info)
- Chat completion with conversation memory
- Text completion (OpenAI-compatible)
- Stable Diffusion integration (txt2img, img2img)
- Audio transcription and text-to-speech
- Web search capabilities
Development
- Clone the repository:
- Install dependencies:
- Build the project:
Dependencies
@modelcontextprotocol/sdk
: ^1.0.1node-fetch
: ^2.6.1zod
: ^3.20.0zod-to-json-schema
: ^3.23.5
Contributing
Contributions welcome! Please feel free to submit a Pull Request.
License
MIT License - see LICENSE file for details.
Support
For issues and feature requests, please use the GitHub issue tracker.
remote-capable server
The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.
Tools
一个服务器,支持 KoboldAI 的文本生成功能和 MCP 兼容应用程序之间的集成,具有聊天完成、稳定扩散和 OpenAI 兼容 API 端点等功能。
Related Resources
Related MCP Servers
- -securityFlicense-qualityAn auto-generated MCP server that enables interaction with the OpenAI API, allowing users to access OpenAI's models and capabilities through the Multi-Agent Conversation Protocol.Last updated -
- AsecurityAlicenseAqualityAn MCP server that enables AI applications to access 20+ model providers (including OpenAI, Anthropic, Google) through a unified interface for text and image generation.Last updated -221MIT License
- -securityFlicense-qualityAn MCP server that provides user dialogue capabilities for AI code editors, allowing AI to interact with users through dialog boxes when needing input during the coding process.Last updated -
- -securityAlicense-qualityAn MCP server that provides deep knowledge about OpenAI APIs and SDKs, enabling users to query technical information through various MCP clients including ChatGPT Deep Research, Cursor, and OpenAI Responses API.Last updated -10MIT License