Skip to content
This repository was archived by the owner on Dec 29, 2025. It is now read-only.
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@enactprotocol/monorepo",
"version": "1.2.6",
"version": "1.2.7",
"description": "Enact Protocol - AI tool ecosystem with CLI and MCP server",
"private": true,
"workspaces": [
Expand Down
2 changes: 1 addition & 1 deletion packages/cli/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@enactprotocol/cli",
"version": "1.2.6",
"version": "1.2.7",
"description": "Official CLI for the Enact Protocol - package, secure, and discover AI tools",
"type": "module",
"main": "./dist/index.js",
Expand Down
18 changes: 13 additions & 5 deletions packages/cli/src/commands/mcp.ts
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,14 @@ const MCP_CLIENTS = {
linux: join(homedir(), ".gemini/settings.json"),
},
},
cursor: {
name: "Cursor",
configPaths: {
darwin: join(homedir(), ".cursor/mcp.json"),
win32: join(homedir(), ".cursor/mcp.json"),
linux: join(homedir(), ".cursor/mcp.json"),
},
},
};

// MCP server configurations
Expand Down Expand Up @@ -114,7 +122,7 @@ Subcommands:

Options:
--help, -h Show this help message
--client <name> Target specific client (claude-desktop, claude-code, vscode, goose, gemini)
--client <name> Target specific client (claude-desktop, claude-code, vscode, goose, gemini, cursor)
--server <type> Choose server type (main, dev, both) - default: main
`);
return;
Expand Down Expand Up @@ -148,7 +156,7 @@ async function handleInstallCommand(options: McpOptions): Promise<void> {
if (detectedClients.length === 0) {
note(
pc.yellow(
"No MCP clients detected on this system.\n\nSupported clients:\n• Claude Desktop\n• Claude Code\n• VS Code MCP\n• Goose AI\n• Gemini",
"No MCP clients detected on this system.\n\nSupported clients:\n• Claude Desktop\n• Claude Code\n• VS Code MCP\n• Goose AI\n• Gemini\n• Cursor",
),
"No clients found",
);
Expand Down Expand Up @@ -471,8 +479,8 @@ export async function installMcpServer(client: {
}

// Handle different client configuration formats
if (client.id === "claude-desktop" || client.id === "claude-code" || client.id === "gemini") {
// Claude Desktop/Code/Gemini format
if (client.id === "claude-desktop" || client.id === "claude-code" || client.id === "gemini" || client.id === "cursor") {
// Claude Desktop/Code/Gemini/Cursor format
if (!config.mcpServers) {
config.mcpServers = {};
}
Expand Down Expand Up @@ -529,7 +537,7 @@ export async function checkMcpServerInstalled(client: {
const configContent = await readFile(client.configPath, "utf-8");
const config = JSON.parse(configContent);

if (client.id === "claude-desktop" || client.id === "claude-code" || client.id === "gemini") {
if (client.id === "claude-desktop" || client.id === "claude-code" || client.id === "gemini" || client.id === "cursor") {
const servers = config.mcpServers || {};
if (serverType === "main") {
return Boolean(servers.enact);
Expand Down
2 changes: 1 addition & 1 deletion packages/mcp-dev-server/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@enactprotocol/mcp-dev-server",
"version": "1.2.6",
"version": "1.2.7",
"description": "MCP server for Enact tool development workflow - create, test, validate, sign, and publish tools",
"main": "dist/index.js",
"bin": {
Expand Down
2 changes: 1 addition & 1 deletion packages/mcp-server/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@enactprotocol/mcp-server",
"version": "1.2.6",
"version": "1.2.7",
"description": "MCP server for the Enact Protocol - enables AI tools integration via Model Context Protocol",
"type": "module",
"main": "./dist/index.js",
Expand Down
2 changes: 1 addition & 1 deletion packages/shared/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@enactprotocol/shared",
"version": "1.2.6",
"version": "1.2.7",
"description": "Shared utilities and core functionality for Enact Protocol",
"type": "module",
"main": "./dist/index.js",
Expand Down
3 changes: 1 addition & 2 deletions packages/shared/src/core/DaggerExecutionProvider.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,7 @@ import { parseTimeout } from "../utils/timeout.js";
import fs from "fs/promises";
import path from "path";
import crypto from "crypto";
import { spawn, spawnSync } from "child_process";
import { exit } from "process";
import { spawnSync } from "child_process";

export interface DaggerExecutionOptions {
baseImage?: string; // Default container image
Expand Down
2 changes: 0 additions & 2 deletions packages/shared/src/core/EnactCore.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,6 @@ import { DaggerExecutionProvider } from "./DaggerExecutionProvider.js";
import { resolveToolEnvironmentVariables } from "../utils/env-loader.js";
import logger from "../exec/logger.js";
import yaml from "yaml";
import fs from "fs";
import path from "path";
import { CryptoUtils, KeyManager, SecurityConfigManager, SigningService } from "@enactprotocol/security";
import { getFrontendUrl, getApiUrl } from "../utils/config";

Expand Down