{"$schema":"https://wellknown.network/schemas/agent-record-v1.json","schemaVersion":"1","id":"ag_3e4pck4z4w62","handle":"focal-mcp-server","url":"https://wellknown.network/agents/focal-mcp-server","links":{"self":"https://wellknown.network/agents/focal-mcp-server/record.json","html":"https://wellknown.network/agents/focal-mcp-server","markdown":"https://wellknown.network/agents/focal-mcp-server/record.md","api":"https://wellknown.network/api/v1/agents/focal-mcp-server","status":"https://wellknown.network/api/v1/agents/focal-mcp-server/status","claim":"https://wellknown.network/agents/focal-mcp-server/claim","claimApi":"https://wellknown.network/api/v1/claims","claimDescriptor":"https://wellknown.network/agents/focal-mcp-server/claim.json","badge":"https://wellknown.network/agents/focal-mcp-server/badge.svg","openapi":"https://wellknown.network/openapi.json","history":"https://wellknown.network/api/v1/agents/focal-mcp-server/history","tools":"https://wellknown.network/api/v1/agents/focal-mcp-server/tools"},"ard":{"identifier":"urn:air::server:focal-mcp-server","type":"application/mcp-server-card+json"},"kind":"mcp_server","declared":{"name":"focal-mcp-server","summary":"FOCAL MCP Server (Framework for Orchestrated Central AI ruLes)","description":"# FOCAL MCP Server\n\nFOCAL MCP (Framework for Orchestrated Central AI ruLes) is a local MCP server that centralizes AI behavior rules and injects them across tools like Codex, Claude Code, and Cursor.\n\n## What This Server Does\n- Stores rules in a user home workspace: `~/.focal_mcp/workspace`\n- Serves a web UI to edit rules as files\n- Exposes MCP prompts/resources + list_changed notifications\n- Provides a `focal_rules` tool so agents can fetch the latest rules before every response\n\n## Project Layout (Refactored)\n```\nFOCAL-MCP/\n  README.md\n  SPEC.md\n  agents.md\n  pyproject.toml\n  src/\n    focal_mcp_server/\n      app.py\n      mcp.py\n      notifications.py\n      web.py\n      workspace.py\n      logging_utils.py\n```\n\n## Quick Start\n```bash\nuvx --from . focal-mcp-server\n```\n\nWeb UI:\n```\nhttp://127.0.0.1:8765\n```\n\nMCP endpoint:\n```\nhttp://127.0.0.1:8765/mcp\n```\n\nWebSocket notifications:\n```\nws://127.0.0.1:8765/mcp/ws\n```\n\n## Workspace\nRules are stored outside the repo:\n```\n~/.focal_mcp/workspace/\n  core/\n    system.md\n    style.md\n    safety.md\n    tool_policy.md\n  agents/\n```\n\n## MCP Behavior\n- `initialize` returns instructions that include a runtime directive to call `focal_rules` before every response.\n- `tools/list` exposes `focal_rules` which returns the latest rules from disk.\n- Rule changes trigger:\n  - `notifications/prompts/list_changed`\n  - `notifications/resources/list_changed`\n\n## Project Prompt (Codex)\nThe repository-level prompt for Codex lives in:\n```\nagents.md\n```\n\n## Development Notes\n- This project uses a `src/` layout for the Python package.\n- Use `SPEC.md` as the single source of truth for behavior, interfaces, and constraints.\n\n## Roadmap (Next)\n- Manage rules per project when working across multiple repos\n- UI/UX improvements for rule editing and visibility\n\n## Publish to PyPI (Option A)\n\n1. Create a PyPI token with scope for this project.\n2. Add the token to GitHub repository secrets as `PYPI_API_TOKEN`.\n3. Tag and push a release:\n\n```bash\ngit tag v0…","publisher":null,"homepage":"https://github.com/BAESI/focal-mcp","repository":"https://github.com/BAESI/focal-mcp","version":"0.1.1","license":"MIT","protocols":["mcp"],"tags":["mcp"],"pricing":null,"endpoints":[{"url":"pypi:focal-mcp-server","type":"package_pypi","auth":null,"probeable":false}],"skills":null,"tools":null,"extra":null,"attribution":{"kind":"pypi","name":"pypi","license":"pypi","repoUrl":"pypi","summary":"pypi","version":"pypi","description":"pypi","homepageUrl":"pypi"}},"derived":{"capabilities":[{"slug":"dev.version-control","name":"Version Control","confidence":1,"provenance":"derived"},{"slug":"communication.notifications","name":"Notifications","confidence":0.825,"provenance":"derived"},{"slug":"dev.package-management","name":"Packages & Dependencies","confidence":0.768,"provenance":"derived"}],"categories":["communication","dev"],"language":"en"},"observed":{"status":"unknown","statusReason":"Distributed as a package to run locally; no network endpoint to check.","lastOkAt":null,"lastProbedAt":null,"statusComputedAt":null,"reliability30d":null,"latestObservations":[],"tools":null,"package":{"name":"focal-mcp-server","registry":"pypi","observedAt":"2026-10-28T01:26:37.585Z","publishedAt":"2026-02-04T09:50:53.579137Z","latestVersion":"0.1.1"},"toolSurface":null,"endpointFacts":[]},"verification":{"claimed":false,"claimedAt":null,"proofs":[]},"provenance":{"sources":[{"source":"pypi","key":"focal-mcp-server","url":"https://pypi.org/project/focal-mcp-server/","firstSeenAt":"2026-09-09T15:23:29.523Z","fetchedAt":"2026-10-28T01:25:23.756Z","normalizedAt":"2026-10-28T01:25:23.756Z"}]},"firstSeenAt":"2026-09-09T15:23:29.523Z","updatedAt":"2026-10-28T01:26:37.585Z"}