Prototype · Preview: every server in the official registry, synced every 30 minutes. Sign in with Google to write reviews.Prototype · updated every 30 min
PopNx MCPMCP servers for people who use AI · explained in plain words Sign in

MetExplore

✓ Brand-named GitHub · github.com/metexplore

by MetExploreversion 0.1.2i★ 0iComputer or cloudOfficial site ↗

How to install

What it does

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

  • Connects Computer or cloud
  • Account or key Cloud: Works without a key · add X-MetExplore-Token if you have one (often raises limits) · Local: Needs METEXPLORE_APP_KEY, METEXPLORE_USER_TOKEN
  • Category Other

Why it ranks here

Lists are ordered by a usage score (out of 100) built from these parts

Popularity0/80GitHub stars or weekly downloads: the larger counts 60, the smaller 20
Freshness12/12Full marks for a release or code change within 30 days
Still answering8/8The cloud endpoint answered at the last check
Usage score20/100

Quality: Passed 5/5 basic checks (shown, not used for ordering) · Momentum: No data yet (Used only on the Trending tab)

Install

Pick the AI app you use, then copy the settings.

Let your AI install it with one sentence

Please install MetExplore. Follow https://mcp.popnx.com/i/metexplore-mcp-metexplore.md, show me the commands and wait for my OK before running them.

Paste it into an AI that can work on your computer (such as Claude Code or Cursor). It reads our steps, shows you the commands and waits for your OK. No key, no sign-up. · See the full text your AI reads

Passed 5/5 checks · What you ask goes through the maker’s server (metexplore.toulouse.inrae.fr) · ✓ Commands checked Nov 26, 2026

First: which AI do you use?

Pick your app and the steps appear below.

Works with Claude · about 2 min

No key, nothing to install · Set it up once on claude.ai or the desktop app, then use it in chat · free accounts can add 1 · on Team/Enterprise an Owner adds it

  1. Click this button: Claude opens the add-connector window already filled in

    Add MetExplore to Claude ↗

    The name and URL are filled in for you. Check them and click Add · if you are signed out, Claude asks you to sign in first

    Click Continue past the sign-in settings Claude detected · under Authentication choose what the maker says (Sign in now, Sign in when needed or No sign in), then click Add

    Button not working? Fill it in yourself

    CustomizeConnectors

    CustomizeConnectors1Add2https://…3Add4

    Click “Add” → “Custom” → “Web” and fill in these 2 fields

    Copy each value into the field with the same name in Claude, then click Continue

    Name · NameMetExplore
    Remote MCP server URL · Addresshttps://metexplore.toulouse.inrae.fr/metexplore-mcp/mcp
  2. Turn it on in a chat

    +ConnectorsMetExplore

  3. Try it

    Use MetExplore and tell me what you can do for me, then show me one thing

    ✓ If Claude says it is using MetExplore or shows a MetExplore tool in the answer, you are connected

Menu names checked against Anthropic’s help page on Nov 11, 2026 · your screen may differ slightly by app version

Works with ChatGPT, depending on your plan

Full MCP: ChatGPT Business, Enterprise or Edu on the web · Pro: connects with read/fetch permissions, so tools that change data may not work · Plus: not confirmed in OpenAI’s docs; if you see an add-custom-MCP option on the Plugins page you can try these steps · web only

  1. Open ChatGPT’s add-MCP page on the web

    Plugins+Add custom MCP server

    ChatGPTPlugins1+2https://…3Create4
  2. Fill in the name and address

    Enter a name, paste the address under Connection, tick the risk warning and click Create as a plugin

    Name · NameMetExplore
    Connection · Addresshttps://metexplore.toulouse.inrae.fr/metexplore-mcp/mcp
  3. Pick MetExplore in a chat

    Start a new chat and pick MetExplore from your plugins before typing

  4. Try it

    Use MetExplore and tell me what you can do for me, then show me one thing

    ✓ If ChatGPT says it is using MetExplore or shows a MetExplore tool in the answer, you are connected

Menu names checked against OpenAI’s help page on Nov 11, 2026 · your screen may differ slightly by app version

Works with Claude Code · about 2 min

No key, nothing to install

  1. Open Terminal

    Mac: press Command+Space and type Terminal · Windows: open PowerShell

  2. Paste this command and press Enter

    claude mcp add --transport http --scope user metexplore https://metexplore.toulouse.inrae.fr/metexplore-mcp/mcp
  3. Type /mcp in Claude Code

    You should see MetExplore listed as connected

  4. Try it

    Use MetExplore and tell me what you can do for me, then show me one thing

    ✓ If Claude Code says it is using MetExplore or shows a MetExplore tool in the answer, you are connected

Menu names checked against Anthropic’s help page on Nov 11, 2026 · your screen may differ slightly by app version

Works with Cursor · about 2 min

No key, nothing to install

  1. Click this button to open Cursor

    Open in Cursor

    Cursor asks you to confirm; click Install

  2. Open the AI chat in Cursor in Agent mode

  3. Try it

    Use MetExplore and tell me what you can do for me, then show me one thing

    ✓ If Cursor says it is using MetExplore or shows a MetExplore tool in the answer, you are connected

Menu names checked against Cursor’s help page on Nov 11, 2026 · your screen may differ slightly by app version

Works with VS Code · about 2 min

No key, nothing to install

  1. Click this button to open VS Code

    Open in VS Code

    VS Code asks you to confirm; click Install

  2. Open the AI chat in VS Code in Agent mode

  3. Try it

    Use MetExplore and tell me what you can do for me, then show me one thing

    ✓ If VS Code says it is using MetExplore or shows a MetExplore tool in the answer, you are connected

Menu names checked against VS Code’s help page on Nov 11, 2026 · your screen may differ slightly by app version

Other apps that use MCP, such as Windsurf, Zed or Gemini CLI, each add servers differently. See how in the app list.

See every app that uses MCP →

Address for apps that connect over the web

Addresshttps://metexplore.toulouse.inrae.fr/metexplore-mcp/mcp

JSON settings are under “For developers” below

Stuck? Ask people who use MetExplore💬 Discussion →
For developers: Terminal commands and JSON settings

Over the web

Claude Code

claude mcp add --transport http --scope user metexplore https://metexplore.toulouse.inrae.fr/metexplore-mcp/mcp

Cursor (~/.cursor/mcp.json)

{
  "mcpServers": {
    "metexplore": {
      "url": "https://metexplore.toulouse.inrae.fr/metexplore-mcp/mcp"
    }
  }
}

VS Code (mcp.json)

{
  "servers": {
    "metexplore": {
      "type": "http",
      "url": "https://metexplore.toulouse.inrae.fr/metexplore-mcp/mcp"
    }
  }
}

Installed on your computer

Claude Code

claude mcp add --scope user metexplore --env METEXPLORE_APP_KEY=your-value --env METEXPLORE_USER_TOKEN=your-value -- npx -y @metexplore/mcp-metexplore

Claude Desktop (claude_desktop_config.json)

{
  "mcpServers": {
    "metexplore": {
      "command": "npx",
      "args": [
        "-y",
        "@metexplore/mcp-metexplore"
      ],
      "env": {
        "METEXPLORE_APP_KEY": "your-value",
        "METEXPLORE_USER_TOKEN": "your-value"
      }
    }
  }
}

Cursor (~/.cursor/mcp.json)

{
  "mcpServers": {
    "metexplore": {
      "command": "npx",
      "args": [
        "-y",
        "@metexplore/mcp-metexplore"
      ],
      "env": {
        "METEXPLORE_APP_KEY": "your-value",
        "METEXPLORE_USER_TOKEN": "your-value"
      }
    }
  }
}

VS Code (mcp.json)

{
  "servers": {
    "metexplore": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@metexplore/mcp-metexplore"
      ],
      "env": {
        "METEXPLORE_APP_KEY": "your-value",
        "METEXPLORE_USER_TOKEN": "your-value"
      }
    }
  }
}

Values you fill in

  • METEXPLORE_APP_KEY secret required env
    MetExplore application key, to request from contact-metexplore@inrae.fr
  • METEXPLORE_USER_TOKEN secret required env
    MetExplore user token (account profile), to also access your private networks
  • METEXPLORE_API_URL env
    Base URL of the MetExplore API (default: production)
  • X-MetExplore-Token secret HTTP header
    MetExplore user token, to also access your private networks (public networks without it)

Descriptions are as written by the maker.

These settings are generated from the maker’s registry entry. If the README says otherwise, follow the README.

At a glance

Registry name
io.github.MetExplore/mcp-metexplore
Downloads per weeki
Not on npm/PyPI
Licencei
Apache-2.0
Connection
Computer or cloud
Number of tools
9 tools · light Every tool name and description is sent to the AI when this MCP is connected (some apps load only the ones in use). More tools take up more of what the AI can hold in each chat and make it easier to pick the wrong tool. Counted from the tool list the server returned to our checker on Nov 26, 2026
Transport
stdio, streamable-http
Latest versioni
0.1.2
Categoryi
Other
Published to registryi
Nov 25, 2026
Code last changedi
Nov 25, 2026
Last checked
Nov 26, 2026
Maker
MetExplore
Packages
npm: @metexplore/mcp-metexplore
Registry status
Active

Which apps can use it

Based on how this server connects and on each app’s own docs, checked Nov 10, 2026.

Connect over the internet in

ClaudeChatGPTGooseLM StudioMsty StudioCherry StudioCursorVS Code + GitHub CopilotVisual StudioWindsurf (Devin Desktop)ZedKiroClineContinueJetBrains AI AssistantClaude CodeCodex CLIGemini CLIOpenCodenodecodeWarpLibreChatOpen WebUIRaycast

Run on your computer in

ClaudeGooseLM StudioMsty StudioCherry StudioCursorVS Code + GitHub CopilotVisual StudioWindsurf (Devin Desktop)ZedKiroClineContinueJetBrains AI AssistantClaude CodeCodex CLIGemini CLIOpenCodenodecodeWarpLibreChatRaycast

All apps, with pros and cons →

Related guides

What it can do

Tool names and descriptions exactly as the server reported them on Nov 26, 2026. The maker wrote them, not us; we show them as plain text.

  • search_organisms

    Searches MetExplore metabolic networks matching an organism name. Use this before any other tool that needs an id_network: if several networks match (e.g. 'Homo sapiens' can match several strains/tissues/sources), the result lists the candidates for the user to choose from. The q

  • search_metabolites

    Fuzzy search of the metabolites of a MetExplore network by name (or db_identifier, matched exactly or as a fragment). Name matching is tolerant to case, accents, punctuation, Greek letters (β = beta), word order and small typos, but far-fetched matches are discarded. Returns the

  • search_metabolites_by_formula

    Lists ALL the metabolites of a MetExplore network whose chemical formula matches the given molecular formula (element order does not matter: C3H3O4 = H3C3O4). Use this tool whenever the user gives a chemical formula such as C6H12O6, C3H3O4 or CO2, instead of search_metabolites (w

  • search_metabolites_by_external_id

    Lists ALL the metabolites of a MetExplore network cross-referenced to a given external identifier (ChEBI, KEGG compound, HMDB, MetaNetX, PubChem, LipidMaps, InChI, BiGG, VMH...), in every compartment. Use it whenever the user gives such an identifier, e.g. 'CHEBI:15422', 'C00002'

  • count_reactions_for_metabolite

    Returns the number and list of reactions (id, db_identifier, name) in the network that involve a given metabolite. The metabolite must first be resolved to an internal id via search_metabolites.

  • match_chebi

    Matches one or several ChEBI identifiers to the metabolites of a MetExplore network using the ChEBI ontology: besides exact matches, it finds related metabolites (more generic or more specific ChEBI classes, conjugate acid/base, tautomers, enantiomers), each with its relation and

  • map_metabolites

    Maps a list of metabolite identifiers (db_identifier) onto a MetExplore network and produces a report: mapped, not found, or ambiguous entries (several matching metabolites, each with its full name, formula and cross-references so the user can choose), AND a pathway enrichment ta

  • map_genes

    Maps a list of gene identifiers (db_identifier, exact or regular expression) onto a MetExplore network and produces a report: mapped, not found, or ambiguous entries (several matching genes), AND a pathway enrichment table (right-tailed Fisher exact test, with Bonferroni and Benj

  • get_quota_status

    Returns how many requests have already been sent to the MetExplore API and how many remain for the current MCP session (limit set by METEXPLORE_MAX_REQUESTS_PER_SESSION).

Basic checksi

We check information anyone can see; we have not read the code. Checks that do not apply are left out of the count. · Checked Nov 26, 2026

  • ✓ Pass

    Maker matches the repo

    The registry name was verified with the GitHub account MetExplore, which owns the repo

  • ✓ Pass

    Still maintained

    Code last changed yesterday

  • ✓ Pass

    Has a licence

    Uses Apache-2.0

  • ✓ Pass

    Endpoint responds

    Responded in 1160 ms (HTTP 200)

  • – Not applicable

    Sign-in with OAuth

    No sign-in needed

  • ✓ Pass

    No hidden instructions in tool descriptions

    Read 9 tool descriptions and found no hidden instructions to the AI

Published vulnerabilities (OSV.dev)

No entries on OSV.dev for @metexplore/mcp-metexplore@0.1.2

Checks only this package version, not every dependency · checked Nov 26, 2026

What we check → · JSON

Makers: ask for a re-check or report wrong info
For makers: add a badge to your README

If you made this, paste this code into your README. The badge links back to this page.

[![Featured on PopNx MCP](https://mcp.popnx.com/badge/metexplore-mcp-metexplore.svg)](https://mcp.popnx.com/en/servers/metexplore-mcp-metexplore)

Discussion

Ask, share a tip or report that it does not work. Sorted by what people marked helpful.

No posts yet. Be the first to ask or share.

Posts here are written by users, not the PopNx team.

Sign in to post

User reviews

No reviews yet

Sign in to write a review

Compared with others in Otheri

  • More stars than 0% of the other 22222 servers in this category
  • Published to the registry more recently than 99% of the other 22222 servers in this category
  • Basic checks equal to or better than 99% of the other 22222 servers in this category

Compared with every active server in this category in the registry. Stars count only when the publisher owns the repo.

Common questions

Is MetExplore safe?

It passed 5 of 5 applicable basic checks. We have not read the code. Before adding a key or token, see what access the server asks for and use a key with only the permissions you need.

What keys or codes does it need?

You need to fill in: METEXPLORE_APP_KEY, METEXPLORE_USER_TOKEN

Does it run on my computer or in the cloud?

Either way works: install it on your computer or connect to the cloud version.

Is it still maintained?

The GitHub repo last changed yesterday, and the latest version (0.1.2) reached the registry yesterday.

Which apps can use it?

Apps that support MCP, such as Claude Desktop, Claude Code, Cursor and VS Code. It connects by URL, so apps that accept remote MCP servers work too, such as ChatGPT on the web (full MCP on Business and above; Pro read-only).

What can I use instead?

In the same category: World Monitor, openstatus, Oh My Posh Validator, Strata, Jitsu

Similar alternatives

Same category, other makers, commands already checked. Official ones first, then by stars.

Reading a card:↓ Downloads per weeki★ GitHub starsiThree pillars: reviews · checks · usageiUpdated = latest version published to the registryi

World Monitor

Real-time global intelligence on conflict, markets, energy, trade, shipping and cyber. 100 tools.

by koala73Widely used★ 91.2KUpdated 10 days ago

Connect now (has URL) · sign-in✓ service owner · worldmonitor.app

openstatus

Manage monitors, status pages, incidents and maintenances in your openstatus workspace.

by openstatusHQWidely used★ 9.3KUpdated 3 months ago

Connect now (has URL) · sign-in✓ service owner · openstatus.dev

Oh My Posh Validator

Validate oh-my-posh configurations and segment snippets against the official schema.

by JanDeDobbeleerWidely used★ 23.8K Stars for the whole repoUpdated 37 days ago

Connect now (has URL)2 tools · light✓ service owner · ohmyposh.dev

Strata

MCP server for progressive tool usage at any scale (see https://klavis.ai)

by Klavis-AIGrowing★ 5.8KUpdated 14 months ago

Connect now (has URL) · needs a keyRepo archived✓ klavis.ai

Jitsu

Manage Jitsu data pipelines: destinations, streams, connections, functions, live events.

by jitsucomWidely used★ 5.1KUpdated 4 months ago

Connect now (has URL) · sign-in✓ service owner · jitsu.com
Compared with similar ones
This one
MetExplore
World MonitoropenstatusOh My Posh ValidatorStrataJitsu
Runs whereCloud or install on your computerRuns in the cloud, nothing to installRuns in the cloud, nothing to installRuns in the cloud, nothing to installRuns in the cloud, nothing to installRuns in the cloud, nothing to install
Needs a keyYesNoNoNoNoNo
Add with + in ClaudeNoNoNoNoNoNo
Basic checks5/54/44/44/41/44/4
LicenseApache-2.0AGPL-3.0AGPL-3.0MITApache-2.0MIT
PriceNo cost listed in the registryNo cost listed in the registryNo cost listed in the registryNo cost listed in the registryNo cost listed in the registryNo cost listed in the registry

README from the maker

Open the README

Copied from the maker’s repo as written. PopNx MCP has not reviewed or endorsed it. HTML, images and scripts are removed. Links lead off this site.

mcp-metexplore

Metadata

  • authors: with claude-opus-5-5
  • creation date: 2026-11-13
  • main usage: MCP (Model Context Protocol) server to query MetExplore metabolic networks from LLM clients

Description

MCP (Model Context Protocol) server for querying the MetExplore API from any MCP-compatible client (Claude Desktop, Claude Code, VS Code...).

It lets users ask questions about MetExplore organisms, metabolites and reactions in natural language, the LLM client calling the MetExplore API through the tools exposed by this server.

It can be used as a shared remote server (Streamable HTTP transport, nothing to install) or run locally (stdio transport).

Example questions
  • "In how many reactions is glucose involved in humans?" → search_organisms("Homo sapiens"), then search_metabolites, then count_reactions_for_metabolite.
  • "Give me all the metabolites with the formula C3H3O4 in Human-GEM V2." → search_organisms("Human-GEM 2") then search_metabolites_by_formula.
  • "Which metabolites correspond to CHEBI:15422 in Human-GEM V2?" → search_organisms("Human-GEM 2") then search_metabolites_by_external_id.
  • "Which metabolites of Human-GEM V2 are related to CHEBI:17234?" → search_organisms("Human-GEM 2") then match_chebi.
  • "I have this file of metabolite identifiers, map it onto Ralstonia and give me a report." → search_organisms("Ralstonia") then map_metabolites.
  • "Map these E. coli genes and tell me which pathways are enriched." → search_organisms("E. coli") then map_genes.

Features

  • `search_organisms`: search for a MetExplore organism/network, with disambiguation when several networks match (e.g. "Homo sapiens").
  • `search_metabolites`: search for a metabolite in a network, with disambiguation (id, full name, chemical formula, cross-references).
  • `search_metabolites_by_formula`: list every metabolite of a network with a given chemical formula, optionally ignoring hydrogens to catch all protonation states.
  • `search_metabolites_by_external_id`: list every metabolite of a network cross-referenced to an external identifier (ChEBI, KEGG, HMDB, MetaNetX, PubChem, LipidMaps, InChI, BiGG, VMH...), after checking that the network contains identifiers from that database.
  • `match_chebi`: match ChEBI identifiers to the metabolites of a network using the ChEBI ontology: exact matches, but also more generic/specific classes, conjugate acids/bases, tautomers and enantiomers, with their distance.
  • `count_reactions_for_metabolite`: count/list the reactions involving a metabolite.
  • `map_metabolites`: map a list of metabolite identifiers onto a network and produce a report (mapped / not found / ambiguous).
  • `map_genes`: map a list of gene identifiers (exact or regular expression) onto a network and produce the same report, with pathway enrichment.
  • `get_quota_status`: check the remaining API request quota for the current session.
API request quota

To avoid overloading the MetExplore API, the server limits the number of HTTP requests actually sent to METEXPLORE_MAX_REQUESTS_PER_SESSION (20 by default) per MCP session: the whole process lifetime in stdio mode, one MCP session (one client connection) in HTTP mode. An in-memory, per-session cache (network list, metabolites per network) avoids re-spending this quota on repeated searches over the same data. The remaining quota can be checked with the get_quota_status tool. Once the quota is reached, restart the server (stdio) or reconnect the client to open a new session (HTTP).

Getting Started

The easiest way is to use the hosted remote server (no installation, no application key). The server can also be run locally (stdio).

Prerequisites
  • MCP client: any MCP-compatible client (Claude Code, Claude Desktop, VS Code...)
  • Remote use: nothing else
  • Local use:
  • Operating System: Linux, macOS or Windows
  • Node.js: version 18 or higher
  • npm
  • a MetExplore application key: ask for one by email at contact-metexplore@inrae.fr
  • Optional: a MetExplore user token (available in the MetExplore interface, in your account profile) to access your private networks
  • Deployment only: Docker
Installing
Option 1: use the remote server

No installation and no application key are needed: the server is hosted and already holds the MetExplore application key.

Claude Code (one command) — public networks only:

claude mcp add --transport http metexplore https://metexplore.toulouse.inrae.fr/metexplore-mcp/mcp

With your MetExplore user token, to also access your private networks:

claude mcp add --transport http metexplore https://metexplore.toulouse.inrae.fr/metexplore-mcp/mcp --header "X-MetExplore-Token: YOUR_METEXPLORE_USER-TOKEN"

Add --scope user to make the server available in all your projects.

Other clients (`.mcp.json`, VS Code...):

{

"mcpServers": { "metexplore": { "type": "http", "url": "https://metexplore.toulouse.inrae.fr/metexplore-mcp/mcp", "headers": { "X-MetExplore-Token": " " } } } }

Omit headers to access public networks only.

Option 2: local use (stdio)

The server is published on npm as @metexplore/mcp-metexplore: npx downloads and runs it, nothing to install. Register it in your client, e.g. for Claude Desktop (claude_desktop_config.json) or any client using the mcpServers format:

{

"mcpServers": { "metexplore": { "command": "npx", "args": ["-y", "@metexplore/mcp-metexplore"], "env": { "METEXPLORE_APP_KEY": " " } } } }

Or with Claude Code:

claude mcp add metexplore --env METEXPLORE_APP_KEY=<your app key> -- npx -y @metexplore/mcp-metexplore

Other variables of the configuration table below can be added the same way ("env" block or --env). Check the connection with /mcp in Claude Code, then ask one of the example questions.

From the sources

To run a modified version, install and build the server:

git clone https://forge.inrae.fr/metexplore/mcp/mcp-metexplore.git

cd mcp-metexplore npm install npm run build cp .env.example .env

edit .env: see the configuration table below

Configuration (.env, or env block of the client configuration):

VariableRequiredDescription
METEXPLORE_API_URLno (default https://metexplore.toulouse.inrae.fr/metexplore3-api, production)Base URL of the MetExplore API, no trailing slash
METEXPLORE_APP_KEYyesApplication token (x-app-key header), to request from contact-metexplore@inrae.fr
METEXPLORE_USER_TOKENno (stdio only)A user token already obtained
METEXPLORE_USER_LOGIN / METEXPLORE_USER_PASSWORDno (stdio only, set together)Credentials used to call /users/login on first use
METEXPLORE_MAX_REQUESTS_PER_SESSIONno (default 20)Max number of requests sent to the API per MCP session
METEXPLORE_TLS_REJECT_UNAUTHORIZEDno (default true)Set to false to disable TLS certificate verification
MCP_TRANSPORTno (default stdio)stdio (local use) or http (remote deployment)

Without any user credentials, the API is queried with the app key only: only public networks are visible. HTTP-mode variables are described in Deployment.

Then register the built server (instead of npx) in your client, e.g. for Claude Desktop / Claude Code (claude_desktop_config.json or equivalent):

{

"mcpServers": { "metexplore": { "command": "node", "args": ["/absolute/path/to/mcp-metexplore/dist/index.js"] } } }

Environment variables can also be passed directly in this configuration block ("env": {...}) instead of via a .env file.

Or with Claude Code:

claude mcp add metexplore --env METEXPLORE_APP_KEY=<your app key> -- node /absolute/path/to/mcp-metexplore/dist/index.js

Check the connection with /mcp in Claude Code, then ask one of the example questions.

Running the tests

Unit tests use node:test with a mocked fetch (no MetExplore API needed):

npm test

They cover the tools (search, disambiguation, formula/external id matching, ChEBI ontology matching, mapping report), the API client, the configuration, the output formatting and the HTTP transport.

Deployment

Remote deployment (HTTP)

With MCP_TRANSPORT=http, the server exposes the MCP Streamable HTTP transport on /mcp, plus GET /health (used by the Docker healthcheck). METEXPLORE_USER_* variables are ignored in this mode; only METEXPLORE_APP_KEY is shared by all clients.

VariableDefaultDescription
MCP_HTTP_HOST / MCP_HTTP_PORT127.0.0.1 / 3000Listening address (0.0.0.0 in the Docker image)
MCP_ALLOWED_HOSTSempty (no check)Comma-separated public hostnames accepted in the Host header (DNS rebinding protection)
MCP_TRUST_PROXYfalsetrue behind a reverse proxy: client IP taken from X-Forwarded-For (set by the CI deployment)
MCP_RATE_LIMIT_PER_MINUTE60Max HTTP requests per client IP per minute on /mcp
MCP_MAX_SESSIONS200Max concurrent MCP sessions (503 beyond)
MCP_SESSION_TTL_MINUTES30Idle sessions are closed after this delay
Docker
docker build -t mcp-metexplore .

docker run --rm -p 127.0.0.1:3000:3000 \ -e METEXPLORE_APP_KEY=... -e METEXPLORE_API_URL=... \ -e MCP_ALLOWED_HOSTS=localhost mcp-metexplore curl http://localhost:3000/health

On the servers (see Continuous deployment), the container is only bound to 127.0.0.1:${HOST_PORT}; TLS and the public domain name are handled by the host's reverse proxy, which must keep the original Host header and should not buffer responses. Example (nginx):

location /mcp {

proxy_pass http://127.0.0.1:8077; proxy_set_header Host $host; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_set_header X-Forwarded-Proto $scheme; proxy_http_version 1.1; proxy_buffering off; proxy_read_timeout 1h; }

Apache equivalent: ProxyPreserveHost On, ProxyPass /mcp http://127.0.0.1:8077/mcp flushpackets=on timeout=3600.

Continuous deployment (GitLab CI)

.gitlab-ci.yml runs on the vm-metexplore-dev runner (docker executor). The test and build jobs (docker:27-cli image) use the host's Docker daemon, so the runner must mount its socket in /etc/gitlab-runner/config.toml:

[runners.docker]

volumes = ["/var/run/docker.sock:/var/run/docker.sock", "/cache"]

Deploy jobs run in alpine with openssh-client and only ne

Only the beginning is shown; read the rest in the repo