MetExplore

v0.1.5
io.github.MetExplore/mcp-metexplore Checked 4 days ago Published 2 days ago

Query MetExplore metabolic networks: organisms, metabolites, reactions, metabolite and gene mapping

Values you need

VariableWhat it is
METEXPLORE_APP_KEYrequired secret MetExplore application key, to request from contact-metexplore@inrae.fr
METEXPLORE_USER_TOKENoptional secret MetExplore user token (account profile), to also access your private networks
METEXPLORE_API_URLoptional Base URL of the MetExplore API (default: production) Default: https://metexplore.toulouse.inrae.fr/metexplore3-api

npm (npx) discovery passed

Requires Node.js 18+

Run in a terminal
claude mcp add mcp-metexplore -e 'METEXPLORE_APP_KEY=<METEXPLORE_APP_KEY>' -- npx -y @metexplore/mcp-metexplore@0.1.4
Add to claude_desktop_config.json
{
  "mcpServers": {
    "mcp-metexplore": {
      "args": [
        "-y",
        "@metexplore/mcp-metexplore@0.1.4"
      ],
      "command": "npx",
      "env": {
        "METEXPLORE_APP_KEY": "<METEXPLORE_APP_KEY>"
      }
    }
  }
}
Add to ~/.cursor/mcp.json
{
  "mcpServers": {
    "mcp-metexplore": {
      "args": [
        "-y",
        "@metexplore/mcp-metexplore@0.1.4"
      ],
      "command": "npx",
      "env": {
        "METEXPLORE_APP_KEY": "<METEXPLORE_APP_KEY>"
      }
    }
  }
}
Add to .vscode/mcp.json
{
  "inputs": [
    {
      "description": "METEXPLORE_APP_KEY",
      "id": "metexplore-app-key",
      "password": true,
      "type": "promptString"
    }
  ],
  "servers": {
    "mcp-metexplore": {
      "args": [
        "-y",
        "@metexplore/mcp-metexplore@0.1.4"
      ],
      "command": "npx",
      "env": {
        "METEXPLORE_APP_KEY": "${input:metexplore-app-key}"
      },
      "type": "stdio"
    }
  }
}
Add to ~/.codex/config.toml
[mcp_servers.mcp-metexplore]
command = "npx"
args = ["-y", "@metexplore/mcp-metexplore@0.1.4"]
env = { "METEXPLORE_APP_KEY" = "<METEXPLORE_APP_KEY>" }

Remote (hosted)

Run in a terminal
claude mcp add --transport http mcp-metexplore https://metexplore.toulouse.inrae.fr/metexplore-mcp/mcp --header 'X-MetExplore-Token: <X-MetExplore-Token>'
Add to Settings → Connectors → Add custom connector (or claude_desktop_config.json via mcp-remote)
{
  "mcpServers": {
    "mcp-metexplore": {
      "args": [
        "-y",
        "mcp-remote",
        "https://metexplore.toulouse.inrae.fr/metexplore-mcp/mcp",
        "--header",
        "X-MetExplore-Token: <X-MetExplore-Token>"
      ],
      "command": "npx"
    }
  }
}
Add to ~/.cursor/mcp.json
{
  "mcpServers": {
    "mcp-metexplore": {
      "headers": {
        "X-MetExplore-Token": "<X-MetExplore-Token>"
      },
      "url": "https://metexplore.toulouse.inrae.fr/metexplore-mcp/mcp"
    }
  }
}
Add to .vscode/mcp.json
{
  "servers": {
    "mcp-metexplore": {
      "headers": {
        "X-MetExplore-Token": "<X-MetExplore-Token>"
      },
      "type": "http",
      "url": "https://metexplore.toulouse.inrae.fr/metexplore-mcp/mcp"
    }
  }
}
Add to ~/.codex/config.toml
[mcp_servers.mcp-metexplore]
command = "npx"
args = ["-y", "mcp-remote", "https://metexplore.toulouse.inrae.fr/metexplore-mcp/mcp", "--header", "X-MetExplore-Token: <X-MetExplore-Token>"]

For AI agents

  1. Ask the user for: METEXPLORE_APP_KEY. Never invent or guess these values; secrets go into the client config, not into chat logs.
  2. Pick the user's MCP client and apply the matching config from the first install method (it is the one verified by the smoke test when available).
  3. Restart or reload the client so it starts the server.
  4. Verify: the server should expose these tools: search_organisms, search_metabolites, search_metabolites_by_formula, search_metabolites_by_external_id, count_reactions_for_metabolite, match_chebi, map_metabolites, map_genes, ….
  5. If it fails, check that the required runtime is installed (Node.js 18+) and that the values above are set.

Machine-readable: install.md · manifest.json