World Monitor
ข่าวกรองโลกแบบเรียลไทม์: ความขัดแย้ง ตลาด พลังงาน การค้า การขนส่ง และไซเบอร์
ยังไม่มีคำอธิบายภาษาไทย ดูข้อเท็จจริงด้านล่าง หรือเปิดคำอธิบายต้นฉบับจากผู้ทำ
Query MetExplore metabolic networks: organisms, metabolites, reactions, metabolite and gene mappingหน้ารายการเรียงด้วยคะแนนการใช้งาน (เต็ม 100) จากส่วนเหล่านี้
| ความนิยม | 0/80 | ดาว GitHub หรือยอดดาวน์โหลดต่อสัปดาห์ ค่ามากนับ 60 ค่าน้อยนับ 20 |
|---|---|---|
| ความสด | 12/12 | ออกรุ่นหรือแก้โค้ดใน 30 วัน ได้เต็ม |
| ระบบยังตอบ | 8/8 | endpoint บนคลาวด์ตอบตอนตรวจล่าสุด |
| คะแนนการใช้งาน | 20/100 |
คุณภาพ: ผลตรวจเบื้องต้นผ่าน 5/5 ข้อ (แสดงให้ดู ไม่ได้ใช้เรียง) · ความมาแรง: ยังไม่มีข้อมูล (ใช้เรียงเฉพาะแท็บมาแรง)
เลือกโปรแกรม AI ที่คุณใช้ แล้วคัดลอกค่าตั้งไปวาง
ให้ AI ติดตั้งให้ด้วยประโยคเดียว
ติดตั้ง MetExplore ให้หน่อย ทำตาม https://mcp.popnx.com/i/metexplore-mcp-metexplore.md แสดงคำสั่งให้ฉันดูและรอฉันตกลงก่อนรันคัดลอกไปวางในแชตของ AI ที่ทำงานในเครื่องคุณได้ (เช่น Claude Code, Cursor) · AI จะอ่านขั้นตอนจากเรา แสดงคำสั่งให้ดู และรอคุณตกลงก่อน · ไม่ต้องใช้คีย์ ไม่ต้องสมัคร · ดูข้อความเต็มที่ AI จะอ่าน
ผลตรวจผ่าน 5/5 · สิ่งที่คุณถามผ่านเซิร์ฟเวอร์ของผู้ทำ (metexplore.toulouse.inrae.fr) · ✓ ตรวจคำสั่งแล้ว 26 พ.ย. 2569
ขั้นแรก: คุณใช้ AI ตัวไหน
เลือกแอปที่คุณใช้ ขั้นตอนจะขึ้นด้านล่าง
ต่อกับ Claude ได้ · ประมาณ 2 นาที
ไม่ต้องใช้คีย์ ไม่ต้องลงโปรแกรม · ตั้งครั้งเดียวที่ claude.ai หรือแอปบนคอม แล้วใช้ในแชตได้ · บัญชีฟรีเพิ่มได้ 1 ตัว · แผน Team/Enterprise ให้เจ้าของ (Owner) เป็นคนเพิ่ม
ชื่อกับที่อยู่ถูกกรอกให้แล้ว ตรวจแล้วกด Add · ถ้ายังไม่ได้ล็อกอิน Claude จะให้ล็อกอินก่อน
กด Continue ผ่านหน้าตรวจการล็อกอินที่ Claude ตรวจเจอ · หัวข้อ Authentication เลือกตามที่ผู้ทำบอก (Sign in now, Sign in when needed หรือ No sign in) แล้วกด Add
CustomizeConnectors
กด “Add” → “Custom” → “Web” แล้วกรอก 2 ช่องนี้
คัดลอกจากที่นี่ไปวางในช่องชื่อเดียวกันบนหน้าจอของ Claude แล้วกด Continue
MetExplorehttps://metexplore.toulouse.inrae.fr/metexplore-mcp/mcp+ConnectorsMetExplore
ใช้ MetExplore บอกหน่อยว่าทำอะไรให้ฉันได้บ้าง แล้วลองทำให้ดูหนึ่งอย่าง✓ ถ้า Claude บอกว่ากำลังใช้ MetExplore หรือมีชื่อเครื่องมือของ MetExplore ขึ้นในคำตอบ แปลว่าต่อสำเร็จ
ชื่อเมนูตรวจกับหน้าช่วยเหลือของ Anthropic เมื่อ 11 พ.ย. 2569 · หน้าจอของคุณอาจต่างเล็กน้อยตามรุ่นของแอป
ต่อกับ ChatGPT ได้ ขึ้นกับแผน
MCP แบบเต็ม: ChatGPT Business, Enterprise หรือ Edu บนเว็บ · Pro: ต่อได้ด้วยสิทธิ์อ่านและดึงข้อมูล เครื่องมือที่แก้ข้อมูลอาจใช้ไม่ได้ · Plus: เอกสารยังไม่ยืนยัน ถ้าเห็นเมนูเพิ่ม MCP แบบกำหนดเองในหน้าปลั๊กอิน ลองตามขั้นตอนได้ · ใช้บนเว็บเท่านั้น
Plugins+Add custom MCP server
ใส่ชื่อ แล้ววางที่อยู่ใต้ Connection ติ๊กยอมรับคำเตือน แล้วกด Create as a plugin
MetExplorehttps://metexplore.toulouse.inrae.fr/metexplore-mcp/mcpเปิดแชตใหม่แล้วเลือก MetExplore จากรายการปลั๊กอินก่อนพิมพ์
ใช้ MetExplore บอกหน่อยว่าทำอะไรให้ฉันได้บ้าง แล้วลองทำให้ดูหนึ่งอย่าง✓ ถ้า ChatGPT บอกว่ากำลังใช้ MetExplore หรือมีชื่อเครื่องมือของ MetExplore ขึ้นในคำตอบ แปลว่าต่อสำเร็จ
ชื่อเมนูตรวจกับหน้าช่วยเหลือของ OpenAI เมื่อ 11 พ.ย. 2569 · หน้าจอของคุณอาจต่างเล็กน้อยตามรุ่นของแอป
ต่อกับ Claude Code ได้ · ประมาณ 2 นาที
ไม่ต้องใช้คีย์ ไม่ต้องลงโปรแกรม
Mac: กด Command+Space พิมพ์ Terminal · Windows: เปิด PowerShell
claude mcp add --transport http --scope user metexplore https://metexplore.toulouse.inrae.fr/metexplore-mcp/mcpต้องเห็น MetExplore ในรายการและขึ้นว่าเชื่อมต่อแล้ว
ใช้ MetExplore บอกหน่อยว่าทำอะไรให้ฉันได้บ้าง แล้วลองทำให้ดูหนึ่งอย่าง✓ ถ้า Claude Code บอกว่ากำลังใช้ MetExplore หรือมีชื่อเครื่องมือของ MetExplore ขึ้นในคำตอบ แปลว่าต่อสำเร็จ
ชื่อเมนูตรวจกับหน้าช่วยเหลือของ Anthropic เมื่อ 11 พ.ย. 2569 · หน้าจอของคุณอาจต่างเล็กน้อยตามรุ่นของแอป
ต่อกับ Cursor ได้ · ประมาณ 2 นาที
ไม่ต้องใช้คีย์ ไม่ต้องลงโปรแกรม
ใช้ MetExplore บอกหน่อยว่าทำอะไรให้ฉันได้บ้าง แล้วลองทำให้ดูหนึ่งอย่าง✓ ถ้า Cursor บอกว่ากำลังใช้ MetExplore หรือมีชื่อเครื่องมือของ MetExplore ขึ้นในคำตอบ แปลว่าต่อสำเร็จ
ชื่อเมนูตรวจกับหน้าช่วยเหลือของ Cursor เมื่อ 11 พ.ย. 2569 · หน้าจอของคุณอาจต่างเล็กน้อยตามรุ่นของแอป
ต่อกับ VS Code ได้ · ประมาณ 2 นาที
ไม่ต้องใช้คีย์ ไม่ต้องลงโปรแกรม
ใช้ MetExplore บอกหน่อยว่าทำอะไรให้ฉันได้บ้าง แล้วลองทำให้ดูหนึ่งอย่าง✓ ถ้า VS Code บอกว่ากำลังใช้ MetExplore หรือมีชื่อเครื่องมือของ MetExplore ขึ้นในคำตอบ แปลว่าต่อสำเร็จ
ชื่อเมนูตรวจกับหน้าช่วยเหลือของ VS Code เมื่อ 11 พ.ย. 2569 · หน้าจอของคุณอาจต่างเล็กน้อยตามรุ่นของแอป
โปรแกรมอื่นที่ใช้ MCP ได้ เช่น Windsurf, Zed หรือ Gemini CLI มีวิธีเพิ่มต่างกัน ดูวิธีของแต่ละตัวในหน้ารวมโปรแกรม
ที่อยู่สำหรับโปรแกรมที่ต่อผ่านเว็บ
https://metexplore.toulouse.inrae.fr/metexplore-mcp/mcpค่าตั้งแบบไฟล์ JSON อยู่ในหัวข้อ “สำหรับคนเขียนโค้ด” ด้านล่าง
Claude Code
claude mcp add --transport http --scope user metexplore https://metexplore.toulouse.inrae.fr/metexplore-mcp/mcpCursor (~/.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"
}
}
}Claude Code
claude mcp add --scope user metexplore --env METEXPLORE_APP_KEY='ใส่ค่าของคุณ' --env METEXPLORE_USER_TOKEN='ใส่ค่าของคุณ' -- npx -y @metexplore/mcp-metexploreClaude Desktop (claude_desktop_config.json)
{
"mcpServers": {
"metexplore": {
"command": "npx",
"args": [
"-y",
"@metexplore/mcp-metexplore"
],
"env": {
"METEXPLORE_APP_KEY": "ใส่ค่าของคุณ",
"METEXPLORE_USER_TOKEN": "ใส่ค่าของคุณ"
}
}
}
}Cursor (~/.cursor/mcp.json)
{
"mcpServers": {
"metexplore": {
"command": "npx",
"args": [
"-y",
"@metexplore/mcp-metexplore"
],
"env": {
"METEXPLORE_APP_KEY": "ใส่ค่าของคุณ",
"METEXPLORE_USER_TOKEN": "ใส่ค่าของคุณ"
}
}
}
}VS Code (mcp.json)
{
"servers": {
"metexplore": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@metexplore/mcp-metexplore"
],
"env": {
"METEXPLORE_APP_KEY": "ใส่ค่าของคุณ",
"METEXPLORE_USER_TOKEN": "ใส่ค่าของคุณ"
}
}
}
}METEXPLORE_APP_KEY ความลับ จำเป็น envMETEXPLORE_USER_TOKEN ความลับ จำเป็น envMETEXPLORE_API_URL envคำอธิบายแปลอัตโนมัติ ชื่อตัวแปรคงตามต้นฉบับ ถ้าไม่แน่ใจให้ดูต้นฉบับ
ค่าตั้งนี้สร้างจากข้อมูลใน registry ของผู้ทำ ถ้าไม่ตรงกับ README ให้เชื่อ README
io.github.MetExplore/mcp-metexplorenpm: @metexplore/mcp-metexploreดูจากแบบการต่อของ server ตัวนี้ และเอกสารของผู้ทำโปรแกรมแต่ละตัว ตรวจเมื่อ 10 พ.ย. 2569
ต่อผ่านคลาวด์ได้ใน
ClaudeChatGPTGooseLM StudioMsty StudioCherry StudioCursorVS Code + GitHub CopilotVisual StudioWindsurf (Devin Desktop)ZedKiroClineContinueJetBrains AI AssistantClaude CodeCodex CLIGemini CLIOpenCodenodecodeWarpLibreChatOpen WebUIRaycast
ติดตั้งบนเครื่องได้ใน
ClaudeGooseLM StudioMsty StudioCherry StudioCursorVS Code + GitHub CopilotVisual StudioWindsurf (Devin Desktop)ZedKiroClineContinueJetBrains AI AssistantClaude CodeCodex CLIGemini CLIOpenCodenodecodeWarpLibreChatRaycast
ชื่อและคำอธิบายเครื่องมือตามที่ server ตอบมาเมื่อ 26 พ.ย. 2569 ผู้ทำเป็นคนเขียน ไม่ใช่เรา แสดงเป็นข้อความล้วน
search_organismsSearches 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_metabolitesFuzzy 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_formulaLists 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_idLists 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_metaboliteReturns 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_chebiMatches 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_metabolitesMaps 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_genesMaps 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_statusReturns 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).
เราตรวจจากข้อมูลที่ใครก็เปิดดูได้ ยังไม่ได้อ่านโค้ด ข้อที่ไม่เกี่ยวกับตัวนี้ไม่นับในตัวหาร · ตรวจเมื่อ 26 พ.ย. 2569
ชื่อใน registry ยืนยันด้วยบัญชี GitHub MetExplore ซึ่งเป็นเจ้าของ repo
มีการแก้โค้ดล่าสุด เมื่อวาน
ใช้ Apache-2.0
ตอบกลับใน 1160 ms (HTTP 200)
ไม่ต้องล็อกอิน
อ่านคำอธิบายเครื่องมือ 9 ตัวแล้ว ไม่พบคำสั่งแอบแฝงถึง AI
ไม่พบรายการใน OSV.dev สำหรับ @metexplore/mcp-metexplore@0.1.2
ตรวจเฉพาะตัวแพ็กเกจรุ่นนี้ ไม่ใช่ทุก dependency · ตรวจเมื่อ 26 พ.ย. 2569
ถ้าคุณเป็นผู้ทำตัวนี้ คัดลอกโค้ดนี้ไปวางใน README ได้เลย ป้ายลิงก์กลับมาที่หน้านี้
[](https://mcp.popnx.com/th/servers/metexplore-mcp-metexplore)ถาม แชร์เคล็ดลับ หรือแจ้งว่าใช้ไม่ได้ เรียงตามที่คนกดว่ามีประโยชน์
ยังไม่มีใครโพสต์ ถามหรือแชร์เป็นคนแรกได้เลย
ข้อความในส่วนนี้เขียนโดยผู้ใช้ ไม่ใช่ทีม PopNx
ยังไม่มีรีวิว
เทียบกับทุก server ที่ยังใช้งานในหมวดนี้ทั้งทะเบียน ดาวนับเฉพาะเมื่อผู้ลงทะเบียนเป็นเจ้าของ repo
จากการตรวจเบื้องต้นของเรา ผ่าน 5 จาก 5 ข้อที่ตรวจได้ เรายังไม่ได้อ่านโค้ด ก่อนใส่กุญแจหรือ token ให้ดูว่า server ขอสิทธิ์อะไร และเลือกกุญแจที่ทำได้เท่าที่จำเป็น
ต้องใส่ค่าเหล่านี้: METEXPLORE_APP_KEY, METEXPLORE_USER_TOKEN
ได้ทั้งสองแบบ จะลงในเครื่องหรือต่อผ่านคลาวด์ก็ได้
repo บน GitHub มีการแก้โค้ดล่าสุด เมื่อวาน และส่งรุ่นล่าสุด (0.1.2) เข้า registry เมื่อวาน
โปรแกรมที่รองรับ MCP เช่น Claude Desktop, Claude Code, Cursor และ VS Code ตัวนี้ต่อผ่าน URL จึงใช้กับโปรแกรมที่รับ remote MCP ได้ เช่น ChatGPT บนเว็บ (แบบเต็มในแผน Business ขึ้นไป · Pro แบบอ่านอย่างเดียว)
ในหมวดเดียวกันมี World Monitor, openstatus, Oh My Posh Validator, Strata, Jitsu
หมวดเดียวกันจากผู้ทำคนอื่น ผ่านตัวตรวจคำสั่งแล้ว ตัวทางการขึ้นก่อน แล้วเรียงตามดาว
อ่านการ์ด:↓ ดาวน์โหลดต่อสัปดาห์i★ ดาว GitHubiสามเสา: รีวิว · ผลตรวจ · การใช้งานiอัปเดต = วันที่ส่งรุ่นล่าสุดเข้า registryi
ข่าวกรองโลกแบบเรียลไทม์: ความขัดแย้ง ตลาด พลังงาน การค้า การขนส่ง และไซเบอร์
Manage monitors, status pages, incidents and maintenances in your openstatus workspace.
Validate oh-my-posh configurations and segment snippets against the official schema.
MCP server for progressive tool usage at any scale (see https://klavis.ai)
Manage Jitsu data pipelines: destinations, streams, connections, functions, live events.
| ตัวนี้ MetExplore | World Monitor | openstatus | Oh My Posh Validator | Strata | Jitsu | |
|---|---|---|---|---|---|---|
| ทำงานที่ไหน | มีทั้งบนคลาวด์และแบบลงเครื่อง | ใช้บนคลาวด์ ไม่ต้องลงเครื่อง | ใช้บนคลาวด์ ไม่ต้องลงเครื่อง | ใช้บนคลาวด์ ไม่ต้องลงเครื่อง | ใช้บนคลาวด์ ไม่ต้องลงเครื่อง | ใช้บนคลาวด์ ไม่ต้องลงเครื่อง |
| ต้องใส่คีย์ | ใช่ | ไม่ | ไม่ | ไม่ | ไม่ | ไม่ |
| กด + ใน Claude ได้ | ไม่ | ไม่ | ไม่ | ไม่ | ไม่ | ไม่ |
| ผลตรวจเบื้องต้น | 5/5 | 4/4 | 4/4 | 4/4 | 1/4 | 4/4 |
| สัญญาอนุญาต | Apache-2.0 | AGPL-3.0 | AGPL-3.0 | MIT | Apache-2.0 | MIT |
| ราคา | ไม่พบค่าใช้จ่ายในทะเบียน | ไม่พบค่าใช้จ่ายในทะเบียน | ไม่พบค่าใช้จ่ายในทะเบียน | ไม่พบค่าใช้จ่ายในทะเบียน | ไม่พบค่าใช้จ่ายในทะเบียน | ไม่พบค่าใช้จ่ายในทะเบียน |
ส่วนนี้คัดจาก repo ของผู้ทำตามต้นฉบับ PopNx MCP ไม่ได้ตรวจหรือรับรองเนื้อหา ตัด HTML รูปภาพ และสคริปต์ออกแล้ว ลิงก์จะพาออกนอกเว็บ
2026-11-13MCP (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).
search_organisms("Homo sapiens"), then search_metabolites, then count_reactions_for_metabolite.search_organisms("Human-GEM 2") then search_metabolites_by_formula.search_organisms("Human-GEM 2") then search_metabolites_by_external_id.search_organisms("Human-GEM 2") then match_chebi.search_organisms("Ralstonia") then map_metabolites.search_organisms("E. coli") then map_genes.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).
The easiest way is to use the hosted remote server (no installation, no application key). The server can also be run locally (stdio).
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.
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.
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
Configuration (.env, or env block of the client configuration):
| Variable | Required | Description |
|---|---|---|
METEXPLORE_API_URL | no (default https://metexplore.toulouse.inrae.fr/metexplore3-api, production) | Base URL of the MetExplore API, no trailing slash |
METEXPLORE_APP_KEY | yes | Application token (x-app-key header), to request from contact-metexplore@inrae.fr |
METEXPLORE_USER_TOKEN | no (stdio only) | A user token already obtained |
METEXPLORE_USER_LOGIN / METEXPLORE_USER_PASSWORD | no (stdio only, set together) | Credentials used to call /users/login on first use |
METEXPLORE_MAX_REQUESTS_PER_SESSION | no (default 20) | Max number of requests sent to the API per MCP session |
METEXPLORE_TLS_REJECT_UNAUTHORIZED | no (default true) | Set to false to disable TLS certificate verification |
MCP_TRANSPORT | no (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.
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.
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.
| Variable | Default | Description |
|---|---|---|
MCP_HTTP_HOST / MCP_HTTP_PORT | 127.0.0.1 / 3000 | Listening address (0.0.0.0 in the Docker image) |
MCP_ALLOWED_HOSTS | empty (no check) | Comma-separated public hostnames accepted in the Host header (DNS rebinding protection) |
MCP_TRUST_PROXY | false | true behind a reverse proxy: client IP taken from X-Forwarded-For (set by the CI deployment) |
MCP_RATE_LIMIT_PER_MINUTE | 60 | Max HTTP requests per client IP per minute on /mcp |
MCP_MAX_SESSIONS | 200 | Max concurrent MCP sessions (503 beyond) |
MCP_SESSION_TTL_MINUTES | 30 | Idle sessions are closed after this delay |
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.
.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