{
  "schema_version": "v1",
  "name": "PortfoliA MCP Server",
  "description": "Model Context Protocol (MCP) server for PortfoliA: ATS CV audits, vector PDF compilation, Fox AI job tailoring, and talent portfolios.",
  "homepage": "https://portfolia.fr/developers",
  "transport": {
    "type": "streamable-http",
    "endpoint": "https://portfolia.fr/api/mcp"
  },
  "authentication": {
    "type": "bearer",
    "scopes": ["audit:ats", "tailor:offer", "read:portfolio", "write:cv"]
  },
  "tools": [
    {
      "name": "audit_ats_cv",
      "description": "Analyze raw CV text against ATS parsing algorithms (Workday, Taleo, Greenhouse) and return linear extraction score and warnings.",
      "inputSchema": {
        "type": "object",
        "properties": {
          "raw_text": {
            "type": "string",
            "description": "Raw text extracted from candidate CV"
          },
          "target_role": {
            "type": "string",
            "description": "Target job title or profession"
          }
        },
        "required": ["raw_text"]
      }
    },
    {
      "name": "tailor_cv_offer",
      "description": "Contextually align genuine candidate experiences and skills with target job description without fabricating facts.",
      "inputSchema": {
        "type": "object",
        "properties": {
          "cv_text": {
            "type": "string",
            "description": "Candidate CV text or structured experiences"
          },
          "job_description": {
            "type": "string",
            "description": "Target job description text"
          }
        },
        "required": ["cv_text", "job_description"]
      }
    },
    {
      "name": "get_public_portfolio",
      "description": "Retrieve verified public profile, highlighted projects, and GitHub links for a given username handle.",
      "inputSchema": {
        "type": "object",
        "properties": {
          "username": {
            "type": "string",
            "description": "PortfoliA username handle"
          }
        },
        "required": ["username"]
      }
    }
  ]
}
