Skip to main content
Glama

Kobold MCP Server

Eine Model Context Protocol (MCP)-Serverimplementierung für die Schnittstelle zu KoboldAI. Dieser Server ermöglicht die Integration zwischen den Textgenerierungsfunktionen von KoboldAI und MCP-kompatiblen Anwendungen.

Merkmale

  • Textgenerierung mit KoboldAI

  • Chat-Vervollständigung mit persistentem Speicher

  • OpenAI-kompatible API-Endpunkte

  • Stabile Diffusionsintegration

  • Basierend auf dem offiziellen MCP SDK

  • TypeScript-Implementierung

Related MCP server: Outsource MCP

Installation

npm install kobold-mcp-server

Voraussetzungen

  • Node.js (v16 oder höher)

  • npm oder yarn Paketmanager

  • Ausführen einer KoboldAI-Instanz

Verwendung

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

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

// Start the server
server.start();

Konfiguration

Der Server kann über Umgebungsvariablen oder ein Konfigurationsobjekt konfiguriert werden:

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

Unterstützte APIs

  • Core KoboldAI API (Textgenerierung, Modellinformationen)

  • Chat-Vervollständigung mit Gesprächsspeicher

  • Textvervollständigung (OpenAI-kompatibel)

  • Stabile Diffusionsintegration (txt2img, img2img)

  • Audiotranskription und Text-to-Speech

  • Websuchfunktionen

Entwicklung

  1. Klonen Sie das Repository:

git clone https://github.com/yourusername/kobold-mcp-server.git
cd kobold-mcp-server
  1. Installieren Sie Abhängigkeiten:

npm install
  1. Erstellen Sie das Projekt:

npm run build

Abhängigkeiten

  • @modelcontextprotocol/sdk : ^1.0.1

  • node-fetch : ^2.6.1

  • zod : ^3.20.0

  • zod-to-json-schema : ^3.23.5

Beitragen

Beiträge sind willkommen! Senden Sie uns gerne einen Pull Request.

Lizenz

MIT-Lizenz – Einzelheiten finden Sie in der Datei LICENSE.

Unterstützung

Verwenden Sie für Probleme und Funktionsanfragen bitte den GitHub-Issue-Tracker.

Install Server
A
license - permissive license
C
quality
F
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Servers

View all related MCP servers

Related MCP Connectors

View all MCP Connectors

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/PhialsBasement/KoboldCPP-MCP-Server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server