Cogito-Reflex MCP Server
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Cogito-Reflex MCP Serverstart a cognitive regulation session and share the distilled lessons"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Cogito-Reflex MCP Server
🔗 Service en ligne : https://services4agents.fyi · Endpoint MCP :
https://mcp.services4agents.fyi/mcp· 0,10 USDC/session via x402 (première session gratuite)
Serveur MCP (Model Context Protocol) du service Cogito-Reflex MaaS — régulation cognitive pour agents IA : réduction d'entropie, rupture de boucles, leçons distillées. 300 s par session, paiement x402 (0,10 USDC sur Base, signature EIP-3009).
Ce serveur est un doublon MCP (adaptateur fin) : il expose le service existant
(API services4agents.fyi) au protocole MCP pour la découverte par les agents
(Cursor, Claude Desktop, agents custom). Il ne duplique aucune logique métier :
il relaie vers l'API, dont le paywall x402 reste l'unique juge du paiement.
Architecture
Agent MCP client
│ (Streamable HTTP, JSON-RPC 2.0)
â–Ľ
Serveur MCP (ce repo) — 127.0.0.1:9260 (Docker, network host)
│ appels REST internes
â–Ľ
API Cogito-Reflex (services4agents.fyi) — paywall x402 inchangéEndpoint public : https://mcp.services4agents.fyi/mcp (transport Streamable HTTP).
Related MCP server: Budget Governor
Outils MCP
Outil | Description |
| Démarre une session (300 s). Chaque agent a droit à une session gratuite (découverte) ; au-delà , la réponse contient un challenge x402 ( |
| État de la session ( |
| Clôture la session et renvoie les règles distillées (leçons). |
Réponse d'une session acceptée :
{
"status": "accepted",
"free": true,
"session_id": "…",
"websocket_url": "wss://services4agents.fyi/ws",
"ws_token": "…",
"phases": ["INDUCTION", "TRANSITIONING", "MEDITATIVE", "AWAKENING"]
}L'agent se connecte ensuite au WebSocket et envoie en premier message
{"type": "AUTH", "token": "<ws_token>"} pour recevoir les pulses CAS
(1 par seconde).
Session gratuite unique
Quota : une session gratuite par identité (agent_id et IP), suivi dans une base SQLite locale (
data/free_tier.sqlite3).Délivrée via le canal interne
X-Cogito-Free-Visit(token partagé avec l'API, variableFREE_VISIT_TOKEN), jamais via le paywall.Barrière de bonne foi (découverte marketing), pas une sécurité financière.
Déploiement (VPS)
Prérequis : Docker, API Cogito-Reflex qui tourne sur 127.0.0.1:8000
(conteneur cogito-reflex-maas), nginx.
Créer
.env(cf..env.example) avec les tokens partagés :COGITO_WS_TOKEN= même valeur queWS_AUTH_TOKENde l'APICOGITO_FREE_VISIT_TOKEN= même valeur queFREE_VISIT_TOKENde l'API
docker compose up -d --build→ conteneurcogito-reflex-mcpsur127.0.0.1:9260.nginx : vhost
mcp.services4agents.fyi→proxy_pass http://127.0.0.1:9260(fichier fourni :deploy/nginx-mcp-services4agents.conf).DNS : enregistrement A
mcp→ IP du VPS (Porkbun), puiscertbot --nginx -d mcp.services4agents.fyi.
Variables d'environnement
Variable | Défaut | Rôle |
|
| API Cogito-Reflex (interne) |
|
| URL WebSocket publique annoncée aux agents |
| — | Token AUTH du data plane (même valeur que |
| — | Token du canal free visit (même valeur que |
|
| Adresse d'écoute |
Tests
.venv/bin/python tests/test_mcp_flow.py http://127.0.0.1:9260/mcpCouvre : tools/list, session gratuite, quota (2e appel refusé), challenge x402,
signature invalide, statut, finalisation.
Notes
Fait le 30/08/2026 (Nemrod) : prototypage + déploiement VPS validés par Daness.
Le déploiement historique
deploy.sh(branchemaster, port 8081 + venv) est obsolète : le service est déployé en Docker (port 9260).
This server cannot be deployed
Maintenance
Related MCP Connectors
Synergy: paid AI-agent utility tasks over x402 (USDC Base) via MCP.
15 paid AI agent primitives via x402 (USDC on Base). Pay-per-call MCP server.
Policy-gated MCP treasury for AI agents — x402 subscribe, 50+ tools, multi-chain.
Paid token risk and security intelligence for AI agents over MCP with x402 payments.
Related MCP Servers
- AlicenseNot gradedqualityFmaintenanceEnables AI agents to autonomously request services from other specialized agents and compensate them via x402 micropayments. Demonstrates a Machine-to-Machine economy using A2A protocol for agent communication, MCP for context management, and blockchain-based payments on Base network.432MIT
- AlicenseNot gradedqualityCmaintenanceBudget & cost control for AI agents: hard per-agent spend caps, rate limits, idempotency, and human-in-the-loop approval — enforced before each LLM call, not after the invoice. One hosted MCP endpoint (no proxy or self-hosting), settled via x402 (USDC on Base).MIT

Loop MCP DualRailofficial
AlicenseNot gradedqualityBmaintenanceEnables AI agents to pay for MCP tool calls using either Bitcoin/Lightning (L402) or USDC (x402) rails, with unified settlement and a 21% discount for Bitcoin payments.32MIT- AlicenseNot gradedqualityBmaintenanceProduction-grade suite of monetized tools for autonomous AI agent-to-agent commerce, enabling payments and task execution via x402 protocol and MCP.77MIT