{
  "$schema": "https://static.modelcontextprotocol.io/schemas/2025-12-11/server.schema.json",
  "name": "io.github.cyanheads/brapi-mcp-server",
  "description": "Collaborative BrAPI v2.1 MCP workspace — studies, germplasm, genotypes across Breedbase, T3, more.",
  "repository": {
    "url": "https://github.com/cyanheads/brapi-mcp-server",
    "source": "github"
  },
  "version": "0.7.6",
  "packages": [
    {
      "registryType": "npm",
      "registryBaseUrl": "https://registry.npmjs.org",
      "identifier": "@cyanheads/brapi-mcp-server",
      "runtimeHint": "bun",
      "version": "0.7.6",
      "packageArguments": [
        { "type": "positional", "value": "run" },
        { "type": "positional", "value": "start:stdio" }
      ],
      "environmentVariables": [
        {
          "name": "BRAPI_DEFAULT_BASE_URL",
          "description": "Default BrAPI v2 base URL. Optional — connections can be opened at runtime via the brapi_connect tool instead.",
          "format": "string",
          "isRequired": false
        },
        {
          "name": "BRAPI_ENABLE_WRITES",
          "description": "Opt-in flag for the write surface (brapi_submit_observations). Off by default — the tool is omitted from tools/list unless the operator opts in.",
          "format": "string",
          "isRequired": false,
          "default": "false"
        },
        {
          "name": "BRAPI_PAGE_SIZE",
          "description": "Upstream pageSize used during canvas spillover walks (decoupled from BRAPI_LOAD_LIMIT). Dataframe ceiling = pageSize × 50 pages.",
          "format": "string",
          "isRequired": false,
          "default": "1000"
        },
        {
          "name": "MCP_LOG_LEVEL",
          "description": "Sets the minimum log level for output (e.g., 'debug', 'info', 'warn').",
          "format": "string",
          "isRequired": false,
          "default": "info"
        }
      ],
      "transport": {
        "type": "stdio"
      }
    },
    {
      "registryType": "npm",
      "registryBaseUrl": "https://registry.npmjs.org",
      "identifier": "@cyanheads/brapi-mcp-server",
      "runtimeHint": "bun",
      "version": "0.7.6",
      "packageArguments": [
        { "type": "positional", "value": "run" },
        { "type": "positional", "value": "start:http" }
      ],
      "environmentVariables": [
        {
          "name": "BRAPI_DEFAULT_BASE_URL",
          "description": "Default BrAPI v2 base URL. Optional — connections can be opened at runtime via the brapi_connect tool instead.",
          "format": "string",
          "isRequired": false
        },
        {
          "name": "BRAPI_ENABLE_WRITES",
          "description": "Opt-in flag for the write surface (brapi_submit_observations). Off by default — the tool is omitted from tools/list unless the operator opts in.",
          "format": "string",
          "isRequired": false,
          "default": "false"
        },
        {
          "name": "BRAPI_PAGE_SIZE",
          "description": "Upstream pageSize used during canvas spillover walks (decoupled from BRAPI_LOAD_LIMIT). Dataframe ceiling = pageSize × 50 pages.",
          "format": "string",
          "isRequired": false,
          "default": "1000"
        },
        {
          "name": "MCP_HTTP_HOST",
          "description": "The hostname for the HTTP server.",
          "format": "string",
          "isRequired": false,
          "default": "127.0.0.1"
        },
        {
          "name": "MCP_HTTP_PORT",
          "description": "The port to run the HTTP server on.",
          "format": "string",
          "isRequired": false,
          "default": "3010"
        },
        {
          "name": "MCP_HTTP_ENDPOINT_PATH",
          "description": "The endpoint path for the MCP server.",
          "format": "string",
          "isRequired": false,
          "default": "/mcp"
        },
        {
          "name": "MCP_AUTH_MODE",
          "description": "Authentication mode to use: 'none', 'jwt', or 'oauth'.",
          "format": "string",
          "isRequired": false,
          "default": "none"
        },
        {
          "name": "MCP_LOG_LEVEL",
          "description": "Sets the minimum log level for output (e.g., 'debug', 'info', 'warn').",
          "format": "string",
          "isRequired": false,
          "default": "info"
        }
      ],
      "transport": {
        "type": "streamable-http",
        "url": "http://localhost:3010/mcp"
      }
    }
  ]
}
