20 lines
890 B
YAML
20 lines
890 B
YAML
{
|
|
"apiVersion": "hub.example.com/v1alpha1",
|
|
"kind": "ToolManifest",
|
|
"metadata": {"name": "Gitea MCP Self-test", "slug": "gitea-selftest-run"},
|
|
"spec": {
|
|
"canonicalName": "gitea.selftest.run",
|
|
"version": "1.12.0",
|
|
"connectorType": "gitea",
|
|
"description": "Run bounded non-mutating handler-parity, Gitea connectivity, write-runtime and managed-Actions probes. Use this to diagnose an MCP connection before repository work.",
|
|
"riskClass": "R1",
|
|
"readOnly": true,
|
|
"idempotent": true,
|
|
"inputSchema": {"type": "object", "additionalProperties": false, "properties": {"mode": {"type": "string", "enum": ["read", "guarded-write"], "default": "read"}}},
|
|
"outputSchema": {"type": "object"},
|
|
"limits": {"timeoutMs": 30000, "maxOutputBytes": 65536, "maxItems": 10},
|
|
"redactionProfile": "strict",
|
|
"requiredScopes": ["project:{project}:read"]
|
|
}
|
|
}
|