Skip to main content
Glama
Digiforma MCP Server

Digiforma MCP Server

by maureen-bny

Digiforma MCP Server

Un serveur MCP qui expose l'API GraphQL de Digiforma (apprenants, sessions de formation, et accès GraphQL générique) à un client compatible MCP (Claude Desktop, Claude Code, etc.).

⚠️ Ce n'est pas un connecteur officiel Digiforma — c'est un serveur MCP maison construit sur leur API GraphQL publique.

Outils exposés

  • digiforma_graphql — exécute n'importe quelle requête/mutation GraphQL (idéal pour tout ce qui n'est pas déjà couvert ci-dessous).

  • digiforma_introspect_schema — liste les types du schéma GraphQL Digiforma, pour explorer ce qui est disponible.

  • digiforma_list_trainees — liste les apprenants.

  • digiforma_get_trainee — détail d'un apprenant + ses sessions.

  • digiforma_list_training_sessions — liste les sessions de formation.

Related MCP server: mcp4gql

Prérequis

  • Node.js ≥ 18

  • Un compte Digiforma avec l'accès API GraphQL activé sur votre plan (à vérifier dans les options avancées de votre compte, ou en contactant le support Digiforma).

  • Un token d'API Digiforma :

    1. Connectez-vous à votre compte Digiforma.

    2. Allez dans la page de configuration de l'API (Paramètres avancés → API).

    3. Cliquez sur "Générer un token".

    4. Copiez le token généré — vous ne pourrez le revoir qu'une fois.

Documentation officielle : GraphQL, l'API Digiforma

Installation

git clone <URL_DU_DEPOT>
cd digiforma-mcp
npm install

Configuration

Le serveur lit deux variables d'environnement :

Variable

Requis

Description

DIGIFORMA_API_TOKEN

Oui

Le token Bearer généré depuis votre compte Digiforma.

DIGIFORMA_API_URL

Non

Endpoint GraphQL (défaut : https://app.digiforma.com/api/v1/graphql).

Claude Desktop

Ajoutez ceci à votre fichier claude_desktop_config.json :

{
  "mcpServers": {
    "digiforma": {
      "command": "node",
      "args": ["/chemin/absolu/vers/digiforma-mcp/src/index.js"],
      "env": {
        "DIGIFORMA_API_TOKEN": "votre_token_ici"
      }
    }
  }
}

Puis redémarrez Claude Desktop.

Claude Code

claude mcp add digiforma \
  --env DIGIFORMA_API_TOKEN=votre_token_ici \
  -- node /chemin/absolu/vers/digiforma-mcp/src/index.js

Test manuel

DIGIFORMA_API_TOKEN=votre_token node src/index.js

Le serveur communique en stdio selon le protocole MCP ; pour un test rapide sans client MCP, vous pouvez aussi interroger directement l'API avec curl :

curl -X POST https://app.digiforma.com/api/v1/graphql \
  -H "Authorization: Bearer votre_token" \
  -H "Content-Type: application/json" \
  -d '{"query": "{ trainees { id firstname lastname email } }"}'

Limites connues

Le schéma exact de l'API Digiforma (tous les champs et types disponibles) n'est pas publiquement documenté dans le détail — utilisez l'outil digiforma_introspect_schema ou l'interface GraphiQL fournie par Digiforma (https://app.digiforma.com/api/v1/graphiql) pour explorer les champs disponibles et adapter/étendre les requêtes de ce serveur si besoin.

Licence

MIT

Available Tools

5 tools
digiforma_get_traineeA

Get a single trainee by id, including their training sessions.

Inputs: id (required).

digiforma_graphqlA

Run an arbitrary GraphQL query or mutation against the Digiforma API. Use this for anything not covered by the convenience tools below, or to run introspection queries to discover the full schema (e.g. { __schema { types { name } } }).

Inputs: query (required), variables.

digiforma_introspect_schemaA

Fetch the list of GraphQL type names exposed by the Digiforma API (a lightweight introspection query). Useful to discover which objects and fields are available before writing a custom digiforma_graphql query.

Inputs: no named parameters.

digiforma_list_traineesA

List trainees (learners/apprenants) registered in Digiforma, with their basic contact info.

Inputs: no named parameters.

digiforma_list_training_sessionsA

List training sessions (sessions de formation) configured in Digiforma.

Inputs: no named parameters.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A4.3/5.0

    Scored across 5 tools

    Disambiguation5/5

    Each tool has a clearly distinct purpose: the GraphQL and introspection tools serve as meta-access, while list/get trainee and list training sessions target specific resources with no overlap. Even the generic GraphQL tool is explicitly framed as a fallback, avoiding confusion.

    Naming Consistency5/5

    All tools follow a consistent 'digiforma_' prefix followed by a verb_noun pattern (e.g., list_trainees, get_trainee, introspect_schema). The naming is uniform and predictable, making it easy for an agent to infer behavior.

    Tool Count5/5

    With 5 tools, the server is well-scoped for a domain focused on trainees and training sessions. The inclusion of a generic GraphQL tool covers edge cases without bloating the count, making it neither too thin nor too heavy.

    Completeness4/5

    The convenience tools cover the primary read operations (list/get trainees, list sessions), and the generic GraphQL tool enables any missing operations such as create/update/delete. Minor gaps exist for convenient mutation access, but the fallback prevents dead ends.

    Maintenance

    ActivitySlowing
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      D
      maintenance
      Turn any GraphQL endpoint into a set of MCP tools
      23
      MIT
    • A
      license
      A
      quality
      D
      maintenance
      GraphQL MCP Server that acts as a bridge allowing MCP clients (like Cursor or Claude Desktop) to interact with target GraphQL APIs through standard tools for schema introspection and operation execution.
      2
      8 npm
      3
      MIT
    • A
      license
      A
      quality
      B
      maintenance
      Enhanced MCP server for GraphQL with filtered introspection and full variable support.
      6
      2
      57,473 npm
      6
      MIT
    • A
      license
      Not graded
      quality
      D
      maintenance
      Automatically generates MCP tools from any GraphQL API by introspecting its schema, supporting queries, mutations, and authentication.
      5
      GPL 3.0