npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@enactprotocol/mcp-dev-server

v1.2.8

Published

MCP server for Enact tool development workflow - create, test, validate, sign, and publish tools

Readme

Enact MCP Dev Server

A specialized MCP server for Enact tool development workflow. This server provides AI models with comprehensive tools for creating, testing, validating, signing, and publishing Enact tools.

Features

Complete Development Workflow

  1. 📝 init-tool - Create new Enact tools with templates
  2. 🔍 validate-tool - Validate tool definitions with comprehensive checks
  3. 🧪 test-tool - Test tools with inputs and examples
  4. ✍️ sign-tool - Add cryptographic signatures
  5. 🚀 publish-tool - Publish tools to the registry
  6. 📊 dev-status - Overview of development workflow status

Tool Templates

  • Minimal - Basic 3-field tool definition
  • Basic - Standard tool with timeout, tags, and license
  • Advanced - Full-featured with input/output schemas and annotations
  • Containerized - Docker-based tool with container isolation

Validation Features

  • Required field validation
  • YAML syntax checking
  • Security pattern detection
  • Best practice recommendations
  • SPDX license validation
  • Semantic versioning checks
  • Dependency analysis

Testing Capabilities

  • Manual input testing
  • Predefined example execution
  • Dry run mode
  • Verbose output options
  • Test result summaries
  • Expected vs actual output comparison

Usage

Starting the Server

cd packages/mcp-dev-server
npm run dev

Available Tools

1. Initialize New Tool

// Create a basic tool
{
  "name": "init-tool",
  "arguments": {
    "name": "my-org/text/processor",
    "description": "Processes text files",
    "command": "cat ${file} | wc -l",
    "template": "basic"
  }
}

2. Validate Tool

// Validate with strict checking
{
  "name": "validate-tool", 
  "arguments": {
    "toolPath": "./my-tool.yaml",
    "strict": true,
    "checkDependencies": true
  }
}

3. Test Tool

// Test with custom inputs
{
  "name": "test-tool",
  "arguments": {
    "toolPath": "./my-tool.yaml",
    "inputs": { "message": "Hello World" },
    "verbose": true
  }
}

4. Sign Tool

// Add signature
{
  "name": "sign-tool",
  "arguments": {
    "toolPath": "./my-tool.yaml",
    "signerName": "[email protected]",
    "role": "author"
  }
}

5. Publish Tool

// Publish to registry
{
  "name": "publish-tool",
  "arguments": {
    "toolPath": "./my-tool.yaml",
    "dryRun": false,
    "validateFirst": true
  }
}

6. Development Status

// Check workflow status
{
  "name": "dev-status",
  "arguments": {
    "directory": "./tools",
    "detailed": true
  }
}

Tool Templates

Minimal Template

  • 3 required fields only
  • Quick prototyping
  • Basic functionality

Basic Template

  • Standard production tool
  • Includes timeout, tags, license
  • Good for most use cases

Advanced Template

  • Input/output schemas
  • Behavior annotations
  • Examples for testing
  • Production-ready

Containerized Template

  • Docker-based execution
  • Environment isolation
  • Reproducible builds
  • Enterprise-ready

Validation Checks

Required Fields

  • name - Tool identifier
  • description - Human-readable description
  • command - Execution command

Recommended Fields

  • version - Semantic version
  • license - SPDX license identifier
  • tags - Categorization tags
  • timeout - Execution timeout

Security Checks

  • Dangerous command detection
  • Version pinning recommendations
  • Container image suggestions
  • Environment variable validation

Best Practices

  • Hierarchical naming (org/category/tool)
  • Semantic versioning
  • SPDX license format
  • Input/output schemas
  • Behavior annotations

Development Workflow

📝 init-tool
    ↓
🔍 validate-tool
    ↓
🧪 test-tool
    ↓
✍️ sign-tool (optional)
    ↓
🚀 publish-tool

Integration

This server is designed to work alongside the main Enact MCP server:

  • Main Server - Tool execution, search, environment management
  • Dev Server - Tool creation, validation, testing, publishing

Both servers can run simultaneously, providing complementary functionality for AI models working with Enact tools.

Examples

Creating a Text Counter Tool

// 1. Initialize
{
  "name": "init-tool",
  "arguments": {
    "name": "demo/text/counter",
    "description": "Counts words, lines, and characters in text",
    "template": "advanced"
  }
}

// 2. Validate
{
  "name": "validate-tool",
  "arguments": {
    "toolPath": "./demo-text-counter.yaml",
    "strict": true
  }
}

// 3. Test
{
  "name": "test-tool", 
  "arguments": {
    "toolPath": "./demo-text-counter.yaml",
    "inputs": { "text": "Hello world" },
    "useExamples": true
  }
}

// 4. Sign and Publish
{
  "name": "sign-tool",
  "arguments": {
    "toolPath": "./demo-text-counter.yaml",
    "role": "author"
  }
}

{
  "name": "publish-tool",
  "arguments": {
    "toolPath": "./demo-text-counter.yaml"
  }
}

Configuration

Environment variables:

  • ENACT_API_URL - Registry API endpoint
  • ENACT_AUTH_TOKEN - Authentication token
  • ENACT_EXECUTION_PROVIDER - Execution provider (dagger/direct)

Dependencies

  • @modelcontextprotocol/sdk - MCP protocol implementation
  • @enactprotocol/shared - Enact core functionality
  • yaml - YAML parsing and generation
  • fs-extra - File system utilities
  • zod - Schema validation

License

MIT License - see LICENSE file for details.