Debug Mode

Enable verbose logging with the --debug flag:
npx @trysiren/mcp --tools=all --api-key=YOUR_API_KEY --debug

Using MCP Inspector

The MCP Inspector provides a visual interface for debugging your MCP server.
1

First, build the server:

npm run build
2

Run with the MCP Inspector:

# Start MCP Inspector and server with all tools
npx @modelcontextprotocol/inspector node dist/index.js --tools=all --api-key=YOUR_SIREN_API_KEY
3

Open the inspector in your browser at `http://localhost:6274`

Docker Debugging

For Docker-based debugging:
1

Build the Docker image:

docker build -t trysiren/mcp .
2

Run with MCP Inspector:

docker run -p 3000:3000 -p 5173:5173 -v /var/run/docker.sock:/var/run/docker.sock \
mcp/inspector docker run --rm -i trysiren/mcp --tools=all --api-key=YOUR_SIREN_API_KEY

Health Check

  • Verify your configuration with a simple health check:
    npx @trysiren/mcp --tools=messaging.send --api-key=YOUR_SIREN_API_KEY
    
  • If the server starts successfully, you’ll see:
     Siren MCP Server running on stdio
    
  • You can also check the version:
    npx @trysiren/mcp --version
    

Troubleshooting

Some of the common issues and solutions are stated below.

Examples

Basic Messaging

# Configure for basic messaging
npx @siren/mcp --tools=messaging.send,messaging.getStatus --api-key=YOUR_API_KEY

Template Management

# Configure for template operations
npx @siren/mcp --tools=templates.list,templates.create,templates.update --api-key=YOUR_API_KEY

Workflow Automation

# Configure for workflow automation
npx @siren/mcp --tools=workflows.trigger,workflows.schedule --api-key=YOUR_API_KEY

Full Access

# Configure all available tools
npx @siren/mcp --tools=all --api-key=YOUR_API_KEY