Skip to main content
Glama

Yasin-MCP

Standalone, KI-/Agenten-orientierte MCP-Zugriffs- und Integrationsschicht (Model Context Protocol) für das Yasin-Ökosystem.

Mission

Yasin-MCP bietet über das MCP-Protokoll schreibgeschützten, strukturierten Zugriff auf Informationen des Yasin-Ökosystems (Projektregister, Dokumentation, GitHub-Repository-Zustand, Laufzeitdiagnose), sodass KI-Agenten und MCP-Clients den Zustand des Ökosystems abfragen können, ohne direkten, uneingeschränkten Zugriff auf ein einzelnes Repository oder einen Dienst zu benötigen.

Related MCP server: ccpedia

Status

Nur Phase 0, Issue #1 (Repository-Bootstrap und technische Grundlage). Es existiert noch keine MCP-Server-Laufzeit. Es existiert noch kein Domänenadapter (YASIN-DOCS, GitHub, Yasin-Operations). Dieses Issue legt lediglich die Paketstruktur, die Werkzeuge und die Sicherheitsprimitive (Fehlermodell, Deny-by-default-Richtlinie, Geheimnisbehandlung) fest, auf denen alles Weitere aufbauen wird.

Ein Hinweis zur Herkunft der Architektur

Die ursprüngliche Aufgabenbeschreibung für dieses Projekt besagt, dass YASIN-DOCS „die kanonische Architektur und Grenze“ für Yasin-MCP ist. Eine direkte Überprüfung des Repositorys yusi20006-max/YASIN-DOCS (sowohl eine Codesuche nach „Yasin-MCP“/„MCP“ als auch eine direkte Prüfung von PROJECT_REGISTRY.yaml und ECOSYSTEM.md) ergab keinerlei Erwähnung von Yasin-MCP in diesem Repository zum Zeitpunkt dieses Issues.

Das bedeutet, dass die hier implementierte Architektur direkt aus den Beschreibungen der Issues #1–#10 dieses Projekts abgeleitet ist (die detailliert und in sich konsistent sind), nicht aus einem YASIN-DOCS-Dokument, das derzeit nicht existiert. Falls/wenn YASIN-DOCS aktualisiert wird, um Yasin-MCP aufzunehmen, sollte dies zur Quelle der Wahrheit werden, und dieser Hinweis sollte entfernt oder aktualisiert werden, um den neuen Ort widerzuspiegeln.

Architekturgrenze

  • Yasin-MCP ersetzt nicht YASIN-DOCS, Yasin-Core, Yasin-Agent, Yasin-AI, YasinHub, YasinCLI oder Yasin-Operations.

  • Phase 1 ist strikt schreibgeschützt: keine Repository-Mutation, keine Bereitstellung, keine Lebenszyklus-Mutation (Start/Stopp/Neustart), keine Speicher-Mutation, keine beliebige Shell-/Befehlsausführung.

  • Keine privaten repositoryübergreifenden Importe. Integrationen nutzen öffentliche APIs, SDKs, Verträge oder explizite schreibgeschützte Adapter.

  • Bestehende Yasin-Projekte dürfen nicht von Yasin-MCP abhängig werden.

  • Eine Deny-by-default-Richtliniengrenze (policies/policy.py) lehnt jede Fähigkeit ab, deren Name einem verbotenen Muster entspricht (exec, shell, command, request, arbitrary, filesystem, deploy, delete, start_/stop_/restart_) oder die sich selbst als mutierend deklariert, während Phase 1 in Kraft ist – durchgesetzt zur Konstruktionszeit, nicht erst bei der Registrierung.

Paketstruktur

src/yasin_mcp/
    server/        MCP server runtime (Issue #4)
    protocol/       MCP protocol types/boundary (Issue #2)
    capabilities/   capability descriptor + discovery (Issue #2)
    tools/          MCP tool implementations (Issue #4+)
    resources/      MCP resource implementations (Issue #4+)
    adapters/       domain adapters: YASIN-DOCS, GitHub, Yasin-Operations (Issue #5-7)
    policies/       deny-by-default policy boundary
    errors/         structured error model (McpError + ErrorCategory)
    audit/          structured logging, correlation IDs
    config/         configuration model, secret handling
    version.py      package version, EvidenceStatus enum

Evidenzmodell

Antworten, die den Zustand des Ökosystems melden, sollten Informationen mit einem der folgenden Werte kennzeichnen:

  • CONFIRMED — direkt von einer live, autoritativen Quelle beobachtet

  • TARGET — dokumentierte Absicht/Architektur, nicht gegen ein laufendes System verifiziert

  • PROPOSED — ein Vorschlag oder Plan, noch nirgendwo implementiert

  • UNRESOLVED — konnte nicht ermittelt werden; darf nicht als Tatsache dargestellt werden

Entwicklung

pip install -e ".[dev]"
pytest
ruff check .
ruff format --check .
mypy src
bandit -q -r src

Available Tools

22 tools
yasin_docs_get_adrD

Inputs: name (required). Returns: object

yasin_docs_get_documentD

Inputs: path (required). Returns: object

yasin_docs_get_project_architectureD

Inputs: project (required). Returns: object

yasin_docs_list_adrsD

Inputs: no named parameters. Returns: object

yasin_docs_list_architectureD

Inputs: no named parameters. Returns: object

yasin_docs_list_documentsD

Inputs: no named parameters. Returns: object

yasin_github_get_commit_statusD

Inputs: sha (required), owner (required), repository (required). Returns: object

yasin_github_get_issueD

Inputs: owner (required), number (required), repository (required). Returns: object

yasin_github_get_pull_requestD

Inputs: owner (required), number (required), repository (required). Returns: object

yasin_github_get_repositoryD

Inputs: owner (required), repository (required). Returns: object

yasin_github_list_branchesD

Inputs: owner (required), repository (required), limit. Returns: object

yasin_github_list_commitsD

Inputs: owner (required), repository (required), limit. Returns: object

yasin_github_list_issuesD

Inputs: owner (required), repository (required), limit. Returns: object

yasin_github_list_pull_requestsD

Inputs: owner (required), repository (required), limit. Returns: object

yasin_github_list_releasesD

Inputs: owner (required), repository (required), limit. Returns: object

yasin_github_list_workflow_runsD

Inputs: owner (required), repository (required), limit. Returns: object

yasin_gov_apply_markD

Inputs: mark. Returns: object

yasin_gov_ping_low_riskD

Inputs: no named parameters. Returns: object

yasin_registry_get_projectD

Inputs: name (required). Returns: object

yasin_registry_list_dependenciesD

Inputs: name (required). Returns: object

yasin_registry_list_projectsD

Inputs: no named parameters. Returns: object

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    D1.8/5.0

    Scored across 22 tools

    Disambiguation4/5

    The domain prefixes make docs, GitHub, registry, and governance tools easy to separate, and most operations target a clear resource. However, yasin_docs_list_architecture and yasin_docs_get_project_architecture are easy to confuse, and yasin_docs_search overlaps somewhat with yasin_docs_list_documents.

    Naming Consistency4/5

    Nearly all tools follow a yasin_<domain>_<verb>_<resource> pattern with consistent list_/get_ prefixes. Exceptions like yasin_docs_search, yasin_gov_ping_low_risk, and yasin_gov_apply_mark break the verb convention, though the domain prefixes keep the overall scheme readable.

    Tool Count3/5

    At 22 tools, the server sits in the heavy range and spans four distinct domains, making the surface feel larger than necessary. It is not extreme, but several similar read-only GitHub and docs tools make the count feel slightly bloated.

    Completeness3/5

    The server covers a broad read-only surface for docs, GitHub, registry, and governance, but it lacks write/update/delete operations and some get-by-id counterparts for list-only resources like commits and workflow runs. This leaves notable gaps if the server is intended to support end-to-end documentation or repository workflows.

    Maintenance

    ActivityNo data
    ResponsivenessOutdated data

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      B
      maintenance
      Enables AI agents to query the Canton Network ecosystem through a unified MCP endpoint, providing live data from forums, GitHub, docs, CIPs, and more with read-only access.
      Apache 2.0
    • A
      license
      Not graded
      quality
      C
      maintenance
      Enables AI clients to observe local codebases in real time through a secure, read-only MCP interface, providing workspace snapshots, git history and diffs, cross-project search, and project reality coverage without write access.
      MIT