{
  "mcpServers": {
    "csvlod-ai": {
      "serverInfo": {
        "name": "csvlod-ai",
        "version": "2.0.4",
        "description": "CSVLOD-AI Framework MCP Server - Sovereignty-first AI development tools"
      },
      "transport": {
        "type": "stdio",
        "command": "node",
        "args": ["./node_modules/csvlod-ai-mcp-server/dist/index.js"],
        "env": {
          "CSVLOD_SOVEREIGNTY_LEVEL": "high",
          "CSVLOD_TELEMETRY_ENABLED": "false",
          "CSVLOD_DATA_LOCATION": "local"
        }
      },
      "capabilities": {
        "tools": {
          "csvlod_init": {
            "name": "csvlod_init",
            "description": "Initialize CSVLOD framework in a project with full context structure",
            "inputSchema": {
              "type": "object",
              "properties": {
                "projectPath": {
                  "type": "string",
                  "description": "Path to the project to initialize"
                },
                "type": {
                  "type": "string",
                  "enum": ["basic", "enterprise", "minimal"],
                  "description": "Type of CSVLOD setup"
                }
              },
              "required": ["projectPath", "type"]
            },
            "sovereigntyImpact": "Creates local project structure with complete user control"
          },
          "csvlod_validate": {
            "name": "csvlod_validate", 
            "description": "Validate a project for CSVLOD compliance and best practices",
            "inputSchema": {
              "type": "object",
              "properties": {
                "path": {
                  "type": "string",
                  "description": "Path to validate for CSVLOD compliance"
                },
                "strict": {
                  "type": "boolean",
                  "description": "Use strict validation mode"
                }
              },
              "required": ["path"]
            },
            "sovereigntyImpact": "Analyzes local project without external calls"
          },
          "csvlod_generate": {
            "name": "csvlod_generate",
            "description": "Generate CSVLOD components (context files, manifests, prompts)",
            "inputSchema": {
              "type": "object",
              "properties": {
                "component": {
                  "type": "string",
                  "enum": ["context", "manifest", "prompt", "structure"],
                  "description": "Component to generate"
                },
                "path": {
                  "type": "string",
                  "description": "Path where to generate the component"
                },
                "options": {
                  "type": "object",
                  "properties": {
                    "framework": {"type": "string"},
                    "language": {"type": "string"},
                    "aiTools": {"type": "boolean"}
                  }
                }
              },
              "required": ["component", "path"]
            },
            "sovereigntyImpact": "Creates local files based on project analysis"
          },
          "csvlod_analyze": {
            "name": "csvlod_analyze",
            "description": "Analyze context effectiveness and suggest improvements",
            "inputSchema": {
              "type": "object", 
              "properties": {
                "path": {
                  "type": "string",
                  "description": "Path to analyze context effectiveness"
                },
                "includeMetrics": {
                  "type": "boolean",
                  "description": "Include detailed metrics"
                }
              },
              "required": ["path"]
            },
            "sovereigntyImpact": "Local analysis with actionable recommendations"
          },
          "mcp_registry": {
            "name": "mcp_registry",
            "description": "Manage local MCP registry (sync, search, install from cache)",
            "inputSchema": {
              "type": "object",
              "properties": {
                "action": {
                  "type": "string",
                  "enum": ["sync", "search", "install", "list"],
                  "description": "Registry action"
                },
                "query": {
                  "type": "string",
                  "description": "Search query or package name"
                },
                "localOnly": {
                  "type": "boolean",
                  "description": "Only use local cache"
                }
              },
              "required": ["action"]
            },
            "sovereigntyImpact": "Local-first registry with optional remote sync"
          },
          "mcp_orchestrate": {
            "name": "mcp_orchestrate",
            "description": "Intelligently orchestrate MCP servers for a task using CSVLOD principles",
            "inputSchema": {
              "type": "object",
              "properties": {
                "task": {
                  "type": "string",
                  "description": "Task description for MCP orchestration"
                },
                "preferLocal": {
                  "type": "boolean",
                  "description": "Prefer local MCP servers"
                },
                "ephemeral": {
                  "type": "boolean",
                  "description": "Use ephemeral instances where possible"
                }
              },
              "required": ["task"]
            },
            "sovereigntyImpact": "User-controlled multi-tool coordination"
          },
          "swarm_init": {
            "name": "swarm_init",
            "description": "Initialize agent swarm coordination for a CSVLOD project",
            "inputSchema": {
              "type": "object",
              "properties": {
                "projectPath": {
                  "type": "string",
                  "description": "Path to project with CSVLOD structure"
                }
              },
              "required": ["projectPath"]
            },
            "sovereigntyImpact": "Sets up local agent coordination framework"
          },
          "swarm_decompose": {
            "name": "swarm_decompose",
            "description": "Decompose a high-level task into agent-specific subtasks",
            "inputSchema": {
              "type": "object",
              "properties": {
                "projectPath": {
                  "type": "string",
                  "description": "Path to project"
                },
                "taskDescription": {
                  "type": "string",
                  "description": "High-level task description"
                },
                "requiredContext": {
                  "type": "array",
                  "items": {"type": "string"},
                  "description": "Required CSVLOD context categories"
                }
              },
              "required": ["projectPath", "taskDescription"]
            },
            "sovereigntyImpact": "User-approved task decomposition with consent"
          },
          "swarm_status": {
            "name": "swarm_status",
            "description": "Get current status of agent swarm coordination",
            "inputSchema": {
              "type": "object",
              "properties": {
                "projectPath": {
                  "type": "string",
                  "description": "Path to project"
                }
              },
              "required": ["projectPath"]
            },
            "sovereigntyImpact": "Transparent reporting of all agent activities"
          },
          "swarm_assign": {
            "name": "swarm_assign",
            "description": "Assign a task to an available specialized agent",
            "inputSchema": {
              "type": "object",
              "properties": {
                "projectPath": {
                  "type": "string",
                  "description": "Path to project"
                },
                "taskId": {
                  "type": "string",
                  "description": "Task ID to assign"
                }
              },
              "required": ["projectPath", "taskId"]
            },
            "sovereigntyImpact": "User-controlled task assignment with approval"
          },
          "swarm_complete": {
            "name": "swarm_complete",
            "description": "Mark a task as completed and update swarm state",
            "inputSchema": {
              "type": "object",
              "properties": {
                "projectPath": {
                  "type": "string",
                  "description": "Path to project"
                },
                "taskId": {
                  "type": "string",
                  "description": "Task ID to complete"
                },
                "result": {
                  "description": "Task completion result"
                }
              },
              "required": ["projectPath", "taskId", "result"]
            },
            "sovereigntyImpact": "User verification of task completion"
          },
          "swarm_tasks": {
            "name": "swarm_tasks",
            "description": "Get details about swarm tasks (specific task or filtered view)",
            "inputSchema": {
              "type": "object",
              "properties": {
                "projectPath": {
                  "type": "string",
                  "description": "Path to project"
                },
                "taskId": {
                  "type": "string",
                  "description": "Specific task ID, or all tasks if omitted"
                },
                "agentType": {
                  "type": "string",
                  "description": "Filter by agent type"
                }
              },
              "required": ["projectPath"]
            },
            "sovereigntyImpact": "Full transparency of agent task status"
          }
        }
      },
      "configuration": {
        "sovereignty": {
          "level": "high",
          "enforcementMode": "strict",
          "userConsentRequired": true,
          "dataOwnership": "user",
          "transparencyMode": "full",
          "auditEnabled": true,
          "auditFrequency": "weekly",
          "minimumScore": 90,
          "alertOnViolations": true,
          "autoRemediation": false
        },
        "telemetry": {
          "enabled": false,
          "optInRequired": true,
          "dataMinimization": true,
          "localStorage": true,
          "anonymization": true,
          "userControlled": true,
          "easyOptOut": true
        },
        "contextEngineering": {
          "enabled": true,
          "autoGenerate": false,
          "userApproval": true,
          "templateLibrary": "local",
          "customPrompts": true
        },
        "agentSwarms": {
          "enabled": true,
          "maxAgents": 5,
          "userOverride": true,
          "consentRequired": true,
          "maxConcurrentAgents": 3,
          "taskApprovalRequired": true,
          "fullAuditTrail": true,
          "userCanTerminate": true
        },
        "privacy": {
          "localFirst": true,
          "encryptSensitiveData": true,
          "logAuditTrail": true,
          "anonymizeMetrics": true
        },
        "performance": {
          "trackEfficiencyGains": true,
          "measureSovereigntyImpact": true,
          "reportVelocityImprovement": true,
          "benchmarkAgainstBaseline": false
        }
      }
    }
  },
  "mcpClientConfiguration": {
    "timeout": 30000,
    "retryAttempts": 3,
    "logLevel": "info",
    "sovereigntyChecks": true,
    "userConsentPrompts": true,
    "auditLogging": true
  }
} 