Skip to main content
Glama

astrbot-mcp

AstrBot MCP Server — Bietet Tool-Schnittstellen für die AstrBot-Plugin-Entwicklung.

Funktionen

  • get_doc: Ruft den Inhalt der AstrBot-Entwicklungsdokumentation ab

  • list_docs: Listet alle verfügbaren Dokumente auf

  • search_docs: Durchsucht Dokumente nach Schlüsselwörtern

  • get_hook_inventory: Ruft das vollständige Hook-Inventar ab

Related MCP server: CHECK-MODULE MCP Server

Installation

Voraussetzungen

  • Python 3.10+

  • AstrBot-Skill Repository (bietet Dokumentationsreferenzen)

Konfiguration

  1. Klonen Sie dieses Repository und AstrBot-Skill in dasselbe Verzeichnis:

mkdir astrbot-workspace && cd astrbot-workspace
git clone https://github.com/EterUltimate/AstrBot-Skill.git
git clone https://github.com/EterUltimate/astrbot-mcp.git
  1. Abhängigkeiten installieren:

cd astrbot-mcp
pip install -r requirements.txt
  1. Passen Sie die Pfadkonfiguration in config.yaml nach Bedarf an (standardmäßig wird das benachbarte AstrBot-Skill-Repository automatisch gefunden).

Ausführung

python server.py

Konfigurationshinweise

config.yaml Wichtige Konfigurationsoptionen:

Feld

Beschreibung

Standardwert

docs.base_path

Pfad zum Dokumentationsverzeichnis

../AstrBot-Skill/skill-astrbot-dev/references

hooks.generator_script

Pfad zum Skript zur Generierung des Hook-Inventars

../AstrBot-Skill/scripts/generate_hook_inventory.py

hooks.output_path

Ausgabepfad für das Hook-Inventar

../AstrBot-Skill/skill-astrbot-dev/.tmp/hook_inventory

server.transport

Übertragungsmethode

stdio

sse.host

SSE-Host (wenn transport=sse)

localhost

sse.port

SSE-Port

3000

Pfade unterstützen sowohl relative Pfade (basierend auf dem Verzeichnis der config.yaml) als auch absolute Pfade.

Beziehung zu AstrBot-Skill

Dieses Repository ist eine Auslagerung des MCP-Servers aus AstrBot-Skill. Die Dokumentationsinhalte werden im Verzeichnis skill-astrbot-dev/references/ des AstrBot-Skill-Repositorys gespeichert. Dieser Dienst liest sie über das Dateisystem und stellt MCP-Tool-Schnittstellen bereit.

Lizenz

MIT

Related MCP Connectors

Related MCP Servers

  • A
    license
    Not graded
    quality
    D
    maintenance
    Provides documentation generation and analysis tools for AI agents, including JSDoc generation, README analysis, changelog generation, API documentation, and code comment analysis.
    44 npm
    MIT
  • A
    license
    Not graded
    quality
    D
    maintenance
    Provides MCP tools to list and search OpenAI Agents SDK documentation, enabling LLMs to retrieve documentation topics and content via natural language queries.
    MIT
  • F
    license
    A
    quality
    D
    maintenance
    Exposes the Dalamud plugin API documentation to AI assistants, enabling them to answer questions about services, types, and methods for writing FFXIV Dalamud plugins.
    11
    1
    -