
KoboldAI
STDIOKoboldAI integration server supporting text generation, chat completion, and Stable Diffusion
KoboldAI integration server supporting text generation, chat completion, and Stable Diffusion
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.
npm install kobold-mcp-server
import { KoboldMCPServer } from 'kobold-mcp-server'; // Initialize the server const server = new KoboldMCPServer(); // Start the server server.start();
The server can be configured through environment variables or a configuration object:
const config = { apiUrl: 'http://localhost:5001' // KoboldAI API endpoint }; const server = new KoboldMCPServer(config);
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.5Contributions welcome! Please feel free to submit a Pull Request.
MIT License - see LICENSE file for details.
For issues and feature requests, please use the GitHub issue tracker.