Part of the Facet line (寻数·谦面) — The open, harness-agnostic execution substrate — skills, memory, and capability domains on machines you choose.
One image, two deployments (the face is selected by FACET_OPS_FACE):
| Face | Service | Upstream surface | Credential (Yizuo ref) |
|---|---|---|---|
| registry (default) | facet-ops-mcp (:31892) | Registry gateway AgentCard /api/agents* |
registry (existing) |
| market | facet-market-mcp (:31893) | Facet marketplace /api/packs* |
facet-market (C1.1-B: Ed25519 device key + silent challenge renewal) |
Five-line AI operations surface, C1/C1.1 slice: the registry face = AgentCard catalogue operations; the market face = publish packs to the Facet marketplace (flagship) plus browse / version / visibility / curation.
- Contract:
openspec/changes/facet-ops-mcp/specs/facet-ops-mcp/spec.md(finddata workspace) - Integration rules:
LINES-MCP-CONFORMANCE.md(five-line conformance checklist) - Decision source: paas
docs/yizuo-platform-roadmap.md, "AI operations surface" section
Every tool call takes the inbound MCP request's Authorization and forwards it verbatim to the registry — executing as the calling user, with visibility and write permissions decided by the registry. This service stores no credentials. The HTTP auth gate: anonymous POST /mcp → 401; registry 401 → 401 (Yizuo preflight probes see auth-rejected); registry unreachable → pass through (the tool layer honestly reports unreachable).
| Tool | Registry endpoint | Writes |
|---|---|---|
facet_catalog_browse |
GET /api/agents |
|
facet_agent_read |
GET /api/agents/{path} |
|
facet_agent_publish |
POST /api/agents/register (AgentCard registration) |
✅ |
facet_agent_update |
PUT /api/agents/{path} |
✅ |
facet_agent_toggle |
POST /api/agents/{path}/toggle |
✅ |
facet_agent_duplicate_check |
POST /api/agents/check-duplicates (always 200) |
| Variable | Default | Meaning |
|---|---|---|
FACET_OPS_FACE |
registry |
registry | market face switch |
FACET_OPS_REGISTRY_BASE_URL |
https://mcp.finddatatech.cloud |
Registry gateway base URL |
FACET_OPS_MARKET_BASE_URL |
https://facet.finddatatech.cloud |
Facet marketplace base URL |
FACET_OPS_TIMEOUT_SECONDS |
15 |
Upstream timeout |
FACET_OPS_AUTH_CACHE_TTL |
60 |
Auth-gate check cache TTL (seconds) |
pip install -e ".[dev]"
pytest # tests
python3 scripts/selfcheck_surface.py # both-face surface selfcheck (12 tools)
facet-ops-mcp serve --port 8000 # /health ungated; /mcp behind the auth gate