Yasin-MCP
Yasin-MCP
Автономный уровень доступа и интеграции MCP (Model Context Protocol) для ИИ/агентов в экосистеме Yasin.
Миссия
Yasin-MCP предоставляет доступ только для чтения и структурированный доступ к информации экосистемы Yasin (реестр проектов, документация, состояние репозитория GitHub, диагностика выполнения) через протокол MCP, чтобы ИИ-агенты и MCP-клиенты могли запрашивать состояние экосистемы без необходимости прямого неограниченного доступа к какому-либо отдельному репозиторию или сервису.
Related MCP server: ccpedia
Статус
Только фаза 0, проблема №1 (начальная настройка репозитория и инженерный базовый уровень). Сервер MCP пока не существует. Адаптеры доменов (YASIN-DOCS, GitHub, Yasin-Operations) пока не существуют. Эта проблема только устанавливает структуру пакета, инструменты и примитивы безопасности (модель ошибок, политику запрета по умолчанию, обработку секретов), на которых будет строиться всё остальное.
Примечание о происхождении архитектуры
В исходном описании задачи для этого проекта указано, что YASIN-DOCS является «канонической архитектурой и границей» для Yasin-MCP. Прямая проверка репозитория yusi20006-max/YASIN-DOCS (и поиск по коду «Yasin-MCP»/«MCP», и прямая проверка PROJECT_REGISTRY.yaml и ECOSYSTEM.md) показала, что в этом репозитории нет упоминаний Yasin-MCP на момент создания этой проблемы.
Это означает, что реализованная здесь архитектура напрямую выведена из описаний проблем №1–№10 этого проекта (которые подробны и непротиворечивы), а не из документа YASIN-DOCS, которого в настоящее время не существует. Если/когда YASIN-DOCS будет обновлён и включит Yasin-MCP, этот документ должен стать источником истины, а это примечание следует удалить или обновить, указав, где он теперь находится.
Архитектурные границы
Yasin-MCP не заменяет YASIN-DOCS, Yasin-Core, Yasin-Agent, Yasin-AI, YasinHub, YasinCLI или Yasin-Operations.
Фаза 1 строго только для чтения: никаких изменений в репозиториях, развертывания, изменения жизненного цикла (запуск/остановка/перезапуск), изменения памяти, произвольного выполнения shell/команд.
Никаких частных импортов между репозиториями. Интеграции используют публичные API, SDK, контракты или явные адаптеры только для чтения.
Существующие проекты Yasin не должны зависеть от Yasin-MCP.
Политика запрета по умолчанию (
policies/policy.py) отклоняет любую возможность, имя которой соответствует запрещённому шаблону (exec,shell,command,request,arbitrary,filesystem,deploy,delete,start_/stop_/restart_) или которая объявляет себя изменяющей, пока действует фаза 1 — применяется на этапе конструирования, а не только при регистрации.
Структура пакета
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Модель доказательств
Ответы, сообщающие о состоянии экосистемы, должны помечать информацию одним из следующих способов:
CONFIRMED— непосредственно наблюдалось из живого авторитетного источникаTARGET— задокументированное намерение/архитектура, не проверено на работающей системеPROPOSED— предложение или план, ещё нигде не реализованоUNRESOLVED— не удалось определить; не должно представляться как факт
Разработка
pip install -e ".[dev]"
pytest
ruff check .
ruff format --check .
mypy src
bandit -q -r srcAvailable Tools
22 toolsyasin_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_docs_searchD
Inputs: query (required), path_prefix. 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
Scored across 22 tools
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.
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.
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.
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
Related MCP Connectors
Read-only MCP tools for AI agent discovery, structured resources, and NIULAI information.
The Cortex MCP server provides read-only access to real-time engineering context from the Cortex developer portal, allowing AI coding assistants to answer natural language questions about your organization's catalog (microservices, libraries, domains, teams, infrastructure), scorecards (engineering standards and best practices), initiatives (goals and deadlines), and Engineering Intelligence metrics. It includes tools for querying documentation, tracking personal entities, and accessing AI-assisted insights across the entire Cortex ecosystem.
Read-only discovery of ChatGXT's integration catalog and public MCP capabilities.
Agent-native MCP server over the public saagarpatel.dev corpus. Read-only, stateless.
Related MCP Servers
- AlicenseNot gradedqualityCmaintenanceA read-only MCP server that provides AI agents with live, structured workspace awareness, including project listing, git status, and budgeted context packing, minimizing token usage.7 npm2MIT
- AlicenseNot gradedqualityBmaintenanceEnables 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
- AlicenseNot gradedqualityDmaintenanceServes local and remote repositories over MCP, enabling AI models to search and retrieve code snippets, file contents, and repository structures on demand.MIT
- AlicenseNot gradedqualityCmaintenanceEnables 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