Search / io.github.pvliesdonk/scholar-mcp
Scholar MCP
L0· runs locallyFastMCP server for scholarly papers, patents, books and standards with docling PDF conversion
v2.0.0 · active · repository · website · descriptor JSON · versions
Search / io.github.pvliesdonk/scholar-mcp
L0· runs locallyFastMCP server for scholarly papers, patents, books and standards with docling PDF conversion
v2.0.0 · active · repository · website · descriptor JSON · versions
{
"mcpServers": {
"scholar-mcp": {
"command": "uvx",
"args": [
"pvliesdonk-scholar-mcp==2.0.0"
],
"env": {
"SCHOLAR_MCP_KV_STORE_URL": "file:///data/state",
"FASTMCP_LOG_LEVEL": "INFO",
"FASTMCP_ENABLE_RICH_LOGGING": "true",
"SCHOLAR_GITHUB_TOKEN": "${SCHOLAR_GITHUB_TOKEN}",
"SCHOLAR_MCP_READ_ONLY": "true",
"SCHOLAR_MCP_S2_API_KEY": "${SCHOLAR_MCP_S2_API_KEY}",
"SCHOLAR_MCP_VLM_API_KEY": "${SCHOLAR_MCP_VLM_API_KEY}",
"SCHOLAR_MCP_VLM_MODEL": "gpt-4o",
"SCHOLAR_MCP_CACHE_DIR": "/data/scholar-mcp",
"SCHOLAR_MCP_EPO_CONSUMER_SECRET": "${SCHOLAR_MCP_EPO_CONSUMER_SECRET}",
"SCHOLAR_MCP_GOOGLE_BOOKS_API_KEY": "${SCHOLAR_MCP_GOOGLE_BOOKS_API_KEY}",
"SCHOLAR_MCP_JOBS_SOFT_DEADLINE_S": "25.0",
"SCHOLAR_MCP_JOBS_RESULT_TTL_S": "3600.0",
"SCHOLAR_MCP_JOBS_MAX_PER_SUBJECT": "256"
}
}
}
}claude mcp add scholar-mcp -e "SCHOLAR_MCP_KV_STORE_URL=file:///data/state" -e "FASTMCP_LOG_LEVEL=INFO" -e "FASTMCP_ENABLE_RICH_LOGGING=true" -e "SCHOLAR_GITHUB_TOKEN=${SCHOLAR_GITHUB_TOKEN}" -e "SCHOLAR_MCP_READ_ONLY=true" -e "SCHOLAR_MCP_S2_API_KEY=${SCHOLAR_MCP_S2_API_KEY}" -e "SCHOLAR_MCP_VLM_API_KEY=${SCHOLAR_MCP_VLM_API_KEY}" -e "SCHOLAR_MCP_VLM_MODEL=gpt-4o" -e "SCHOLAR_MCP_CACHE_DIR=/data/scholar-mcp" -e "SCHOLAR_MCP_EPO_CONSUMER_SECRET=${SCHOLAR_MCP_EPO_CONSUMER_SECRET}" -e "SCHOLAR_MCP_GOOGLE_BOOKS_API_KEY=${SCHOLAR_MCP_GOOGLE_BOOKS_API_KEY}" -e "SCHOLAR_MCP_JOBS_SOFT_DEADLINE_S=25.0" -e "SCHOLAR_MCP_JOBS_RESULT_TTL_S=3600.0" -e "SCHOLAR_MCP_JOBS_MAX_PER_SUBJECT=256" -- uvx pvliesdonk-scholar-mcp==2.0.0[mcp_servers.scholar-mcp]
command = "uvx"
args = ["pvliesdonk-scholar-mcp==2.0.0"]
env = { "SCHOLAR_MCP_KV_STORE_URL" = "file:///data/state", "FASTMCP_LOG_LEVEL" = "INFO", "FASTMCP_ENABLE_RICH_LOGGING" = "true", "SCHOLAR_GITHUB_TOKEN" = "${SCHOLAR_GITHUB_TOKEN}", "SCHOLAR_MCP_READ_ONLY" = "true", "SCHOLAR_MCP_S2_API_KEY" = "${SCHOLAR_MCP_S2_API_KEY}", "SCHOLAR_MCP_VLM_API_KEY" = "${SCHOLAR_MCP_VLM_API_KEY}", "SCHOLAR_MCP_VLM_MODEL" = "gpt-4o", "SCHOLAR_MCP_CACHE_DIR" = "/data/scholar-mcp", "SCHOLAR_MCP_EPO_CONSUMER_SECRET" = "${SCHOLAR_MCP_EPO_CONSUMER_SECRET}", "SCHOLAR_MCP_GOOGLE_BOOKS_API_KEY" = "${SCHOLAR_MCP_GOOGLE_BOOKS_API_KEY}", "SCHOLAR_MCP_JOBS_SOFT_DEADLINE_S" = "25.0", "SCHOLAR_MCP_JOBS_RESULT_TTL_S" = "3600.0", "SCHOLAR_MCP_JOBS_MAX_PER_SUBJECT" = "256" }
{
"$schema": "https://opencode.ai/config.json",
"mcp": {
"scholar-mcp": {
"type": "local",
"command": [
"uvx",
"pvliesdonk-scholar-mcp==2.0.0"
],
"enabled": true,
"environment": {
"SCHOLAR_MCP_KV_STORE_URL": "file:///data/state",
"FASTMCP_LOG_LEVEL": "INFO",
"FASTMCP_ENABLE_RICH_LOGGING": "true",
"SCHOLAR_GITHUB_TOKEN": "{env:SCHOLAR_GITHUB_TOKEN}",
"SCHOLAR_MCP_READ_ONLY": "true",
"SCHOLAR_MCP_S2_API_KEY": "{env:SCHOLAR_MCP_S2_API_KEY}",
"SCHOLAR_MCP_VLM_API_KEY": "{env:SCHOLAR_MCP_VLM_API_KEY}",
"SCHOLAR_MCP_VLM_MODEL": "gpt-4o",
"SCHOLAR_MCP_CACHE_DIR": "/data/scholar-mcp",
"SCHOLAR_MCP_EPO_CONSUMER_SECRET": "{env:SCHOLAR_MCP_EPO_CONSUMER_SECRET}",
"SCHOLAR_MCP_GOOGLE_BOOKS_API_KEY": "{env:SCHOLAR_MCP_GOOGLE_BOOKS_API_KEY}",
"SCHOLAR_MCP_JOBS_SOFT_DEADLINE_S": "25.0",
"SCHOLAR_MCP_JOBS_RESULT_TTL_S": "3600.0",
"SCHOLAR_MCP_JOBS_MAX_PER_SUBJECT": "256"
}
}
}
}{
"mcpServers": {
"scholar-mcp": {
"command": "uvx",
"args": [
"pvliesdonk-scholar-mcp==2.0.0"
],
"env": {
"SCHOLAR_MCP_KV_STORE_URL": "file:///data/state",
"FASTMCP_LOG_LEVEL": "INFO",
"FASTMCP_ENABLE_RICH_LOGGING": "true",
"SCHOLAR_GITHUB_TOKEN": "${SCHOLAR_GITHUB_TOKEN}",
"SCHOLAR_MCP_READ_ONLY": "true",
"SCHOLAR_MCP_S2_API_KEY": "${SCHOLAR_MCP_S2_API_KEY}",
"SCHOLAR_MCP_VLM_API_KEY": "${SCHOLAR_MCP_VLM_API_KEY}",
"SCHOLAR_MCP_VLM_MODEL": "gpt-4o",
"SCHOLAR_MCP_CACHE_DIR": "/data/scholar-mcp",
"SCHOLAR_MCP_EPO_CONSUMER_SECRET": "${SCHOLAR_MCP_EPO_CONSUMER_SECRET}",
"SCHOLAR_MCP_GOOGLE_BOOKS_API_KEY": "${SCHOLAR_MCP_GOOGLE_BOOKS_API_KEY}",
"SCHOLAR_MCP_JOBS_SOFT_DEADLINE_S": "25.0",
"SCHOLAR_MCP_JOBS_RESULT_TTL_S": "3600.0",
"SCHOLAR_MCP_JOBS_MAX_PER_SUBJECT": "256"
}
}
},
"deeplink": "cursor://anysphere.cursor-deeplink/mcp/install?name=scholar-mcp&config=eyJjb21tYW5kIjoidXZ4IiwiYXJncyI6WyJwdmxpZXNkb25rLXNjaG9sYXItbWNwPT0yLjAuMCJdLCJlbnYiOnsiU0NIT0xBUl9NQ1BfS1ZfU1RPUkVfVVJMIjoiZmlsZTovLy9kYXRhL3N0YXRlIiwiRkFTVE1DUF9MT0dfTEVWRUwiOiJJTkZPIiwiRkFTVE1DUF9FTkFCTEVfUklDSF9MT0dHSU5HIjoidHJ1ZSIsIlNDSE9MQVJfR0lUSFVCX1RPS0VOIjoiJHtTQ0hPTEFSX0dJVEhVQl9UT0tFTn0iLCJTQ0hPTEFSX01DUF9SRUFEX09OTFkiOiJ0cnVlIiwiU0NIT0xBUl9NQ1BfUzJfQVBJX0tFWSI6IiR7U0NIT0xBUl9NQ1BfUzJfQVBJX0tFWX0iLCJTQ0hPTEFSX01DUF9WTE1fQVBJX0tFWSI6IiR7U0NIT0xBUl9NQ1BfVkxNX0FQSV9LRVl9IiwiU0NIT0xBUl9NQ1BfVkxNX01PREVMIjoiZ3B0LTRvIiwiU0NIT0xBUl9NQ1BfQ0FDSEVfRElSIjoiL2RhdGEvc2Nob2xhci1tY3AiLCJTQ0hPTEFSX01DUF9FUE9fQ09OU1VNRVJfU0VDUkVUIjoiJHtTQ0hPTEFSX01DUF9FUE9fQ09OU1VNRVJfU0VDUkVUfSIsIlNDSE9MQVJfTUNQX0dPT0dMRV9CT09LU19BUElfS0VZIjoiJHtTQ0hPTEFSX01DUF9HT09HTEVfQk9PS1NfQVBJX0tFWX0iLCJTQ0hPTEFSX01DUF9KT0JTX1NPRlRfREVBRExJTkVfUyI6IjI1LjAiLCJTQ0hPTEFSX01DUF9KT0JTX1JFU1VMVF9UVExfUyI6IjM2MDAuMCIsIlNDSE9MQVJfTUNQX0pPQlNfTUFYX1BFUl9TVUJKRUNUIjoiMjU2In19"
}{
"servers": {
"scholar-mcp": {
"type": "stdio",
"command": "uvx",
"args": [
"pvliesdonk-scholar-mcp==2.0.0"
],
"env": {
"SCHOLAR_MCP_KV_STORE_URL": "file:///data/state",
"FASTMCP_LOG_LEVEL": "INFO",
"FASTMCP_ENABLE_RICH_LOGGING": "true",
"SCHOLAR_GITHUB_TOKEN": "${SCHOLAR_GITHUB_TOKEN}",
"SCHOLAR_MCP_READ_ONLY": "true",
"SCHOLAR_MCP_S2_API_KEY": "${SCHOLAR_MCP_S2_API_KEY}",
"SCHOLAR_MCP_VLM_API_KEY": "${SCHOLAR_MCP_VLM_API_KEY}",
"SCHOLAR_MCP_VLM_MODEL": "gpt-4o",
"SCHOLAR_MCP_CACHE_DIR": "/data/scholar-mcp",
"SCHOLAR_MCP_EPO_CONSUMER_SECRET": "${SCHOLAR_MCP_EPO_CONSUMER_SECRET}",
"SCHOLAR_MCP_GOOGLE_BOOKS_API_KEY": "${SCHOLAR_MCP_GOOGLE_BOOKS_API_KEY}",
"SCHOLAR_MCP_JOBS_SOFT_DEADLINE_S": "25.0",
"SCHOLAR_MCP_JOBS_RESULT_TTL_S": "3600.0",
"SCHOLAR_MCP_JOBS_MAX_PER_SUBJECT": "256"
}
}
}
}{
"mcpServers": {
"scholar-mcp": {
"command": "uvx",
"args": [
"pvliesdonk-scholar-mcp==2.0.0"
],
"env": {
"SCHOLAR_MCP_KV_STORE_URL": "file:///data/state",
"FASTMCP_LOG_LEVEL": "INFO",
"FASTMCP_ENABLE_RICH_LOGGING": "true",
"SCHOLAR_GITHUB_TOKEN": "${SCHOLAR_GITHUB_TOKEN}",
"SCHOLAR_MCP_READ_ONLY": "true",
"SCHOLAR_MCP_S2_API_KEY": "${SCHOLAR_MCP_S2_API_KEY}",
"SCHOLAR_MCP_VLM_API_KEY": "${SCHOLAR_MCP_VLM_API_KEY}",
"SCHOLAR_MCP_VLM_MODEL": "gpt-4o",
"SCHOLAR_MCP_CACHE_DIR": "/data/scholar-mcp",
"SCHOLAR_MCP_EPO_CONSUMER_SECRET": "${SCHOLAR_MCP_EPO_CONSUMER_SECRET}",
"SCHOLAR_MCP_GOOGLE_BOOKS_API_KEY": "${SCHOLAR_MCP_GOOGLE_BOOKS_API_KEY}",
"SCHOLAR_MCP_JOBS_SOFT_DEADLINE_S": "25.0",
"SCHOLAR_MCP_JOBS_RESULT_TTL_S": "3600.0",
"SCHOLAR_MCP_JOBS_MAX_PER_SUBJECT": "256"
}
}
}
}extensions:
"scholar-mcp":
enabled: true
name: "scholar-mcp"
type: stdio
cmd: "uvx"
args:
- "pvliesdonk-scholar-mcp==2.0.0"
envs:
"SCHOLAR_MCP_KV_STORE_URL": "file:///data/state"
"FASTMCP_LOG_LEVEL": "INFO"
"FASTMCP_ENABLE_RICH_LOGGING": "true"
"SCHOLAR_GITHUB_TOKEN": "${SCHOLAR_GITHUB_TOKEN}"
"SCHOLAR_MCP_READ_ONLY": "true"
"SCHOLAR_MCP_S2_API_KEY": "${SCHOLAR_MCP_S2_API_KEY}"
"SCHOLAR_MCP_VLM_API_KEY": "${SCHOLAR_MCP_VLM_API_KEY}"
"SCHOLAR_MCP_VLM_MODEL": "gpt-4o"
"SCHOLAR_MCP_CACHE_DIR": "/data/scholar-mcp"
"SCHOLAR_MCP_EPO_CONSUMER_SECRET": "${SCHOLAR_MCP_EPO_CONSUMER_SECRET}"
"SCHOLAR_MCP_GOOGLE_BOOKS_API_KEY": "${SCHOLAR_MCP_GOOGLE_BOOKS_API_KEY}"
"SCHOLAR_MCP_JOBS_SOFT_DEADLINE_S": "25.0"
"SCHOLAR_MCP_JOBS_RESULT_TTL_S": "3600.0"
"SCHOLAR_MCP_JOBS_MAX_PER_SUBJECT": "256"
timeout: 300
Placeholders to fill from your own secret store: ${SCHOLAR_GITHUB_TOKEN}, ${SCHOLAR_MCP_S2_API_KEY}, ${SCHOLAR_MCP_VLM_API_KEY}, ${SCHOLAR_MCP_EPO_CONSUMER_SECRET}, ${SCHOLAR_MCP_GOOGLE_BOOKS_API_KEY}. The registry never accepts secret values.
This is a local package: the command runs on your machine.
Not scored: fewer than three checks apply, usually because no remote answered a credential-free probe or the server is a local package.
protocol.modern, protocol.stateless, protocol.transport, protocol.list_ttlno remote answered a protocol handshake (not probed yet, unreachable, or local-only)auth.prm, auth.as_metadata, auth.cimdno remote uses OAuthauth.secret_in_urlno templated URLtools.descriptions, tools.description_length, tools.schemas, tools.annotations, tools.directory_hints, tools.token_cost, tools.api_dumptool list unknown (behind auth, not probed, or empty)stability.changes, stability.rug_pulltool list unknowndeps.known_vulnsno known advisory in 98 resolved packagesdeps.mcp_sdk_versionmcp 2.2.0, no known advisorydeps.resolvable[email protected] resolved: 98 packagesNo tool definition changes recorded. A server's first observation is its baseline; later probes record what changes.
Checks run on what our credential-free, read-only probes observe; tools are never called and no code audit is performed. How it is computed.
+repository +namespace-matches-repo +website ~liveness-unmeasured ~updated-40d-ago -unpinned-packages(1)
Derived from observable signals (official registry feed and our own credential-free probes); no code audit performed. How it is computed.
[email protected] PyPI97 dependencies, resolved · MCP SDK mcp 2.2.0 · advisories checked 2026-10-20
No known advisory affects this dependency graph.
Dependency graphs from deps.dev; advisories from OSV.dev, including the GitHub Advisory Database and the PyPI Advisory Database; all CC BY 4.0. The graph is what a clean install of this version resolves today; nothing was installed or run. How it is checked.
| package | registry | version | runtime | secrets |
|---|---|---|---|---|
pvliesdonk-scholar-mcp | pypi | 2.0.0 | uvx | SCHOLAR_GITHUB_TOKEN, SCHOLAR_MCP_S2_API_KEY, SCHOLAR_MCP_VLM_API_KEY, SCHOLAR_MCP_EPO_CONSUMER_SECRET, SCHOLAR_MCP_GOOGLE_BOOKS_API_KEY |
ghcr.io/pvliesdonk/scholar-mcp:v2.0.0 | oci | unpinned | – | SCHOLAR_MCP_BEARER_TOKEN, SCHOLAR_MCP_OIDC_CLIENT_SECRET, SCHOLAR_MCP_OIDC_JWT_SIGNING_KEY, SCHOLAR_GITHUB_TOKEN, SCHOLAR_MCP_S2_API_KEY, SCHOLAR_MCP_VLM_API_KEY, SCHOLAR_MCP_EPO_CONSUMER_SECRET, SCHOLAR_MCP_GOOGLE_BOOKS_API_KEY |
No tools observed. Local packages are never executed by the registry.
Schemas: list_tools.
{
"name": "io.github.pvliesdonk/scholar-mcp",
"title": "Scholar MCP",
"$schema": "https://static.modelcontextprotocol.io/schemas/2025-12-11/server.schema.json",
"version": "2.0.0",
"packages": [
{
"version": "2.0.0",
"transport": {
"type": "stdio"
},
"identifier": "pvliesdonk-scholar-mcp",
"runtimeHint": "uvx",
"registryType": "pypi",
"environmentVariables": [
{
"name": "SCHOLAR_MCP_KV_STORE_URL",
"default": "file:///data/state",
"description": "Persistent-state backend URL shared by every pvl-core subsystem that needs state. `memory://` is in-process and lost on restart; `file:///path` persists on one server; `redis://`, `dynamodb://` and `mongodb://` each need their matching extra. When unset, defaults to `file:///data/state` (the volume family Docker images mount), or to `memory://` (with a warning) on a host where that directory is not usable."
},
{
"name": "SCHOLAR_MCP_TOOLS_ALLOW",
"description": "Comma-separated explicit tool names this instance exposes; every other tool is hidden from listings and cannot be invoked. Names matching no registered tool are inert. Mutually exclusive with `tools_deny`. Takes effect through `apply_tool_visibility`."
},
{
"name": "SCHOLAR_MCP_TOOLS_DENY",
"description": "Comma-separated explicit tool names hidden from this instance (absent from listings, cannot be invoked). Names matching no registered tool are inert. Mutually exclusive with `tools_allow`. Takes effect through `apply_tool_visibility`."
},
{
"name": "SCHOLAR_MCP_SERVER_NAME",
"description": "Rename this server instance; defaults to the project name."
},
{
"name": "SCHOLAR_MCP_INSTANCE_DESCRIPTION",
"description": "Concise routing context that distinguishes this deployment's material or responsibility."
},
{
"name": "SCHOLAR_MCP_INSTRUCTIONS_EXTRA",
"description": "Deployment-specific behavioral policy added to the generated MCP instructions."
},
{
"name": "SCHOLAR_MCP_INSTRUCTIONS",
"description": "Legacy: replaces all generated MCP instructions (deprecated; use _INSTANCE_DESCRIPTION for routing and _INSTRUCTIONS_EXTRA for policy)."
},
{
"name": "FASTMCP_LOG_LEVEL",
"choices": [
"DEBUG",
"INFO",
"WARNING",
"ERROR",
"CRITICAL"
],
"default": "INFO",
"description": "Log level for FastMCP internals and app loggers (DEBUG / INFO / WARNING / ERROR / CRITICAL). The -v CLI flag overrides to DEBUG."
},
{
"name": "FASTMCP_ENABLE_RICH_LOGGING",
"format": "boolean",
"default": "true",
"description": "Set false for plain or structured JSON log output."
},
{
"name": "SCHOLAR_GITHUB_TOKEN",
"isSecret": true,
"description": "GitHub token used to raise rate limits when fetching standards documents from GitHub. Optional; unauthenticated requests work at reduced limits."
},
{
"name": "SCHOLAR_MCP_READ_ONLY",
"format": "boolean",
"default": "true",
"description": "When true, write-tagged tools (PDF download and conversion cache writes) are hidden. Set false to enable them."
},
{
"name": "SCHOLAR_MCP_S2_API_KEY",
"isSecret": true,
"description": "Semantic Scholar API key. Optional but strongly recommended: unauthenticated requests are limited to ~1 req/s. Request one at https://www.semanticscholar.org/product/api#api-key-form."
},
{
"name": "SCHOLAR_MCP_DOCLING_URL",
"description": "Base URL of a running docling-serve instance for PDF conversion (e.g. http://localhost:5001). When unset, PDF conversion tools return an error."
},
{
"name": "SCHOLAR_MCP_VLM_API_URL",
"description": "OpenAI-compatible VLM endpoint for formula and figure enrichment during PDF conversion."
},
{
"name": "SCHOLAR_MCP_VLM_API_KEY",
"isSecret": true,
"description": "API key for the VLM endpoint."
},
{
"name": "SCHOLAR_MCP_VLM_MODEL",
"default": "gpt-4o",
"description": "Model name to use with the VLM endpoint."
},
{
"name": "SCHOLAR_MCP_CACHE_DIR",
"format": "filepath",
"default": "/data/scholar-mcp",
"description": "Directory for the SQLite cache database (cache.db) and downloaded PDFs (pdfs/, md/)."
},
{
"name": "SCHOLAR_MCP_CONTACT_EMAIL",
"description": "Contact email for the OpenAlex polite pool (improves rate limits). Also enables Unpaywall lookups as a PDF fallback source."
},
{
"name": "SCHOLAR_MCP_EPO_CONSUMER_KEY",
"description": "EPO Open Patent Services consumer key. Optional; patent tools are hidden when unset. Register at https://developers.epo.org/user/register."
},
{
"name": "SCHOLAR_MCP_EPO_CONSUMER_SECRET",
"isSecret": true,
"description": "EPO Open Patent Services consumer secret. Optional; patent tools are hidden when unset."
},
{
"name": "SCHOLAR_MCP_GOOGLE_BOOKS_API_KEY",
"isSecret": true,
"description": "Google Books API key. Optional; book tools work unauthenticated at reduced rate limits."
},
{
"name": "SCHOLAR_MCP_JOBS_SOFT_DEADLINE_S",
"format": "number",
"default": "25.0",
"description": "Seconds a long-running tool call may run in the foreground before it is promoted to a background job and a job handle is returned instead."
},
{
"name": "SCHOLAR_MCP_JOBS_RESULT_TTL_S",
"format": "number",
"default": "3600.0",
"description": "Seconds a background-job record (working or finished) is retained for polling before it expires from the store."
},
{
"name": "SCHOLAR_MCP_JOBS_MAX_PER_SUBJECT",
"format": "number",
"default": "256",
"description": "Maximum live background jobs per calling subject; further promotions are rejected until older records expire."
}
]
},
{
"transport": {
"url": "http://localhost:{--port}/mcp",
"type": "streamable-http"
},
"identifier": "ghcr.io/pvliesdonk/scholar-mcp:v2.0.0",
"registryType": "oci",
"packageArguments": [
{
"name": "--port",
"type": "named",
"default": "8000",
"description": "Port for the HTTP transport"
}
],
"environmentVariables": [
{
"name": "SCHOLAR_MCP_BASE_URL",
"description": "Public base URL of the deployed server, for example `https://mcp.example.com`. Required for OIDC. Also the fallback source of the MCP Apps domain when `app_domain` is unset.",
"placeholder": "https://mcp.example.com"
},
{
"name": "SCHOLAR_MCP_BEARER_TOKEN",
"isSecret": true,
"description": "Single shared bearer token; enables bearer auth unless `bearer_tokens_file` is set, which takes precedence.",
"placeholder": "<secret>"
},
{
"name": "SCHOLAR_MCP_OIDC_CONFIG_URL",
"description": "OIDC discovery document URL, for example `https://auth.example.com/.well-known/openid-configuration`.",
"placeholder": "https://auth.example.com/.well-known/openid-configuration"
},
{
"name": "SCHOLAR_MCP_OIDC_CLIENT_ID",
"description": "OIDC client identifier registered with the provider.",
"placeholder": "mcp-client"
},
{
"name": "SCHOLAR_MCP_OIDC_CLIENT_SECRET",
"isSecret": true,
"description": "OIDC client secret registered with the provider.",
"placeholder": "your-client-secret"
},
{
"name": "SCHOLAR_MCP_OIDC_AUDIENCE",
"description": "Expected `aud` claim; tokens issued for another audience are rejected.",
"placeholder": "mcp-api"
},
{
"name": "SCHOLAR_MCP_OIDC_REQUIRED_SCOPES",
"default": "openid",
"description": "Scopes a caller must present, space- or comma-separated. Defaults to `openid` in oidc-proxy mode."
},
{
"name": "SCHOLAR_MCP_OIDC_ADVERTISED_SCOPES",
"default": "openid offline_access",
"description": "Scopes advertised to MCP clients in protected-resource metadata, space- or comma-separated. Overrides the default `openid offline_access`; `oidc_required_scopes` is always added on top. Set this when the registered client is not permitted `offline_access`, or to have clients request extra claim scopes (such as `groups`) without also requiring them in every token."
},
{
"name": "SCHOLAR_MCP_OIDC_JWT_SIGNING_KEY",
"default": "derived",
"isSecret": true,
"description": "Signing key for issued tokens; used in oidc-proxy mode only. When unset, the key is derived deterministically from `oidc_client_secret`, so tokens survive a restart. Rotating that secret then invalidates every issued token. Set this explicitly to decouple token validity from secret rotation. Generate with `openssl rand -hex 32`."
},
{
"name": "SCHOLAR_MCP_OIDC_VERIFY_ACCESS_TOKEN",
"format": "boolean",
"default": "false",
"description": "Validate the access token instead of the id token."
},
{
"name": "SCHOLAR_MCP_KV_STORE_URL",
"default": "file:///data/state",
"description": "Persistent-state backend URL shared by every pvl-core subsystem that needs state. `memory://` is in-process and lost on restart; `file:///path` persists on one server; `redis://`, `dynamodb://` and `mongodb://` each need their matching extra. When unset, defaults to `file:///data/state` (the volume family Docker images mount), or to `memory://` (with a warning) on a host where that directory is not usable."
},
{
"name": "SCHOLAR_MCP_APP_DOMAIN",
"description": "MCP Apps iframe domain, used for CSP sandboxing. Overrides the host derived from `base_url`."
},
{
"name": "SCHOLAR_MCP_TOOLS_ALLOW",
"description": "Comma-separated explicit tool names this instance exposes; every other tool is hidden from listings and cannot be invoked. Names matching no registered tool are inert. Mutually exclusive with `tools_deny`. Takes effect through `apply_tool_visibility`."
},
{
"name": "SCHOLAR_MCP_TOOLS_DENY",
"description": "Comma-separated explicit tool names hidden from this instance (absent from listings, cannot be invoked). Names matching no registered tool are inert. Mutually exclusive with `tools_allow`. Takes effect through `apply_tool_visibility`."
},
{
"name": "SCHOLAR_MCP_AUTH_MODE",
"description": "Explicit auth-mode override, accepting `remote` or `oidc-proxy` (case- and whitespace-insensitive). When unset the mode is auto-detected from which auth variables are set; the override exists because having all four OIDC variables set is ambiguous between those two modes. Other values are ignored with a warning."
},
{
"name": "SCHOLAR_MCP_BEARER_TOKENS_FILE",
"format": "filepath",
"description": "Path to a TOML file mapping bearer tokens to subjects; overrides the single-token `bearer_token` mode.",
"placeholder": "/etc/scholar-mcp/tokens.toml"
},
{
"name": "SCHOLAR_MCP_BEARER_DEFAULT_SUBJECT",
"default": "bearer-anon",
"description": "Subject assigned to the single-token bearer mode; ignored when `bearer_tokens_file` is set, since mapped mode carries per-token subjects."
},
{
"name": "SCHOLAR_MCP_SERVER_NAME",
"description": "Rename this server instance; defaults to the project name."
},
{
"name": "SCHOLAR_MCP_INSTANCE_DESCRIPTION",
"description": "Concise routing context that distinguishes this deployment's material or responsibility."
},
{
"name": "SCHOLAR_MCP_INSTRUCTIONS_EXTRA",
"description": "Deployment-specific behavioral policy added to the generated MCP instructions."
},
{
"name": "SCHOLAR_MCP_INSTRUCTIONS",
"description": "Legacy: replaces all generated MCP instructions (deprecated; use _INSTANCE_DESCRIPTION for routing and _INSTRUCTIONS_EXTRA for policy)."
},
{
"name": "SCHOLAR_MCP_HTTP_PATH",
"default": "/mcp",
"description": "Mount path for the MCP endpoint; the health routes derive their prefix from it."
},
{
"name": "SCHOLAR_MCP_HEALTH_DETAIL",
"choices": [
"status",
"standard",
"full"
],
"default": "standard",
"description": "How much the unauthenticated /health and /health/ready bodies say: status, standard (adds name, version and per-check verdicts), or full (adds redacted reasons; trusted networks only)."
},
{
"name": "PUID",
"format": "number",
"default": "1000",
"description": "Run the server process as this UID; the container entrypoint reassigns ownership of writable paths to match."
},
{
"name": "PGID",
"format": "number",
"default": "1000",
"description": "Run the server process as this GID; pair with PUID to match the owner of a mounted volume."
},
{
"name": "FASTMCP_LOG_LEVEL",
"choices": [
"DEBUG",
"INFO",
"WARNING",
"ERROR",
"CRITICAL"
],
"default": "INFO",
"description": "Log level for FastMCP internals and app loggers (DEBUG / INFO / WARNING / ERROR / CRITICAL). The -v CLI flag overrides to DEBUG."
},
{
"name": "FASTMCP_ENABLE_RICH_LOGGING",
"format": "boolean",
"default": "true",
"description": "Set false for plain or structured JSON log output."
},
{
"name": "SCHOLAR_GITHUB_TOKEN",
"isSecret": true,
"description": "GitHub token used to raise rate limits when fetching standards documents from GitHub. Optional; unauthenticated requests work at reduced limits."
},
{
"name": "SCHOLAR_MCP_READ_ONLY",
"format": "boolean",
"default": "true",
"description": "When true, write-tagged tools (PDF download and conversion cache writes) are hidden. Set false to enable them."
},
{
"name": "SCHOLAR_MCP_S2_API_KEY",
"isSecret": true,
"description": "Semantic Scholar API key. Optional but strongly recommended: unauthenticated requests are limited to ~1 req/s. Request one at https://www.semanticscholar.org/product/api#api-key-form."
},
{
"name": "SCHOLAR_MCP_DOCLING_URL",
"description": "Base URL of a running docling-serve instance for PDF conversion (e.g. http://localhost:5001). When unset, PDF conversion tools return an error."
},
{
"name": "SCHOLAR_MCP_VLM_API_URL",
"description": "OpenAI-compatible VLM endpoint for formula and figure enrichment during PDF conversion."
},
{
"name": "SCHOLAR_MCP_VLM_API_KEY",
"isSecret": true,
"description": "API key for the VLM endpoint."
},
{
"name": "SCHOLAR_MCP_VLM_MODEL",
"default": "gpt-4o",
"description": "Model name to use with the VLM endpoint."
},
{
"name": "SCHOLAR_MCP_CACHE_DIR",
"format": "filepath",
"default": "/data/scholar-mcp",
"description": "Directory for the SQLite cache database (cache.db) and downloaded PDFs (pdfs/, md/)."
},
{
"name": "SCHOLAR_MCP_CONTACT_EMAIL",
"description": "Contact email for the OpenAlex polite pool (improves rate limits). Also enables Unpaywall lookups as a PDF fallback source."
},
{
"name": "SCHOLAR_MCP_EPO_CONSUMER_KEY",
"description": "EPO Open Patent Services consumer key. Optional; patent tools are hidden when unset. Register at https://developers.epo.org/user/register."
},
{
"name": "SCHOLAR_MCP_EPO_CONSUMER_SECRET",
"isSecret": true,
"description": "EPO Open Patent Services consumer secret. Optional; patent tools are hidden when unset."
},
{
"name": "SCHOLAR_MCP_GOOGLE_BOOKS_API_KEY",
"isSecret": true,
"description": "Google Books API key. Optional; book tools work unauthenticated at reduced rate limits."
},
{
"name": "SCHOLAR_MCP_JOBS_SOFT_DEADLINE_S",
"format": "number",
"default": "25.0",
"description": "Seconds a long-running tool call may run in the foreground before it is promoted to a background job and a job handle is returned instead."
},
{
"name": "SCHOLAR_MCP_JOBS_RESULT_TTL_S",
"format": "number",
"default": "3600.0",
"description": "Seconds a background-job record (working or finished) is retained for polling before it expires from the store."
},
{
"name": "SCHOLAR_MCP_JOBS_MAX_PER_SUBJECT",
"format": "number",
"default": "256",
"description": "Maximum live background jobs per calling subject; further promotions are rejected until older records expire."
}
]
}
],
"repository": {
"url": "https://github.com/pvliesdonk/scholar-mcp",
"source": "github"
},
"websiteUrl": "https://pvliesdonk.github.io/scholar-mcp/",
"description": "FastMCP server for scholarly papers, patents, books and standards with docling PDF conversion"
}