A goal-agnostic parallel orchestration framework implementing Infinite Agentic Loop patterns as a Model Context Protocol (MCP) server.
A goal-agnostic parallel orchestration framework implementing Disler's Infinite Agentic Loop patterns as a Model Context Protocol (MCP) server. This system enables sophisticated multi-agent coordination for any domain through specification-driven architecture.
# Clone and install
git clone <repository-url>
cd infinite-loop-mcp-server
npm install
# Build
npm run build
# Run in development
npm run dev
Add to your MCP client configuration:
{
"mcpServers": {
"infinite-loop": {
"command": "node",
"args": ["/path/to/infinite-loop-mcp-server/dist/server.js"]
}
}
}
infinite_orchestrate
Main orchestration tool for goal-agnostic parallel generation.
{
specification: UniversalSpecification,
outputDirectory: string,
mode: {
type: 'SINGLE' | 'BATCH' | 'INFINITE',
count: number | 'INFINITE',
batchSize?: number,
maxWaves?: number
},
config?: {
contextThreshold?: number,
gracefulShutdown?: boolean,
progressiveSophistication?: boolean
}
}
Example - UI Component Generation:
{
"specification": {
"name": "React Search Components",
"description": "Modern search interface components with various interaction patterns",
"domain": {
"category": "UI",
"subcategory": "React Components",
"targetAudience": "Frontend Developers",
"complexity": "MODERATE"
},
"outputRequirements": {
"format": "tsx",
"structure": "Single component file with TypeScript",
"namingPattern": "SearchComponent_{number}.tsx",
"qualityStandards": ["TypeScript compliant", "Accessible", "Responsive"]
},
"innovationDimensions": ["interaction_patterns", "visual_design", "accessibility", "performance"],
"sophisticationLevels": [...],
"evolutionPattern": "CREATIVE_BURST"
},
"outputDirectory": "./generated-components",
"mode": {
"type": "BATCH",
"count": 10,
"batchSize": 5
}
}
Example - Documentation Generation:
{
"specification": {
"name": "API Documentation",
"description": "Comprehensive API documentation with examples and best practices",
"domain": {
"category": "DOCUMENTATION",
"subcategory": "API Reference",
"targetAudience": "Developers",
"complexity": "COMPLEX"
},
"outputRequirements": {
"format": "md",
"structure": "Structured markdown with code examples",
"namingPattern": "api_docs_{number}.md",
"qualityStandards": ["Complete coverage", "Clear examples", "Best practices"]
},
"innovationDimensions": ["clarity", "completeness", "interactivity", "searchability"],
"evolutionPattern": "LINEAR"
},
"outputDirectory": "./docs",
"mode": {
"type": "INFINITE",
"count": "INFINITE"
}
}
wave_plan
Plan generation waves with sophisticated agent assignment.
{
existingWork: IterationInfo[],
sophisticationLevel: SophisticationLevel,
targetCount: number,
contextBudget: number
}
agent_coordinate
Coordinate parallel agent execution with uniqueness enforcement.
{
assignments: AgentAssignment[],
innovationDimensions: string[],
contextMonitor: ContextMonitor
}
context_monitor
Monitor context capacity and manage graceful shutdown.
{
waveId: string,
capacityThreshold: number,
gracefulShutdown: boolean
}
spec_validate
Validate and enhance specifications with intelligent defaults.
{
userSpec: Partial<UniversalSpecification>,
domain: SpecificationDomain,
outputRequirements: any
}
interface UniversalSpecification {
id: string;
name: string;
description: string;
domain: SpecificationDomain;
version: string;
outputRequirements: {
format: string;
structure: string;
namingPattern: string;
qualityStandards: string[];
};
innovationDimensions: string[];
sophisticationLevels: SophisticationLevel[];
constraints: string[];
evolutionPattern: 'LINEAR' | 'EXPONENTIAL' | 'ADAPTIVE' | 'CREATIVE_BURST';
progressionStrategy: string;
successCriteria: string[];
validationRules: ValidationRule[];
}
Wave 1: Basic functional implementations
Wave 2: Enhanced features and user experience
Wave 3: Advanced concepts and innovative approaches
Wave N: Revolutionary paradigm-defining implementations
// Detect when parallel generation is needed
if (taskRequiresParallelGeneration(task)) {
const specification = generateSpecificationFromTask(task);
const result = await mcpClient.callTool('infinite_orchestrate', {
specification,
outputDirectory: task.outputDirectory,
mode: {
type: 'BATCH',
count: task.iterationCount,
batchSize: 5
}
});
return integrateResultsIntoTask(result, task);
}
// Define custom domain specification
const customSpec: UniversalSpecification = {
name: "Custom Data Analysis",
domain: {
category: "ANALYSIS",
subcategory: "Financial Reports",
targetAudience: "Business Analysts",
complexity: "COMPLEX"
},
innovationDimensions: [
"visualization_techniques",
"data_insights",
"predictive_modeling",
"business_impact"
],
// ... rest of specification
};
Contributions are welcome! Please read our contributing guidelines and submit pull requests for any improvements.
MIT License - see LICENSE file for details.
Based on Disler's Infinite Agentic Loop concept with universal goal-agnostic adaptations for maximum reusability and flexibility.
A server for securely executing commands on the host system, requiring Java 21 or higher.
A Python-based server for programmatically managing Clappia applications, forms, and submissions via its API.
A secure MCP server for eBPF, designed for AI integration, kernel introspection, and automation.
A GraphQL server that supports the Model Context Protocol (MCP), enabling Large Language Models (LLMs) to interact with GraphQL APIs through schema introspection and query execution.
A Model Context Protocol (MCP) server that enables AI assistants to integrate with Prometheus Alertmanager
Provides multi-cluster Kubernetes management and operations using MCP, It can be integrated as an SDK into your own project and includes nearly 50 built-in tools covering common DevOps and development scenarios. Supports both standard and CRD resources.
A structured development workflow for LLM-based coding, including feature clarification, planning, phased development, and progress tracking.
An MCP server that enables Large Language Models to make HTTP requests and interact with web APIs. It supports automatic tool generation from OpenAPI/Swagger specifications.
A self-hostable middleware to manage all your MCPs through a GUI and a local proxy, supporting multiple clients and workspaces.
Captures and manages stdout logs from multiple processes via a named pipe system for real-time debugging and analysis.