{
  "$schema": "https://agentsfirst.dev/schemas/mcp-server-card.v0.json",
  "name": "Librari",
  "version": "1.0.0",
  "description": "AI contract intelligence platform. The Librari MCP connector lets an authenticated agent search, read, and archive the user's own contract library.",
  "homepage": "https://www.thelibrari.com",
  "documentation": "https://help.thelibrari.com/mcp",
  "agents_md": "https://www.thelibrari.com/AGENTS.md",
  "llms_txt": "https://www.thelibrari.com/llms.txt",
  "openapi": "https://www.thelibrari.com/openapi.json",
  "author": {
    "name": "Librari",
    "url": "https://www.thelibrari.com"
  },
  "tools": [
    {
      "name": "librari-mcp",
      "type": "mcp-server",
      "url": "https://www.thelibrari.com/api/mcp",
      "transport": "streamable-http",
      "auth": {
        "type": "oauth2",
        "flow": "authorization_code",
        "pkce": "S256",
        "dynamic_client_registration": true,
        "protected_resource_metadata": "https://www.thelibrari.com/.well-known/oauth-protected-resource",
        "authorization_server_metadata": "https://www.thelibrari.com/.well-known/oauth-authorization-server",
        "scopes": ["read", "write"],
        "scope_negotiation": false
      },
      "description": "Search, read, and archive the authenticated user's contracts. Requires an active paid Librari subscription.",
      "documentation": "https://help.thelibrari.com/mcp",
      "tools": [
        {
          "name": "list_contracts",
          "description": "List the user's contracts with id, title, status, and type."
        },
        {
          "name": "search_contracts",
          "description": "Keyword search across contract text and metadata, with optional status and type filters. Returns contract summaries."
        },
        {
          "name": "get_contract",
          "description": "Full metadata for one contract: parties, dates, value, governing law, renewal terms, tags."
        },
        {
          "name": "get_contract_sections",
          "description": "A contract's clause-level sections, each with a summary (paraphrased, not verbatim)."
        },
        {
          "name": "get_all_clauses",
          "description": "The clause and term types that exist across the user's library."
        },
        {
          "name": "archive_contract",
          "description": "Hide a contract from the user's default lists and searches. Reversible. Requires the write scope."
        },
        {
          "name": "unarchive_contract",
          "description": "Restore an archived contract. Requires the write scope."
        },
        {
          "name": "search",
          "description": "Keyword search returning citable results (id, title, url)."
        },
        {
          "name": "fetch",
          "description": "Summary, section summaries, and metadata of one contract returned by search. Summaries are paraphrases, not verbatim text."
        }
      ]
    }
  ]
}
