MCP Hub
Back to servers

cortensor-mcp

A toolset for connecting AI assistants to Cortensor's decentralized inference network, providing persistent session memory and advanced task validation capabilities.

Tools
10
Updated
Dec 30, 2025

Cortensor MCP

An MCP server that plugs Claude, Cursor, and other AI assistants directly into Cortensor's decentralized inference network. Session persistence, task orchestration, and validation tools included.

Why Cortensor MCP?

The Problem

AI agents lack:

  • Persistent memory across conversations
  • Access to decentralized inference networks
  • Structured task orchestration tools
  • Built-in validation and consistency checking

Our Solution

Cortensor MCP provides a unified interface that:

  • Persists session memory using Cloudflare Durable Objects
  • Connects AI assistants to Cortensor's decentralized network
  • Orchestrates tasks with structured routing (analyze, summarize, extract, generate, validate, decide, plan)
  • Validates outputs against rubrics and checks for logical consistency

Result: AI agents gain persistent memory, decentralized inference capabilities, and powerful validation tools—all through a single MCP server.

Creating a Persistent Session

Create a new session for my research project with initial context about blockchain analysis

Routing Tasks to Cortensor

Analyze this smart contract code and identify potential security issues

Validating Content Against a Rubric

Validate this documentation against criteria: clarity, completeness, and accuracy

Features

ToolDescription
session_createCreate or retrieve an agent session with persistent memory
session_rememberStore information in session memory for later recall
session_recallRetrieve stored information from a session
task_routeRoute structured tasks to Cortensor with output formatting
validate_rubricValidate content against a weighted scoring rubric
validate_consistencyCheck content for contradictions and logical issues
research_analyzeAnalyze code, docs, or issues and extract actionable items
research_summarizeGenerate digest, changelog, or status reports from multiple items
cortensor_statusCheck Cortensor network connectivity and latency
cortensor_inferDirect inference request to Cortensor network

Setup Guide

1. Clone and Install

git clone https://github.com/SuReaper/cortensor-mcp.git
cd cortensor-mcp
npm install

2. Run Locally or Deploy

# Local development
npx wrangler dev

# Production deployment
npx wrangler deploy

MCP Configuration

Add to your MCP settings (Roo Code / Cline / Claude Desktop):

{
  "mcpServers": {
    "cortensor": {
      "type": "sse",
      "url": "https://your-worker.workers.dev/sse",
      "alwaysAllow": [
        "session_create",
        "session_remember",
        "session_recall",
        "task_route",
        "validate_rubric",
        "validate_consistency",
        "research_analyze",
        "research_summarize",
        "cortensor_status",
        "cortensor_infer"
      ],
      "timeout": 300
    }
  }
}

Task Types

TypeBehavior
analyzeIdentify patterns and insights
summarizeConcise summary, preserve key info
extractExtract data points and entities
generateGenerate content from requirements
validateCheck correctness, flag issues
decideReasoned decision with explanation
planActionable steps with priorities

Reviews

No reviews yet

Sign in to write a review