@agentics.org/sparc2
Version:
SPARC 2.0 - Autonomous Vector Coding Agent + MCP. SPARC 2.0, vectorized AI code analysis, is an intelligent coding agent framework built to automate and streamline software development. It combines secure execution environments, and version control into a
22 lines (17 loc) • 711 B
JavaScript
/**
* MCP Server Wrapper with SSE Support for SPARC 2.0
* This script extends the standard MCP wrapper with Server-Sent Events (SSE) support
* for real-time progress updates during long-running operations.
*/
import { fileURLToPath } from "node:url";
import path from "node:path";
// Get the directory of this script
const __filename = fileURLToPath(import.meta.url);
const __dirname = path.dirname(__filename);
// Import and run the actual MCP server wrapper
import("./src/mcp/mcpServerWrapper.js").catch((error) => {
console.error(`Failed to start MCP server: ${error.message}`);
process.exit(1);
});
console.error("[MCP SSE Wrapper] Starting MCP server with SSE support...");