{"$schema":"https://wellknown.network/schemas/agent-record-v1.json","schemaVersion":"1","id":"ag_qhe3qp8cdhj8","handle":"liberrex-mcp-server","url":"https://wellknown.network/agents/liberrex-mcp-server","links":{"self":"https://wellknown.network/agents/liberrex-mcp-server/record.json","html":"https://wellknown.network/agents/liberrex-mcp-server","markdown":"https://wellknown.network/agents/liberrex-mcp-server/record.md","api":"https://wellknown.network/api/v1/agents/liberrex-mcp-server","status":"https://wellknown.network/api/v1/agents/liberrex-mcp-server/status","claim":"https://wellknown.network/agents/liberrex-mcp-server/claim","claimApi":"https://wellknown.network/api/v1/claims","claimDescriptor":"https://wellknown.network/agents/liberrex-mcp-server/claim.json","badge":"https://wellknown.network/agents/liberrex-mcp-server/badge.svg","openapi":"https://wellknown.network/openapi.json","history":"https://wellknown.network/api/v1/agents/liberrex-mcp-server/history","tools":"https://wellknown.network/api/v1/agents/liberrex-mcp-server/tools"},"ard":{"identifier":"urn:air::server:liberrex-mcp-server","type":"application/mcp-server-card+json"},"kind":"mcp_server","declared":{"name":"liberrex-mcp-server","summary":"Publish a platform's tools on the Liberrex MCP mesh (peer keys, per-call user identity, permissions), plus the Liberrex AI MCP server.","description":"# liberrex-mcp-server (Python)\n\nPublish a platform's tools on the **Liberrex MCP mesh**, so that Liberrex AI, Animatoria, the ERP and any other\nplatform of the ecosystem can call them. It follows the shared [mesh conventions](../../MCP_MESH.md): peer keys,\nper-call user identity, permissions, write control and `[code]` errors. The package also ships the **Liberrex AI\nplatform server** (`liberrex-mcp-server`): agents, copilot and sales intelligence (next best action, next best\nproduct…) as tools.\n\n- Python ≥ 3.10, built on the official `mcp` SDK v2. Stateless Streamable HTTP (any instance answers any call) or stdio.\n- Pair it with [`liberrex-mcp-client`](../../mcp-client/python) on the calling side.\n- TypeScript equivalent: [`@liberrex/mcp-server`](../typescript).\n\n```bash\npip install liberrex-mcp-server\n```\n\n## Publish your platform's tools\n\n```python\nfrom typing import Optional\nfrom liberrex_mcp_server import PeerRegistry, PlatformError, PlatformServer, ToolContext\n\nserver = PlatformServer(\"erp\", title=\"Acme ERP\", peers=PeerRegistry.from_env())\n\n@server.tool(permission=\"invoices.read\", category=\"finance\")\ndef overdue_invoices(ctx: ToolContext, customer: Optional[str] = None, limit: int = 20) -> dict:\n    \"\"\"Overdue invoices the user can see, oldest first.\"\"\"\n    user = ctx.require_identity()            # who the call acts for: user_id, tenant_id, roles, locale\n    rows = invoices.overdue(tenant=user.tenant_id, user=user.user_id, customer=customer, limit=limit)\n    if rows is None:\n        raise PlatformError(\"not_found\", \"Unknown customer\")      # → \"[not_found] Unknown customer\"\n    return {\"items\": rows}\n\n@server.tool(permission=\"invoices.write\", write=True)\nasync def send_reminder(ctx: ToolContext, invoice_id: str) -> dict:\n    \"\"\"Send a payment reminder.\"\"\"\n    ...\n```\n\nThen serve it:\n\n```python\napp.mount(\"/mcp\", server.asgi())       # FastAPI / Starlette; the endpoint answers at /mcp/\nserver.run_http(port=8765)             # standalone, at /mcp\nserver.run_std…","publisher":{"name":"Liberrex","url":null},"homepage":"https://ai.liberrex.com","repository":null,"version":"0.1.0","license":"Liberrex MCP server — Proprietary License\n        \n        Copy…","protocols":["mcp"],"tags":["liberrex","mcp","model-context-protocol","ai","agents","integration"],"pricing":null,"endpoints":[{"url":"pypi:liberrex-mcp-server","type":"package_pypi","auth":null,"probeable":false}],"skills":null,"tools":null,"extra":null,"attribution":{"kind":"pypi","name":"pypi","license":"pypi","summary":"pypi","version":"pypi","description":"pypi","homepageUrl":"pypi","publisherName":"pypi"}},"derived":{"capabilities":[{"slug":"security.identity","name":"Identity & Access","confidence":0.859,"provenance":"derived"},{"slug":"documents.invoice-processing","name":"Invoice Processing","confidence":0.814,"provenance":"derived"}],"categories":["documents","security"],"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":"liberrex-mcp-server","registry":"pypi","observedAt":"2026-10-30T19:26:59.199Z","publishedAt":"2026-10-17T13:28:17.423728Z","latestVersion":"0.1.0"},"toolSurface":null,"endpointFacts":[]},"verification":{"claimed":false,"claimedAt":null,"proofs":[]},"provenance":{"sources":[{"source":"pypi","key":"liberrex-mcp-server","url":"https://pypi.org/project/liberrex-mcp-server/","firstSeenAt":"2026-10-18T16:29:18.240Z","fetchedAt":"2026-10-30T19:26:11.562Z","normalizedAt":"2026-10-30T19:26:11.562Z"}]},"firstSeenAt":"2026-10-18T16:29:18.240Z","updatedAt":"2026-10-30T19:26:59.199Z"}