Files
computer-playbook/roles/web-app-moodle/meta/mcp.yml
kevinveenbirkenbachandClaude Opus 5 346ad875c6 refactor(mcp): drop the two provenance fields nothing reads
supported_version and minimum_version sat in 24 roles and were read by no template, no task and no lookup. Their only consumer was the audit report version column, which turned false the moment an automated image bump ran: qdrant reported a verified version nobody had verified, two releases long. Both leave MCP_KEYS, so a role that declares them again fails the schema lint instead of carrying a field with no effect.

Requirement 025 mandated minimum_version as a MUST and 035 carried it in an example; both are corrected here, otherwise the repository would contradict its own code.

The gate then surfaced five dead docs.mattermost.com links. Mattermost moved to /administration-guide/ and /deployment-guide/, and every replacement was probed for 200 rather than guessed. The MCP page is gone with no successor, so mattermost now points at mcpserver/README.md in the Agents repository, the source rather than a rendered mirror.

Both concerns share three files - mattermost's meta/mcp.yml, requirement 025, and the generated audit.md, which derives from a source of each - so splitting them would commit an artifact that does not match its sources.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-09-03 19:31:08 +02:00

38 lines
872 B
YAML

---
classification: plugin_server
direction: server
source_url: https://moodle.org/plugins/webservice_mcp
transport: streamable_http
exposure: public
auth: bearer_token
auth_subject: service_account
implementation: plugin
credential:
owner: mcp-web-app-moodle
source: token_store
key: web-app-moodle
endpoint:
service_key: nginx
path: /webservice/mcp/server.php
port_key: http
limits:
request_bytes: 65536
response_bytes: 1048576
timeout_seconds: 15
concurrent_requests: 4
page_size: 100
result_items: 500
stream_seconds: 300
tools:
read_probe:
tool: core_course_get_courses
arguments: {}
allowlist:
- core_calendar_get_calendar_events
- core_course_get_courses
- core_enrol_get_users_courses
- core_user_get_users_by_field
- core_webservice_get_site_info
read_only_default: true
mutating_tools_enabled: false