Huly MCP Server

$npm start
README.md

Custom MCP server for Huly workspace built from scratch.

Huly MCP Server

Custom MCP server for Huly workspace built from scratch. Runs on your remote server and connects to Huly WebSocket API.

Features

  • Built from scratch - No dependencies on buggy huly-mcp package
  • Fixes all bugs - Correct attachedToClass, collection, and kind fields
  • Auto-resolves project kind IDs - Automatically gets correct task type for each project
  • Runs on remote server - Deploy on your server where Huly is hosted
  • Connects via SSH - Cursor connects via SSH to remote server

Installation on Remote Server

cd /path/to/huly-mcp-server
npm install
npm run build

Configuration

Create .env file or set environment variables:

HULY_URL=https://workspace.teasersoftware.com
HULY_EMAIL=your-email@example.com
HULY_PASSWORD=your-password
HULY_WORKSPACE=Teaser Software
PORT=3000

Running the Server

On Remote Server

npm start
# or for development
npm run dev

The server uses stdio transport (standard MCP protocol).

Connecting from Cursor

For HTTP Server (Remote)

Add to Cursor Settings → MCP Servers:

{
  "mcpServers": {
    "huly-remote": {
      "url": "http://your-server-ip:3000/mcp",
      "env": {
        "HULY_URL": "https://workspace.teasersoftware.com",
        "HULY_EMAIL": "your-email@example.com",
        "HULY_PASSWORD": "your-password"
      }
    }
  }
}

For Stdio Server (Local)

{
  "mcpServers": {
    "huly-local": {
      "command": "node",
      "args": ["/absolute/path/to/huly-mcp-server/dist/index.js"],
      "env": {
        "HULY_URL": "https://workspace.teasersoftware.com",
        "HULY_EMAIL": "your-email@example.com",
        "HULY_PASSWORD": "your-password"
      }
    }
  }
}

How It Works

  1. Connects to Huly: Uses WebSocket API to connect to your Huly workspace
  2. Resolves Project IDs: Automatically converts project names to space IDs
  3. Gets Correct Kind ID: Queries existing issues to get the correct task type ID for each project
  4. Creates Issues Correctly: Sets all fields correctly:
    • attachedToClass: "tracker:class:Issue"
    • collection: "subIssues"
    • kind:

Available Tools

  • create_issue - Create issues with correct fields
  • list_issues - List issues from projects
  • list_projects - List all projects

Development

npm run dev:http  # Run HTTP server in development
npm run dev       # Run stdio server in development
npm run build     # Build TypeScript

Deployment on Remote Server

1. Copy to Server

scp -r huly-mcp-server user@your-server:/opt/huly-mcp-server

2. Install and Build

ssh user@your-server
cd /opt/huly-mcp-server
npm install
npm run build

3. Create .env File

cat > .env << EOF
HULY_URL=https://workspace.teasersoftware.com
HULY_EMAIL=hha.nguyen298@gmail.com
HULY_PASSWORD=Ha@29082002
HULY_WORKSPACE=Teaser Software
EOF

4. Test Locally on Server

node dist/index.js
# Should see: "Huly MCP Server running on stdio"

The server is ready! Cursor will connect via SSH.

Tools (3)

create_issueCreate issues with correct fields.
list_issuesList issues from projects.
list_projectsList all projects.

Environment Variables

HULY_URLrequiredHuly workspace URL
HULY_EMAILrequiredEmail for Huly authentication
HULY_PASSWORDrequiredPassword for Huly authentication
HULY_WORKSPACErequiredHuly workspace name
PORTServer port

Configuration

claude_desktop_config.json
{
  "mcpServers": {
    "huly-remote": {
      "url": "http://your-server-ip:3000/mcp",
      "env": {
        "HULY_URL": "https://workspace.teasersoftware.com",
        "HULY_EMAIL": "your-email@example.com",
        "HULY_PASSWORD": "your-password"
      }
    }
  }
}

Try it

List all projects in my Huly workspace.
List issues from the Teaser Software project.
Create an issue in the Teaser Software project titled 'Fix login bug' with description 'Users cannot log in on mobile'.
Show me all open issues in my projects.
List projects and their issues.

Frequently Asked Questions

How do I install Huly MCP Server?

Install Huly MCP Server by running: npm start

What MCP clients work with Huly MCP Server?

Huly MCP Server works with any MCP-compatible client including Claude Desktop, Claude Code, Cursor, and other editors with MCP support.

Use Huly MCP Server with Conare

Manage MCP servers visually, upload persistent context, and never start from zero with Claude Code & Codex.

Try Free