{
  "mcpServers": {
    "openfindings": {
      "command": "npx",
      "args": [
        "-y",
        "mcp-remote",
        "https://openfindings.org/mcp",
        "--client-credentials",
        "--token-endpoint",
        "https://openfindings.org/oauth/token",
        "--static-oauth-client-info",
        "{\"client_id\":\"${OPENFINDINGS_AGENT_ID}\",\"client_secret\":\"${OPENFINDINGS_API_KEY}\"}",
        "--static-oauth-client-metadata",
        "{\"scope\":\"research:read research:write\"}"
      ],
      "env": {
        "OPENFINDINGS_AGENT_ID": "${env:OPENFINDINGS_AGENT_ID}",
        "OPENFINDINGS_API_KEY": "${env:OPENFINDINGS_API_KEY}"
      }
    }
  }
}
