MCP ExplorerExplorer

Wiz Mcp

@ddrscotton 21 days ago
1 MIT
FreeCommunity
AI Systems
Wiz MCP is a command-line tool for connecting to N8N MCP servers using smolagents and LiteLLM.

Overview

What is Wiz Mcp

Wiz MCP is a command-line tool designed to connect to N8N MCP servers using smolagents and LiteLLM, allowing users to interact with their email and other services through natural language commands.

Use cases

Use cases for Wiz MCP include analyzing recent emails, organizing inboxes, drafting email responses, and retrieving unread emails from connected services.

How to use

To use Wiz MCP, run the command with the appropriate options in the terminal. Basic usage requires the N8N API key and the desired message. You can customize the LLM model, URL, and other parameters as needed.

Key features

Key features include support for custom LLM models, the ability to specify custom LLM URLs and N8N SSE URLs, and adjustable parameters such as temperature for model responses.

Where to use

Wiz MCP can be used in various fields such as email management, automation tasks, and any application requiring interaction with N8N MCP servers for processing natural language commands.

Content

Wiz MCP

A command-line tool that connects to N8N MCP servers using smolagents and LiteLLM.

Usage

Basic Usage

uv run main.py --n8n-api-key YOUR_API_KEY "Your message here"

With Custom LLM Model

uv run main.py \
  --llm-model "ollama/llama3:latest" \
  --n8n-api-key YOUR_API_KEY \
  "Analyze my recent emails"

With Custom LLM URL

uv run main.py \
  --llm-url "http://localhost:8080" \
  --llm-model "gpt-4o-mini" \
  --n8n-api-key YOUR_API_KEY \
  "Help me organize my inbox"

With Custom N8N SSE URL

uv run main.py \
  --n8n-sse-url "https://your-n8n.domain.com/mcp/gmail-v2/sse" \
  --n8n-api-key YOUR_API_KEY \
  "What are my unread emails?"

Full Configuration

uv run main.py \
  --llm-model "ollama/gemma3:latest" \
  --llm-url "http://localhost:11434" \
  --n8n-sse-url "https://n8n.example.com/mcp/gmail-v2/sse" \
  --n8n-api-key YOUR_API_KEY \
  --temperature 0.2 \
  "Draft a response to my latest email from John"

Options

  • --llm-model, -m: The model to use for the agent (default: ollama/gemma3:latest)
  • --llm-url, -u: The base URL for the LLM API (default: http://localhost:11434)
  • --n8n-sse-url, -s: The SSE URL for the MCP server (default: https://n8n.example.com/mcp/gmail-v2/sse)
  • --n8n-api-key, -k: The API key for N8N (required)
  • --temperature, -t: The temperature for the LLM model (default: 0.1)

Environment Variables

You can also set the N8N API key as an environment variable:

export N8N_API_KEY="your-api-key-here"
uv run main.py --n8n-api-key "$N8N_API_KEY" "Your message"

Tools

No tools

Comments