L'Atlas / Serveurs MCP / MaterialsCodeGraph

MaterialsCodeGraph

com.materialscodegraph/mcg

Serveur MCP OK

Faire examiner Voir les tarifs

À quoi ça sert

Permet de lancer des simulations de matériaux : catalogue, tarifs, devis avant exécution, mise en place et lancement d'un calcul, suivi des exécutions et gestion des études.

Résumé rédigé par L’Atlas le 29 nov. 2026, reformulé seulement à partir de la description de l’auteur et des outils vus par notre test. Texte de l’auteur ci-dessous.

Materials simulations for AI agents over MCP: binding token quote before every run, record after it.

Fiche technique

Auteur
materialscodegraph.com (espace de noms du registre)
Dépôt
github.com/materialscodegraph/materialscodegraph
Site
materialscodegraph.com
Version
0.1.1
Transport
Streamable HTTP
Authentification
Aucune (constatée par notre test)
Adresse du serveur
https://api.materialscodegraph.com/mcp Streamable HTTP en-tête requis : Authorization
Outils
17
Catégories
IA, agents et mémoire
Dernière mise à jour
20 sept. 2026
Publication
20 sept. 2026

Badge pour votre README

Référencé sur L’Atlas

Gratuit, pour toute fiche. Il renvoie vers cette fiche et affiche « testé OK » tant que notre dernier test est réussi.

MarkdownREADME.md
[![Référencé sur L’Atlas](https://latlas.dev/badge/fiche/com.materialscodegraph/mcg.svg)](https://latlas.dev/mcp/com.materialscodegraph/mcg)
HTML
<a href="https://latlas.dev/mcp/com.materialscodegraph/mcg"><img src="https://latlas.dev/badge/fiche/com.materialscodegraph/mcg.svg" alt="Référencé sur L’Atlas" height="20"></a>

Nos tests

Chaque semaine : initialize puis tools/list, sans identifiant, sans jamais appeler d’outil. Méthode

Adresse
https://api.materialscodegraph.com/mcp
Dernier résultat
OK 28 nov. 2026, 11:20
Temps de réponse
514 ms (initialize + tools/list)
Version du protocole
2025-06-18
Nom annoncé
mcg 0.1.2
Outils
17

Historique

DateRésultatRéponseOutils
28 nov. 2026, 11:20OK514 ms17

Outils exposés (17, réponse à tools/list, 28 nov. 2026)

mcg_catalog

Enabled simulation kinds (each with example mcg_quote arguments that price, a note naming what must exist first, or both; traced says whether the kind's default lineage has a single public OpenMaterials node pin, traced_note why or why not; research coordinators instead expose record_contract describing per-task completion requirements, not completed results), the costed lineage menu (runnability, physical conditions, indicative token costs and wall time per resource class, with its label and the offer SKU priced), the external-frontier graphs mcg_quote accepts (each with the envelope to pass as external_frontier), recipes (pass a recipe's quote object to mcg_quote unchanged), and codes (versions, licenses, pins; the only software a run may execute). Call before mcg_quote. A kind or code absent here cannot run.

Aucun paramètre.

mcg_rates

The public rate card: token_usd, overheads, rate_card_version. FREE, no arguments; also a connectivity check.

Aucun paramètre.

mcg_quote

Price a simulation. FREE: no hardware starts. Returns quote_id, quote_hash, tokens, rate_card_version, wall_s, expires_at, resource_class, resource_label and sku (the GPU class the quote is bound to, its name, and the offer SKU it priced; null when none was chosen), resource_options (one row per class the run can rent at this venue: resource_class, label, sku, tokens, wall_s, available; tokens and wall_s are what this quote would be on that class, null when it has no live offer now; re-quote with resource_class to pick one), pricing {hours_factor, potential_cost_ratio, note} when a potential staged at slots/potential was priced by its predicted per-step cost over the default's (the hours, the wall time and the run's wall limit are multiplied by hours_factor, at least 1, the factor on the quote's resource_class: each resource_options row is priced at its own class's factor; the per-second rate is unchanged), the plan, and record: {traced: true, node, node_uid, map_version (the openmaterials graph version the node is pinned at; the commons map version is published at openmaterials.ai/data/version.json), material (the material the pinned conditions name: what the run computes), potential {label, sha256} when the run's staged potential is not NEP89} when the completed run's OpenMaterials record is keyed on that public map node (measured instances cite the method that ran), else {traced: false, reason}, which only the graph arm, research coordinators and the untraced preview kind…

ParamètreTypeRequisDescription
kindstringnonSimulation kind from mcg_catalog, e.g. bulk_kappa.
namestringouiA human label for the simulation.
specobjectnonThe spec object, e.g. {params: {...}, spec_yaml: '...'}. params drive the price. interface_tbc: params.production_steps, equilibration_steps, nx, ny, n_z_per_side, n_bins and delta_T_K set the NEMD budget, junction and thermostat offset within the bounds the reply's certification.settable states (a…
enginestringnonOptional engine id override (rejected if unknown).
studystringnonThe study (project) this simulation belongs to: the id of a study you own (std_ plus 20 hex), or an exact name, created if absent. A value shaped like a study id never creates a study: one that is not yours is refused. Every quote for one investigation should name the same study so the app groups t…
materialstringnonKind arm only: the material or formula being simulated (e.g. Si, MoS2). Also selects the reference structure. On a traced run whose engine fixes its own conditions it must match the spec's material.
conditionsobjectnonKind arm only: physical conditions as key/value pairs, e.g. {T: 300}. Values are numbers, strings or lists of up to 16 of them, except on an adapter engine, which runs them: there any value its conditions schema allows (lists, booleans, null) over the keys it declares, judged at quote. On a traced…
structure_xyzstringnonKind arm only: the simulated structure as extended-XYZ text; staged as the input structure.xyz so the app renders the exact geometry (takes precedence over the material reference).
potential_from_runstringnonKind arm only: a done nep_train or nep_campaign run id whose trained NEP model this simulation runs; staged as its potential (with its license notice) before pricing.
draft_idstringnonThird arm: price a draft that mcg_stage created and whose inputs have been uploaded (refuses with inputs_missing while any declared input is absent). Also re-prices an already-quoted simulation, after its quote expired or to reproduce a run (pass the run's quote_id, its simulation_id): it clones th…
external_frontierobjectnonThe OpenMaterials #110 external-solve envelope, verbatim: mcg_catalog graphs[].envelope for the active bundle. Mutually exclusive with kind/spec/engine.
max_tokensintegernonGraph arm only: quote-time hard ceiling; a quote above it REJECTS (never clamps).
targetobjectnonRun on one of your connected clusters (see mcg_clusters) instead of the cloud: hardware cost 0, gate fee per the rate card and plan, wall time includes the scheduler's queue-wait estimate. The cluster's status must be connected.
resource_classstringnonThe GPU class to run on, from a previous reply's resource_options (e.g. gpu-ampere-80). The quote prices that class only and the run rents only it: no fallback to another class, so it waits in quoted while the class has no capacity. Omit to price the cheapest class; the run may then take any class…

mcg_clusters

Connected clusters: id, name, preset (hive or auto), status (pending until the agent's first sync; connected; stale: the agent stopped syncing; revoked; scheduler_down: the agent syncs but cannot reach the scheduler, nothing is offered; agent_outdated: the agent is older than 0.2.10, the minimum for new jobs, or an auto cluster's agent sends no inventory, nothing is offered; snapshot_rejected: its last snapshot was over the size cap; snapshot_stale: no fresh capacity snapshot, nothing is offered; nodes_unavailable: none of an auto cluster's nodes accept jobs (drained, down, in maintenance or not responding), nothing is offered), status_detail (why, when not connected), classes (resource classes offered per partition, with per-job GPU, CPU and memory maxima, the GRES type, and in_use: false when no engine runs on the class), unclassified_gpus (GPU types present but not offered: type, count, reason), untyped_gpus, last sync time. Pass target {cluster_id} to mcg_quote to run there at zero hardware cost; only a connected cluster quotes. Clusters are created with POST /api/clusters (on the machine host with a spend-scoped key).

Aucun paramètre.

mcg_stage

Create a DRAFT simulation whose input files are uploaded before pricing. FREE. Takes the same kind, spec, study, material and conditions as mcg_quote plus inputs: one entry per file the run needs, each with a name and, for small text files, the text inline (staged immediately). Entries without text come back in uploads as presigned PUT URLs (valid 15 minutes, 4 GiB per file): upload each with a plain HTTP PUT of the file bytes, no key or header. Then call mcg_quote with draft_id to price; it REJECTS with inputs_missing until every declared input has arrived.

ParamètreTypeRequisDescription
kindstringouiSimulation kind from mcg_catalog.
namestringouiA human label for the simulation.
specobjectouiThe spec object; params drive the eventual price.
enginestringnonOptional engine id override.
studystringnonThe study (project) this simulation joins: the id of a study you own (std_ plus 20 hex), or an exact name, created if absent. A value shaped like a study id never creates a study: one that is not yours is refused.
materialstringnonThe material or formula simulated.
conditionsobjectnonPhysical conditions: numbers, strings or lists of up to 16 of them (on an adapter engine, any value its conditions schema allows). On a traced run whose engine fixes its own conditions, a key or value its record does not hold is refused; the error names what to send or omit.
inputsarray<object>ouiThe input files the run needs.
potential_from_runstringnonA done nep_train or nep_campaign run id whose trained NEP model this draft runs; staged as its potential (with its license notice) beside the inputs.

mcg_run

Launch the quoted simulation. SPENDS TOKENS: provisions hardware and bills the account. Requires the quote_id and quote_hash from mcg_quote (a stale hash or an expired quote REJECTS: re-quote and retry) and a client-generated idempotency_key (replaying it returns the existing run instead of launching twice). Optional max_tokens is a hard ceiling: a quote above it REJECTS the launch, never clamps. An unchanged resubmission of a run refused within the last 30 days for failures that repeat REJECTS with repeat_refused, at no cost (see mcg_quote). Returns run_id.

ParamètreTypeRequisDescription
quote_idstringouiThe quote_id returned by mcg_quote.
quote_hashstringouiThe quote_hash mcg_quote returned: proves the launch prices the exact quote the client saw.
idempotency_keystringouiClient-generated key; retrying a launch with the same key must not double-charge.
max_tokensintegernonHard token ceiling: the launch is REJECTED if the quote exceeds it.

mcg_list_runs

List runs, newest first: every run of this key's owner, or one quote's runs when quote_id is given. Returns at most limit rows (default 20, maximum 100). Each row carries state, spend_tokens, created_by_key_name (null when launched in the browser), study, headline (the AI brief's first line) and app_url. Returns runs and next_before: pass next_before as before to get the next older page; it is null on the last page.

ParamètreTypeRequisDescription
quote_idstringnonOptional: the quote_id (simulation) to list runs for.
limitintegernonOptional: rows per page, default 20.
beforestringnonOptional: a run_id from this listing (next_before of the previous page); returns only older runs.

mcg_get_study

Fetch a study (the project a quote's `study` named) with its member simulations and their latest runs. Pass study_id or the exact name. Returns study (with summary and parent_id), parent (the project it is filed under, or null), children (its subprojects with run counts by state, last_activity_at, latest_headline and their members), progress (the same counts over its own members), rollup (the study and its subprojects together, each simulation once), members (each with role, the step label, the simulation's description, headline, the run's one-line result, and app_url) and app_url.

ParamètreTypeRequisDescription
study_idstringnonThe study id.
namestringnonThe exact study name given to mcg_quote or mcg_stage.

mcg_study_members

Add simulations to a study and remove them from it. You must own the study (get its id from mcg_get_study) and every listed simulation; a missing one is named and nothing changes. add appends in order (a member already present keeps its place); remove takes a simulation out of this study only, and the simulation and its runs are untouched. Joining a public study is refused for a run that cannot be public. Any change takes an auto-grouped study out of auto-grouping. Returns study, added, removed (the ids that changed), member_simulation_ids (unarchived members, in order), archived_member_ids and app_url.

ParamètreTypeRequisDescription
study_idstringouiThe study id (std_...).
addarray<string>nonSimulation ids to add.
removearray<string>nonSimulation ids to remove.

mcg_list_studies

Your projects and their subprojects. A project is a study with no parent; a subproject is a study filed under one project. Each entry carries id, name, summary (one line, may be empty), n_members (unarchived simulations) and app_url; each project lists its subprojects, oldest first. Projects come newest first.

Aucun paramètre.

mcg_update_study

Describe and file a study you own. name renames it; summary sets its one-line purpose; story_md replaces its long narrative. parent_id files it under a project (null makes it a project again); parent_name does the same by exact project name and creates that project if you have none by that name. The tree is one level deep: a project with subprojects cannot be filed under another. roles labels member simulations with the step they belong to, as {simulation_id: label}; an empty label clears it. descriptions sets each member simulation's own description, as {simulation_id: text}: one paragraph, at most 300 characters, saying what it is, the inputs that matter and what it found; the app shows it under the simulation's name, and an empty text clears it. Membership, runs and spend are untouched. Returns study, parent and children as mcg_get_study does.

ParamètreTypeRequisDescription
study_idstringouiThe study id (std_...).
namestringnonA new name.
summarystringnonOne line, at most 300 characters.
story_mdstringnonThe long narrative, markdown.
parent_idstring | nullnonA project's study id, or null to make this study a project.
parent_namestringnonA project's exact name; created when absent.
rolesobjectnonStep labels by member simulation id, at most 80 characters each.
descriptionsobjectnonDescriptions by member simulation id, at most 300 characters each.

mcg_delete_study

Delete a study you own: the study and its membership list go. Its simulations, runs, artifacts and spend are untouched and stay reachable by id and in mcg_list_runs. A deleted project's subprojects become projects. Refused while the study has documents or a live public link (remove those in the app first). Returns study_id, deleted true and former_member_ids, enough to rebuild it.

ParamètreTypeRequisDescription
study_idstringouiThe study id (std_...).

mcg_archive

Archive or unarchive a simulation you own. Archiving hides it from the app's lists and studies; its runs, artifacts and spend are untouched, its direct link still opens, and archived false restores it. Use it to clear drafts that never ran (they cannot be deleted once quoted). Returns simulation_id, archived, archived_at (null when unarchived) and app_url.

ParamètreTypeRequisDescription
simulation_idstringouiThe simulation id (sim_...).
archivedbooleanouitrue archives, false unarchives.

mcg_get_run

Fetch a run's state, event timeline and LLM spend. The payload leads with a derived summary (state, current_stage, billing {quoted_tokens, charged_tokens, hold, policy}, fault, refusal, next, last event, campaign) for cheap polling, then app_url (the run page, for the human), study and headline. events holds the newest events that fit about 12 KB plus the last complete or fail event; events_omitted counts the others. In a payload over 2 KB, each value over 256 chars becomes {omitted_bytes, see}, where see names the route that returns the full event. A report body_md over 6,000 chars becomes the same stub; a brief body_md is cut at 6,000 chars and ends in an ellipsis; llm_spend.calls holds the newest 10 calls, and calls_omitted counts the rest. A done, node-addressed run also carries record (its OpenMaterials SimulationRecord), openmaterials_url (the datasheet link) and openmaterials_label: null, or the commons' note when the record cites a model, configuration or code that is not in the public registry (record.unregistered lists each model and configuration), so its values cannot be checked against the commons. A campaign parent's summary.campaign holds its round, step, ceiling_tokens, committed_tokens, measured_tokens, finish, counts (children per state), children (every open child and the newest 8 settled ones, each with run_id) and children_omitted; GET /api/runs/:id lists every child. Its children are charged in the parent's one capture, so a child shows charged_tokens 0…

ParamètreTypeRequisDescription
run_idstringouiThe run id from mcg_run.

mcg_cancel_run

Cancel a run from any non-terminal state before collecting (a collecting run's outputs are delivered and charged: 409). The cancel request is recorded immediately and returns run_id and cancel_requested true (and a note, for a running campaign); the platform kills the machine and terminalizes the run as state killed on its next orchestration tick (about 60 s). A running campaign's cancel takes several ticks (a tick is about 60 s), 3 or more while children are open: the parent winds down, its open children are cancelled (a collecting child finishes and counts), then settlement charges the done children's measured tokens and releases the rest of the hold. Poll mcg_get_run to observe the terminal state.

ParamètreTypeRequisDescription
run_idstringouiThe run id to cancel.

mcg_fetch_artifacts

List a run's collected artifacts as a typed manifest: artifacts, a list of path, bytes, stage and sha256 per file, plus removed on a file the retention sweep deleted (its bytes are gone; do not fetch it) and attribution on a third-party model's file (its license notice; keep it with any copy); truncated; source. Never returns file contents; fetch one file with mcg_get_artifact.

ParamètreTypeRequisDescription
run_idstringouiThe run id.

mcg_get_artifact

Fetch one artifact file's TEXT content, up to max_bytes (default 65536), with an explicit truncation note. Binary content REJECTS with unsupported_content; fetch binaries from the run's public page. A third-party model's file returns its full license notice first, as an [attribution] text item.

ParamètreTypeRequisDescription
run_idstringouiThe run id.
pathstringouiThe artifact sub-path, e.g. results/report.md.
max_bytesintegernonMax bytes to inline (default 65536).

Compatibilité clients

Selon les transports que chaque client déclare accepter dans sa documentation officielle ; ce n’est pas un essai réel dans le client.

ClientTransports documentésCe serveurSource
Claude Codestdio Streamable HTTP SSEtransport acceptédoc
Claude (claude.ai, Claude Desktop, Cowork)stdio Streamable HTTP SSEtransport acceptédoc
ChatGPT (serveurs MCP personnalisés / plugins)Streamable HTTP SSEtransport acceptédoc
Cursorstdio Streamable HTTP SSEtransport acceptédoc
VS Code (GitHub Copilot)stdio Streamable HTTP SSEtransport acceptédoc
Windsurf (documentation redirigée vers Devin Local / Devin CLI)stdio Streamable HTTP SSEtransport acceptédoc
Gemini CLIstdio Streamable HTTP SSEtransport acceptédoc
OpenAI Codex (CLI, extension IDE, app)stdio Streamable HTTPtransport acceptédoc

Configs prêtes à copier

Adresse distante utilisée : https://api.materialscodegraph.com/mcp. Formats repris de la documentation de chaque client.

Claude Code
claude mcp add --transport http mcg https://api.materialscodegraph.com/mcp
Claude (claude.ai, Claude Desktop, Cowork)
Customize > Connectors > + Add > Add custom connector ; Name : mcg ; URL : https://api.materialscodegraph.com/mcp
ChatGPT (serveurs MCP personnalisés / plugins)
chatgpt.com/plugins > + > Add custom MCP server ; Name : mcg ; Server URL : https://api.materialscodegraph.com/mcp ; Create as a plugin
Cursor.cursor/mcp.json (projet) ou ~/.cursor/mcp.json (global)
{
  "mcpServers": {
    "mcg": {
      "url": "https://api.materialscodegraph.com/mcp"
    }
  }
}
VS Code (GitHub Copilot).mcp.json à la racine du workspace, ou ~/.copilot/mcp-config.json ($COPILOT_HOME/mcp-config.json)
{
  "mcpServers": {
    "mcg": {
      "type": "http",
      "url": "https://api.materialscodegraph.com/mcp",
      "tools": ["*"]
    }
  }
}
Windsurf (documentation redirigée vers Devin Local / Devin CLI).devin/mcp_config.json (projet), .devin/mcp_config.local.json (local), ~/.config/devin/mcp_config.json (utilisateur)
{
  "mcpServers": {
    "mcg": {
      "url": "https://api.materialscodegraph.com/mcp"
    }
  }
}
Gemini CLI~/.gemini/settings.json (utilisateur) ou .gemini/settings.json (projet)
{
  "mcpServers": {
    "mcg": {
      "httpUrl": "https://api.materialscodegraph.com/mcp"
    }
  }
}
OpenAI Codex (CLI, extension IDE, app)~/.codex/config.toml (ou .codex/config.toml pour un projet de confiance)
[mcp_servers.mcg]
url = "https://api.materialscodegraph.com/mcp"

Citer cette source

Vous rédigez un article ou un comparatif ? Cette fiche distingue les informations du registre et nos mesures. Citez le lien permanent et la date du test ; un résultat OK ne constitue pas un audit de sécurité ni une garantie de disponibilité.

MaterialsCodeGraph · L’Atlas · Test du

Markdown
[MaterialsCodeGraph — L’Atlas](https://latlas.dev/mcp/com.materialscodegraph/mcg)
Méthode et limites des tests

Source : Registre officiel MCP · relevé le 29 nov. 2026. L’Atlas n’ajoute aucune donnée qui ne vienne de cette source ou de ses propres tests.