{
  "$schema": "https://static.modelcontextprotocol.io/schemas/2025-12-11/server.schema.json",
  "name": "io.github.pvliesdonk/scholar-mcp",
  "title": "Scholar MCP Server",
  "description": "Scholarly-sources MCP: papers, patents, books, standards — search and cross-reference prior art.",
  "version": "1.8.1",
  "repository": {
    "url": "https://github.com/pvliesdonk/scholar-mcp",
    "source": "github"
  },
  "packages": [
    {
      "registryType": "pypi",
      "identifier": "pvliesdonk-scholar-mcp",
      "version": "1.8.1",
      "transport": {
        "type": "stdio"
      },
      "environmentVariables": [
        {
          "name": "SCHOLAR_MCP_READ_ONLY",
          "description": "Set to 'false' to enable write tools (default: true)",
          "required": false,
          "default": "true"
        },
        {
          "name": "SCHOLAR_MCP_BEARER_TOKEN",
          "description": "Static bearer token for authentication (optional)",
          "required": false
        }
      ]
    },
    {
      "registryType": "oci",
      "identifier": "ghcr.io/pvliesdonk/scholar-mcp:v1.8.1",
      "transport": {
        "type": "streamable-http",
        "url": "http://localhost:{--port}/mcp"
      },
      "packageArguments": [
        {
          "type": "named",
          "name": "--port",
          "default": "8000",
          "description": "Port for the HTTP transport"
        }
      ],
      "environmentVariables": [
        {
          "name": "SCHOLAR_MCP_READ_ONLY",
          "description": "Set to 'false' to enable write tools (default: true)",
          "required": false,
          "default": "true"
        },
        {
          "name": "SCHOLAR_MCP_BEARER_TOKEN",
          "description": "Static bearer token for authentication (optional)",
          "required": false
        },
        {
          "name": "SCHOLAR_MCP_BASE_URL",
          "description": "Public base URL of this server, required for OIDC (e.g. https://mcp.example.com)",
          "required": false
        },
        {
          "name": "SCHOLAR_MCP_OIDC_CONFIG_URL",
          "description": "OIDC discovery endpoint URL (e.g. https://auth.example.com/.well-known/openid-configuration)",
          "required": false
        },
        {
          "name": "SCHOLAR_MCP_OIDC_CLIENT_ID",
          "description": "OIDC client ID",
          "required": false
        },
        {
          "name": "SCHOLAR_MCP_OIDC_CLIENT_SECRET",
          "description": "OIDC client secret",
          "required": false
        },
        {
          "name": "SCHOLAR_MCP_OIDC_JWT_SIGNING_KEY",
          "description": "JWT signing key — required on Linux/Docker to survive restarts (generate with: openssl rand -hex 32)",
          "required": false
        }
      ]
    }
  ]
}
