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
Gratuit, pour toute fiche. Il renvoie vers cette fiche et affiche « testé OK » tant que notre dernier test est réussi.
[](https://latlas.dev/mcp/com.materialscodegraph/mcg)<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
| Date | Résultat | Réponse | Outils |
|---|---|---|---|
| 28 nov. 2026, 11:20 | OK | 514 ms | 17 |
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ètre | Type | Requis | Description |
|---|---|---|---|
| kind | string | non | Simulation kind from mcg_catalog, e.g. bulk_kappa. |
| name | string | oui | A human label for the simulation. |
| spec | object | non | The 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… |
| engine | string | non | Optional engine id override (rejected if unknown). |
| study | string | non | The 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… |
| material | string | non | Kind 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. |
| conditions | object | non | Kind 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_xyz | string | non | Kind 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_run | string | non | Kind 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_id | string | non | Third 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_frontier | object | non | The OpenMaterials #110 external-solve envelope, verbatim: mcg_catalog graphs[].envelope for the active bundle. Mutually exclusive with kind/spec/engine. |
| max_tokens | integer | non | Graph arm only: quote-time hard ceiling; a quote above it REJECTS (never clamps). |
| target | object | non | Run 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_class | string | non | The 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ètre | Type | Requis | Description |
|---|---|---|---|
| kind | string | oui | Simulation kind from mcg_catalog. |
| name | string | oui | A human label for the simulation. |
| spec | object | oui | The spec object; params drive the eventual price. |
| engine | string | non | Optional engine id override. |
| study | string | non | The 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. |
| material | string | non | The material or formula simulated. |
| conditions | object | non | Physical 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. |
| inputs | array<object> | oui | The input files the run needs. |
| potential_from_run | string | non | A 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ètre | Type | Requis | Description |
|---|---|---|---|
| quote_id | string | oui | The quote_id returned by mcg_quote. |
| quote_hash | string | oui | The quote_hash mcg_quote returned: proves the launch prices the exact quote the client saw. |
| idempotency_key | string | oui | Client-generated key; retrying a launch with the same key must not double-charge. |
| max_tokens | integer | non | Hard 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ètre | Type | Requis | Description |
|---|---|---|---|
| quote_id | string | non | Optional: the quote_id (simulation) to list runs for. |
| limit | integer | non | Optional: rows per page, default 20. |
| before | string | non | Optional: 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ètre | Type | Requis | Description |
|---|---|---|---|
| study_id | string | non | The study id. |
| name | string | non | The 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ètre | Type | Requis | Description |
|---|---|---|---|
| study_id | string | oui | The study id (std_...). |
| add | array<string> | non | Simulation ids to add. |
| remove | array<string> | non | Simulation 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ètre | Type | Requis | Description |
|---|---|---|---|
| study_id | string | oui | The study id (std_...). |
| name | string | non | A new name. |
| summary | string | non | One line, at most 300 characters. |
| story_md | string | non | The long narrative, markdown. |
| parent_id | string | null | non | A project's study id, or null to make this study a project. |
| parent_name | string | non | A project's exact name; created when absent. |
| roles | object | non | Step labels by member simulation id, at most 80 characters each. |
| descriptions | object | non | Descriptions 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ètre | Type | Requis | Description |
|---|---|---|---|
| study_id | string | oui | The 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ètre | Type | Requis | Description |
|---|---|---|---|
| simulation_id | string | oui | The simulation id (sim_...). |
| archived | boolean | oui | true 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ètre | Type | Requis | Description |
|---|---|---|---|
| run_id | string | oui | The 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ètre | Type | Requis | Description |
|---|---|---|---|
| run_id | string | oui | The 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ètre | Type | Requis | Description |
|---|---|---|---|
| run_id | string | oui | The 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ètre | Type | Requis | Description |
|---|---|---|---|
| run_id | string | oui | The run id. |
| path | string | oui | The artifact sub-path, e.g. results/report.md. |
| max_bytes | integer | non | Max 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.
| Client | Transports documentés | Ce serveur | Source |
|---|---|---|---|
| Claude Code | stdio Streamable HTTP SSE | transport accepté | doc |
| Claude (claude.ai, Claude Desktop, Cowork) | stdio Streamable HTTP SSE | transport accepté | doc |
| ChatGPT (serveurs MCP personnalisés / plugins) | Streamable HTTP SSE | transport accepté | doc |
| Cursor | stdio Streamable HTTP SSE | transport accepté | doc |
| VS Code (GitHub Copilot) | stdio Streamable HTTP SSE | transport accepté | doc |
| Windsurf (documentation redirigée vers Devin Local / Devin CLI) | stdio Streamable HTTP SSE | transport accepté | doc |
| Gemini CLI | stdio Streamable HTTP SSE | transport accepté | doc |
| OpenAI Codex (CLI, extension IDE, app) | stdio Streamable HTTP | transport accepté | doc |
Configs prêtes à copier
Adresse distante utilisée : https://api.materialscodegraph.com/mcp. Formats repris de la documentation de chaque client.
claude mcp add --transport http mcg https://api.materialscodegraph.com/mcpCustomize > Connectors > + Add > Add custom connector ; Name : mcg ; URL : https://api.materialscodegraph.com/mcpchatgpt.com/plugins > + > Add custom MCP server ; Name : mcg ; Server URL : https://api.materialscodegraph.com/mcp ; Create as a plugin{
"mcpServers": {
"mcg": {
"url": "https://api.materialscodegraph.com/mcp"
}
}
}{
"mcpServers": {
"mcg": {
"type": "http",
"url": "https://api.materialscodegraph.com/mcp",
"tools": ["*"]
}
}
}{
"mcpServers": {
"mcg": {
"url": "https://api.materialscodegraph.com/mcp"
}
}
}{
"mcpServers": {
"mcg": {
"httpUrl": "https://api.materialscodegraph.com/mcp"
}
}
}[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
[MaterialsCodeGraph — L’Atlas](https://latlas.dev/mcp/com.materialscodegraph/mcg)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.