JUHE API Marketplace
PhialsBasement avatar
MCP Server

Kobold MCP Server

A server enabling integration between KoboldAI's text generation capabilities and MCP-compatible applications, with features like chat completion, Stable Diffusion, and OpenAI-compatible API endpoints.

7
GitHub Stars
11/17/2025
Last Updated
No Configuration
Please check the documentation below.
  1. Home
  2. MCP Servers
  3. KoboldCPP-MCP-Server

README Documentation

MseeP.ai Security Assessment Badge

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

Kobold Server MCP server

Installation

npm install kobold-mcp-server

Prerequisites

  • Node.js (v16 or higher)
  • npm or yarn package manager
  • Running KoboldAI instance

Usage

import { KoboldMCPServer } from 'kobold-mcp-server';

// Initialize the server
const server = new KoboldMCPServer();

// Start the server
server.start();

Configuration

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);

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

  1. Clone the repository:
git clone https://github.com/yourusername/kobold-mcp-server.git
cd kobold-mcp-server
  1. Install dependencies:
npm install
  1. Build the project:
npm run build

Dependencies

  • @modelcontextprotocol/sdk: ^1.0.1
  • node-fetch: ^2.6.1
  • zod: ^3.20.0
  • zod-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.

Quick Actions

View on GitHubView All Servers

Key Features

Model Context Protocol
Secure Communication
Real-time Updates
Open Source

Boost your projects with Wisdom Gate LLM API

Supporting GPT-5, Claude-4, DeepSeek v3, Gemini and more.

Enjoy a free trial and save 20%+ compared to official pricing.

Learn More
JUHE API Marketplace

Accelerate development, innovate faster, and transform your business with our comprehensive API ecosystem.

JUHE API VS

  • vs. RapidAPI
  • vs. API Layer
  • API Platforms 2025
  • API Marketplaces 2025
  • Best Alternatives to RapidAPI

For Developers

  • Console
  • Collections
  • Documentation
  • MCP Servers
  • Free APIs
  • Temp Mail Demo

Product

  • Browse APIs
  • Suggest an API
  • Wisdom Gate LLM
  • Global SMS Messaging
  • Temp Mail API

Company

  • What's New
  • Welcome
  • About Us
  • Contact Support
  • Terms of Service
  • Privacy Policy
Featured on Startup FameFeatured on Twelve ToolsFazier badgeJuheAPI Marketplace - Connect smarter, beyond APIs | Product Huntai tools code.marketDang.ai
Copyright © 2025 - All rights reserved