Skip to main content

candy-mcp 🍬

Serveur MCP pour Candy-AI — Cédric8-Thinking

Connecte n'importe quel client compatible Model Context Protocol (Claude Desktop, Cursor, VS Code…) au moteur Cédric8-Thinking via la librairie candy-ai.


Installation

pip install candy-mcp

Nécessite Python 3.10+ et installe automatiquement candy-ai et mcp.


Utilisation rapide

1. Lancer le serveur

candy-mcp

2. Configurer Claude Desktop

Ajoute ce bloc dans ton fichier claude_desktop_config.json :

macOS : ~/Library/Application Support/Claude/claude_desktop_config.json
Windows : %APPDATA%\Claude\claude_desktop_config.json

{
  "mcpServers": {
    "candy-ai": {
      "command": "candy-mcp"
    }
  }
}

Redémarre Claude Desktop. Les outils Candy apparaîtront automatiquement. ✅


Outils disponibles

Outil Description
candy_ask Pose une question à Cédric8-Thinking (12 personnalités)
candy_batch Traite plusieurs prompts en un seul appel
candy_translate Traduit un texte vers la langue cible
candy_summarize Résume un texte long
candy_sentiment Analyse le sentiment (positif/négatif/neutre + score)
candy_keywords Extrait les mots-clés d'un texte
candy_status Vérifie que l'API Cédric8-Thinking est en ligne
candy_list_personalities Liste toutes les personnalités disponibles

Personnalités disponibles

Auto · Full · Coding · Writing · Math · Medicine · Law · Finance · Tutor · Summarizer · Analytic · Translator

💡 La personnalité Auto sélectionne automatiquement la meilleure selon ton prompt.


Exemples d'usage dans Claude Desktop

Une fois configuré, tu peux dire à Claude :

  • "Utilise Candy avec la personnalité Coding pour écrire un tri rapide en Python"
  • "Traduis ce texte en japonais via Candy"
  • "Résume cet article en 50 mots avec Candy"
  • "Analyse le sentiment de ce commentaire client avec Candy"
  • "Vérifie si l'API Candy est en ligne"

Configuration avancée — avec uvx

Si tu préfères ne pas installer globalement :

{
  "mcpServers": {
    "candy-ai": {
      "command": "uvx",
      "args": ["candy-mcp"]
    }
  }
}

Intégration avec d'autres clients MCP

Cursor / VS Code

{
  "mcp": {
    "servers": {
      "candy-ai": {
        "command": "candy-mcp",
        "type": "stdio"
      }
    }
  }
}

Via Python directement

import subprocess
import sys

# Lance le serveur MCP en sous-processus
process = subprocess.Popen(
    [sys.executable, "-m", "candy_mcp.server"],
    stdin=subprocess.PIPE,
    stdout=subprocess.PIPE,
)

Architecture

Client MCP (Claude Desktop, Cursor…)
        │
        │ stdio (JSON-RPC 2.0)
        ▼
  candy-mcp (ce serveur)
        │
        │ candy-ai (Python)
        ▼
  Cédric8-Thinking API
  (candy-gate.hubworld.net)

Publier sa propre version

# 1. Cloner et modifier
git clone https://github.com/candy-gate/candy-mcp
cd candy-mcp

# 2. Build
pip install hatchling
python -m hatchling build

# 3. Publier sur PyPI
pip install twine
twine upload dist/*

Licence

MIT — Libre d'utilisation, y compris commerciale.


Propulsé par Cédric8-Thinking · candy-ai v21

Metadata

Release files for candy-mcp 1.0.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for candy-mcp 1.0.0
File Size Uploaded Provenance Actions
candy_mcp-1.0.0.tar.gz 8.4 kB Without provenance Details for candy_mcp-1.0.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for candy-mcp 1.0.0
File Interpreter ABI Platform Actions
candy_mcp-1.0.0-py3-none-any.whl Python 3 none any Details for candy_mcp-1.0.0-py3-none-any.whl

Total release size: 11.4 kB

Release files / candy_mcp-1.0.0.tar.gz

Download URL candy_mcp-1.0.0.tar.gz
Size 8.4 kB
Tags Source
SHA-256 checksum
How to use checksums
db1d57c1cb257ffe889b6fc2029dcde60e36ae0d4d0e1d69e786225756a5aaa9
BLAKE2b-256 checksum
How to use checksums
7ab0af13175eb03ff3755d41e768806511b9baf8621f27548d83d4780a00f03f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.7

Release files / candy_mcp-1.0.0-py3-none-any.whl

Download URL candy_mcp-1.0.0-py3-none-any.whl
Size 2.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
612dbfd547020967264db5f2ad2dc13b44ad1a571c70e2dc961b4c1fc22107b1
BLAKE2b-256 checksum
How to use checksums
f6e20b5a2f406f4f987a13185dcd17d0d584f107e36a30cd0876bb8e1e1566ed
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.7

Security for candy-mcp 1.0.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

1.0.0 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page