Skip to content

data-fair/mcp

Repository files navigation

Data FAIR logo @data-fair/mcp GitHub License GitHub package.json version

A Model Context Protocol (MCP) server to interact with the Data Fair ecosystem.

⚙️ Environment Variables

Variable Description Default Mode
PORTAL_URL Base URL of the Data Fair portal. If not set and TRANSPORT=http, the portal URL is inferred from the request origin. When TRANSPORT=stdio, you must set this value. http/stdio
OBSERVER_ACTIVE Enable Prometheus metrics. true http only
OBSERVER_PORT Port for the Prometheus metrics observer. 9090 http only
PORT Port for the HTTP server to listen on. 8080 http only
TRANSPORT Transport mode : stdio or http stdio http/stdio

Notes:

  • In HTTP mode, PORTAL_URL is optional (derived from request origin). In stdio mode, it is required.
  • Prometheus metrics (observer) run only in HTTP mode.

🔨 Development

Take a look at the contribution guidelines.

About

MCP servers to help AI agents interact with the data-fair APIs

Resources

License

Contributing

Stars

Watchers

Forks

Packages

 
 
 

Contributors 3

  •  
  •  
  •