Aller au contenu

configure

L’outil configure permet de gerer la configuration SESHAT directement via MCP, sans terminal.

action string requis
ActionDescription
get_configAffiche la configuration actuelle (champs sensibles masques)
set_git_hostConfigure le git host (GitHub/GitLab/Forgejo)
add_projectAjoute un nouveau projet
update_projectModifie un projet existant
list_projectsListe tous les projets
get_projectDetails d’un projet specifique
git_host_type string

github, gitlab, ou forgejo

git_host_api_url string

URL de l’API (ex: https://api.github.com)

git_host_token string

Token d’acces personnel

project_id string requis

Identifiant unique du projet

project_name string

Nom lisible du projet

repo_path string

Chemin local vers le depot git

vault_path string

Sous-dossier Obsidian pour les notes de recherche

git_host_owner string

Owner sur le git host (org ou username)

git_host_repo string

Nom du repo sur le git host

notion_database_id string

ID de la base Notion pour les notes de recherche. Accepte UUID, hex brut, ou URL Notion.

notion_database_id: "abcdef12-3456-7890-abcd-ef1234567890"
default_asset_types string[]

Types d’actifs par defaut pour ce projet (ex: ["logiciel", "base_donnees"])

default_objective string

Objectif R&D par defaut pour ce projet

Configure SESHAT avec GitHub
{
"action": "set_git_host",
"git_host_type": "github",
"git_host_api_url": "https://api.github.com",
"status": "configured"
}
Ajoute le projet "mon-api" avec defaults logiciel et objectif "Optimisation API"
{
"action": "add_project",
"project_id": "mon-api",
"default_asset_types": ["logiciel"],
"default_objective": "Optimisation API",
"status": "created"
}
Ajoute la base Notion abc123... au projet "mon-api"
{
"action": "update_project",
"project_id": "mon-api",
"notion_database_id": "abcdef12-3456-7890-abcd-ef1234567890",
"status": "updated"
}
Liste mes projets SESHAT
{
"action": "list_projects",
"projects": [
{
"id": "mon-api",
"name": "Mon API",
"has_repo": true,
"has_vault": true,
"has_notion": true,
"default_asset_types": ["logiciel"]
}
]
}
  1. Verifier la config

    configure(action="get_config")

  2. Configurer git host

    configure(action="set_git_host", git_host_type="github")

  3. Ajouter le projet

    configure(action="add_project", project_id="...", ...)

  4. Verifier

    status(verbose=true)