Skip to main content
Glama

Kobold MCP Server

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

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
security – no known vulnerabilities
A
license - permissive license
A
quality - confirmed to work

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.

Ein Server, der die Integration zwischen den Textgenerierungsfunktionen von KoboldAI und MCP-kompatiblen Anwendungen ermöglicht, mit Funktionen wie Chat-Vervollständigung, stabiler Diffusion und OpenAI-kompatiblen API-Endpunkten.

  1. Merkmale
    1. Installation
      1. Voraussetzungen
        1. Verwendung
          1. Konfiguration
            1. Unterstützte APIs
              1. Entwicklung
                1. Abhängigkeiten
                  1. Beitragen
                    1. Lizenz
                      1. Unterstützung

                        Related MCP Servers

                        • -
                          security
                          F
                          license
                          -
                          quality
                          An 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 -
                          Python
                        • A
                          security
                          A
                          license
                          A
                          quality
                          An 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 -
                          2
                          12
                          Python
                          MIT License
                        • -
                          security
                          F
                          license
                          -
                          quality
                          An 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 -
                          Python
                        • -
                          security
                          A
                          license
                          -
                          quality
                          An 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 -
                          9
                          TypeScript
                          MIT License

                        View all related MCP servers

                        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