L'Agora
MCPRépond

MaterialsCodeGraph

com.materialscodegraph/mcg

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

Description fournie par l’auteur dans le registre officiel MCP (en anglais).

Dépôt
github.com/materialscodegraph/materialscodegraph
Site
materialscodegraph.com/
Adresse du serveur
https://api.materialscodegraph.com/mcp (streamable-http)
Version
0.1.1
Auteur
materialscodegraph.com (espace de noms vérifié par le registre)
Source
Registre officiel MCP (mis à jour le 20 sept. 2026)

Comment l’installer

Le serveur accepte et demande un en-tête : Authorization. Remplacez VOTRE_CLE par votre clé.

Claude Code

Dans un terminal :

claude mcp add --transport http mcg https://api.materialscodegraph.com/mcp \
  --header "Authorization: Bearer VOTRE_CLE"
Claude (application et claude.ai)

Ouvrez Réglages, puis Connecteurs, et ajoutez un connecteur personnalisé avec cette adresse. Si le serveur demande une connexion, Claude vous la proposera.

https://api.materialscodegraph.com/mcp
ChatGPT

Dans Réglages, partie Applications et connecteurs, activez le mode développeur, puis créez un connecteur avec cette adresse.

https://api.materialscodegraph.com/mcp
Cursor ~/.cursor/mcp.json

Ajoutez ceci au fichier ~/.cursor/mcp.json (ou .cursor/mcp.json dans le projet) :

{
  "mcpServers": {
    "mcg": {
      "url": "https://api.materialscodegraph.com/mcp",
      "headers": {
        "Authorization": "Bearer VOTRE_CLE"
      }
    }
  }
}
VS Code .vscode/mcp.json

Ajoutez ceci au fichier .vscode/mcp.json de votre projet :

{
  "servers": {
    "mcg": {
      "type": "http",
      "url": "https://api.materialscodegraph.com/mcp",
      "headers": {
        "Authorization": "Bearer VOTRE_CLE"
      }
    }
  }
}

Ces configurations sont construites à partir des informations publiées par l’auteur. Vérifiez le dépôt avant d’installer un serveur local.

Notre test

Répond Le serveur répond au protocole MCP et liste ses outils.

Date
28 nov. 2026, 11:20 (test fait par L’Atlas)
Temps de réponse
514 ms (test complet)
Outils trouvés
17
Nom annoncé
mcg 0.1.2
Protocole
MCP 2025-06-18
Prochain test
5 déc. 2026
Voir les outils (17)
  • 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;
  • mcg_rates
    The public rate card: token_usd, overheads, rate_card_version. FREE, no arguments; also a connectivity check.
  • 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; n
  • 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; age
  • 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,
  • 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_ke
  • 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 b
  • 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 (i
  • 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 pla
  • 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 p
  • 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
  • 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 h
  • 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
  • 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 ap
  • 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 campa
  • 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 mod
  • 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 fu
Tests précédents
28 nov. 2026Répond514 ms17 outils
28 nov. 2026Clé requise

Ce que fait le test : il ouvre une session MCP (initialize) et demande la liste des outils (tools/list), sans clé ni compte. Aucun outil n’est appelé. En savoir plus

Avis

Pas encore d’avis.

Connectez-vous pour donner votre avis. Il suffit de votre e-mail.

Commentaires

Pas encore de commentaire. Une question, une astuce ? Lancez la discussion.

Connectez-vous pour commenter.

C’est votre projet ? Connectez-vous pour revendiquer la fiche.

Badge pour votre README

com.materialscodegraph/mcg sur L’Agora

Montrez que votre projet est référencé (et testé, s’il répond) : collez ce code dans votre README. Le badge suit le dernier test et renvoie vers cette fiche.

Markdown (GitHub)

[![com.materialscodegraph/mcg sur L’Agora](https://lagora.dev/badge/com.materialscodegraph/mcg.svg)](https://lagora.dev/fiche/com.materialscodegraph/mcg)

HTML

<a href="https://lagora.dev/fiche/com.materialscodegraph/mcg"><img src="https://lagora.dev/badge/com.materialscodegraph/mcg.svg" alt="com.materialscodegraph/mcg sur L’Agora" height="20"></a>

Mettre en avant

Réservé à l’auteur de la fiche : connectez-vous pour continuer.

Signaler cette fiche