Navigation
Wordware-MCP: Enterprise-Grade Security & Scalability for Teams - MCP Implementation

Wordware-MCP: Enterprise-Grade Security & Scalability for Teams

wordware-mcp: Run Wordware apps locally with enterprise-grade MCP server power – secure, scalable, and fully tailored for your team’s workflow magic." )

Developer Tools
4.1(100 reviews)
150 saves
70 comments

This tool saved users approximately 9452 hours last month!

About Wordware-MCP

What is Wordware-MCP: Enterprise-Grade Security & Scalability for Teams?

Wordware-MCP is a server solution enabling teams to run Wordware applications locally with enterprise-level security and scalability. It integrates Wordware's advanced AI workflows into development environments, allowing seamless testing and deployment while maintaining control over sensitive data. Designed for collaborative teams, it ensures secure access to AI capabilities without compromising performance or compliance requirements.

Key Features of Wordware-MCP: Enterprise-Grade Security & Scalability for Teams?

  • Automatic Configuration: Eliminates manual APP_ID setup through intelligent tool discovery and streamlined CLI prompts.
  • Secure API Management: Supports direct API key specification via command-line or .env files, ensuring sensitive data remains protected.
  • Enhanced CLI: Offers robust command-line arguments for port customization, error tracking, and verbose logging to simplify troubleshooting.
  • Scalable Deployment: Works seamlessly with production environments while supporting hot reloading for rapid prototyping.
  • Third-Party Integration: Enables direct compatibility with tools like Claude Desktop through standardized configuration protocols.

Wordware-MCP Features

How to Use Wordware-MCP: Enterprise-Grade Security & Scalability for Teams?

Installation & Setup

Begin with the interactive installer:

npx wordware-mcp

Follow prompts to input your API key and configure optional settings. For permanent use, install globally:

npm install -g wordware-mcp

Running the Server

Start the server with:

wordware-mcp start

Specify parameters directly or via .env files:

WORDWARE_API_KEY=your-key PORT=3000

Use Cases of Wordware-MCP: Enterprise-Grade Security & Scalability for Teams?

  • Local Development: Test AI workflows in isolation before production deployment, ensuring code stability.
  • Team Collaboration: Share secure access to core AI tools while maintaining centralized configuration control.
  • Third-Party Integration: Connect to platforms like Claude Desktop using standardized server configurations.
  • Hot-Reload Prototyping: Iterate rapidly on AI-driven applications without redeployment delays.

Wordware-MCP FAQ

FAQ from Wordware-MCP: Enterprise-Grade Security & Scalability for Teams?

Q: Why is my API key not being recognized?

A: Ensure the .env file exists in your project root or pass keys explicitly via command-line arguments.

Q: Can I use a custom port?

A: Yes, specify with --port or set PORT in environment variables.

Q: How do I troubleshoot connection issues?

A: Check server status with lsof -i :3000, then restart with --verbose for detailed logs.

Content

wordware-mcp

The Wordware MCP (Master Control Program) server allows you to run your Wordware apps locally. This enables you to integrate Wordware's powerful AI flows directly into your local development environment, making it easier to test and develop applications that leverage Wordware's capabilities.

What's New in Version 1.1.5

  • Updated to work with the new local API endpoint (http://localhost:9000/{WORDWARE_API_TOKEN})
  • No need to specify APP_IDs anymore - tools are discovered automatically
  • Interactive installation process with npx wordware-mcp
  • Automatic Claude configuration setup
  • Enhanced CLI interface with command-line argument support
  • Direct specification of API key via parameters
  • Improved error handling and logging
  • Global installation support with simple command syntax

Installation

The easiest way to get started is using the interactive installation process with npx:

npx wordware-mcp

This will guide you through:

  1. Entering your Wordware API key
  2. Setting up Claude configuration (optional)

The npx command will:

  • Prompt you for configuration details if not provided
  • Create necessary configuration files
  • Set up your local environment to run Wordware apps

After running the npx command, you can start the MCP server with:

npx wordware-mcp

Permanent Installation

If you prefer to install the package permanently:

# Install globally from npm registry
npm install -g wordware-mcp

# Or install locally in your project
npm install wordware-mcp

# Or clone this repository and install globally
git clone https://github.com/yuhuangou/wordware-mcp.git
cd wordware-mcp
npm run install-global

Prerequisites

Before using this package, you need:

  1. A Wordware account (sign up at wordware.ai)
  2. A Wordware API key
  3. At least one deployed Wordware app

Basic Usage

Using npx directly (no installation required)

You can run wordware-mcp using npx without installing it first:

# Interactive mode - will prompt for required information
npx wordware-mcp

# Or with command line parameters
npx wordware-mcp --api-key your-api-key --port 3000

# Start MCP server after configuration
npx wordware-mcp start

As a global command

If installed globally, you can run in one of two ways:

# Option 1: Create an .env file in your current directory first (see Configuration section)
wordware-mcp

# Option 2: Pass parameters directly via command line
wordware-mcp --api-key your-api-key --port 3000

Command Line Options

Options:
  --api-key, -k <key>      Wordware API key (required unless in .env file)
  --port, -p <port>        Port to run the server on (default: 3000)
  --help, -h               Show this help message

As a package in your project

// In your script
import { startMCP } from "wordware-mcp";

// Start the MCP server
startMCP();

Configuration

You can configure the MCP server in two ways:

1. Environment Variables or .env File

Create a .env file with the following variables:

WORDWARE_API_KEY=your-api-key
PORT=3000

2. Command Line Arguments

Pass the configuration directly when running the command:

wordware-mcp -k your-api-key -p 3000

Creating Your Wordware Setup

Create an account

To start, you'll need a Wordware account. Head to wordware.ai, sign in and create an account

Create an API key

For your wordware flows to be accessible via MCP, you'll need to create an API key. For that, click on your profile picture in the top right corner > API keys > Create a new key > Copy your key

Create an app

Now it's time to get creative. Create a wordware app for whatever you want to achieve, or feel free to fork an app from the explore page (https://app.wordware.ai/explore).

Deploy your app

For your app to be triggered as MCP, you'll need to deploy it. To do that, head to your app. You should see a "Deploy" button in the top right corner. Then head to the deployment page.

Get the app_id

On the deployment page, you'll see your deployment url: https://app.wordware.ai/explore/apps/{app_id}. Get your app_id from there

Using with Claude Desktop

To use this MCP server with Claude Desktop:

  1. Make sure Claude for Desktop is installed

  2. Modify the Claude desktop config file located at: ~/Library/Application\ Support/Claude/claude_desktop_config.json

  3. Add the following to the file:

{
  "mcpServers": {
    "wordware": {
      "command": "wordware-mcp"
    }
  }
}

Complete Example Workflow

Here's a complete workflow example to get up and running quickly:

1. Configure and Start Wordware MCP

# Run the interactive setup
npx wordware-mcp

# Follow the prompts to:
# - Enter your Wordware API key
# - Configure Claude integration (if desired)

# Once configured, start the server
npx wordware-mcp start

2. Integrate with Your Application

After starting the MCP server, your Wordware apps will be accessible at:

http://localhost:3000/api/run/{app_id}

You can trigger your Wordware flows via HTTP requests:

// Example: Calling your Wordware app from JavaScript
async function callWordwareApp() {
  const response = await fetch("http://localhost:3000/api/run/your-app-id", {
    method: "POST",
    headers: {
      "Content-Type": "application/json",
    },
    body: JSON.stringify({
      // Your input data here
      prompt: "Your prompt to the AI model",
      // Any other parameters your Wordware app expects
    }),
  });

  const result = await response.json();
  console.log(result);
}

3. Developing with Hot Reloading

During development, any changes you make to your Wordware apps will be immediately available - just refresh your app or make a new API call.

Development

If you want to contribute to this package:

# Clone the repository
git clone https://github.com/yuhuangou/wordware-mcp.git
cd wordware-mcp

# Install dependencies
npm install

# Build the package
npm run build

# Run in development mode
npm run dev

License

MIT

Troubleshooting

Common Issues with npx

  1. "Command not found" after installation

If you see command not found after installing with npx:

    # Make sure the package is installed globally
npm install -g wordware-mcp

# Check your npm global path is in your PATH
npm config get prefix
# Add the resulting path + /bin to your PATH if needed
  1. Configuration issues

If your configuration isn't being detected:

    # Check if .env file exists in current directory
ls -la .env

# Manually run with parameters to bypass .env
npx wordware-mcp --api-key your-api-key
  1. Connection refused errors

If you see connection errors when trying to use your apps:

    # Check if server is running
lsof -i :3000

# Restart server with verbose logging
npx wordware-mcp start --verbose
  1. Permissions issues

If you encounter permissions errors with npx:

    # Run with sudo (not recommended as permanent solution)
sudo npx wordware-mcp

# Fix npm permissions
chown -R $(whoami) $(npm config get prefix)/{lib/node_modules,bin,share}

For more assistance, please file an issue on our GitHub repository.

Environment Variables

The following environment variables can be set in the .env file:

  • PORT - The port to run the server on (default: 3000)
  • WORDWARE_API_KEY - Your Wordware API key

Related MCP Servers & Clients