Kobold MCP Server

Integrations

  • Supports contributing through GitHub and using the GitHub issue tracker for support

  • Provides OpenAI-compatible API endpoints for text completion

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.

You must be authenticated.

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

                        • A
                          security
                          A
                          license
                          A
                          quality
                          A TypeScript-based MCP server that interacts with Contentful's Delivery API, enabling users to create, query, and summarize text notes through natural language.
                          Last updated -
                          26
                          6
                          TypeScript
                          MIT License
                          • Apple
                        • -
                          security
                          A
                          license
                          -
                          quality
                          An MCP server that implements a conversational AI 'waifu' character using a text generation service with Redis queuing and GPU acceleration.
                          Last updated -
                          1
                          Python
                          MIT No Attribution
                        • -
                          security
                          A
                          license
                          -
                          quality
                          A server that integrates the MCP library with OpenAI's API, allowing users to interact with various tools, such as the weather tool, through natural language queries.
                          Last updated -
                          Python
                          MIT License
                        • -
                          security
                          -
                          license
                          -
                          quality
                          An MCP server that enables LLMs to generate spoken audio from text using OpenAI's Text-to-Speech API, supporting various voices, models, and audio formats.
                          Last updated -
                          1
                          JavaScript
                          MIT License

                        View all related MCP servers

                        ID: a2xd4hoij7