veil-mcp

veil-mcp

A Python framework for building MCP servers with tools and LLM adapters. Enables developers to create custom tools for Claude Desktop/Cursor and integrate with various LLM providers including Anthropic, OpenAI, Groq, and Ollama.

Category
Visit Server

README

veil-mcp v2

The best way to build MCP servers in Python.

pip install veil-mcp

Quick start — MCP server (Claude Desktop / Cursor)

from veil_mcp import tool, MCPServer

@tool()
def turn_off_light():
    """Turn off the room light."""
    return "Light is off."

@tool(tags=["hardware"], timeout=5.0)
def toggle_relay(relay: int, state: bool) -> str:
    """Toggle a relay on or off.

    Args:
        relay (int): Relay number 1-4.
        state (bool): True for ON, False for OFF.
    """
    return f"Relay {relay} is {'ON' if state else 'OFF'}."

MCPServer(name="my-agent").run()          # stdio — for Claude Desktop / Cursor
MCPServer(name="my-agent").run_http()     # HTTP+SSE on port 8000

Quick start — LLM adapter

from veil_mcp import tool, LLMAdapter

@tool()
def get_time() -> str:
    """Get the current time."""
    from datetime import datetime
    return datetime.now().strftime("%I:%M %p")

adapter  = LLMAdapter(provider="anthropic")  # or openai, groq, ollama, mock
response = adapter.run("what time is it")
print(response.final_message)

Install

pip install "veil-mcp[anthropic]"   # Claude
pip install "veil-mcp[openai]"      # GPT / Groq / Ollama
pip install "veil-mcp[all]"         # everything

CLI

veil-mcp list                        # list all tools
veil-mcp schema --fmt mcp            # dump MCP schemas
veil-mcp inspect TOOL_NAME           # inspect a tool
veil-mcp call TOOL_NAME '{"key":"v"}'# call a tool directly
veil-mcp run server.py               # run as stdio MCP server
veil-mcp serve server.py --port 8000 # run as HTTP server

Connect to Claude Desktop

Add to claude_desktop_config.json:

{
  "mcpServers": {
    "my-agent": {
      "command": "python",
      "args": ["path/to/server.py"]
    }
  }
}

Providers

Provider Install Key
Anthropic pip install anthropic ANTHROPIC_API_KEY
OpenAI pip install openai OPENAI_API_KEY
Groq pip install openai GROQ_API_KEY
Ollama pip install openai none (local)
Mock none none

Made by Shivank for Hack Club Veil · 2026

Recommended Servers

playwright-mcp

playwright-mcp

A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.

Official
Featured
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.

Official
Featured
Local
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.

Official
Featured
Local
TypeScript
VeyraX MCP

VeyraX MCP

Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.

Official
Featured
Local
graphlit-mcp-server

graphlit-mcp-server

The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.

Official
Featured
TypeScript
Kagi MCP Server

Kagi MCP Server

An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.

Official
Featured
Python
E2B

E2B

Using MCP to run code via e2b.

Official
Featured
Neon Database

Neon Database

MCP server for interacting with Neon Management API and databases

Official
Featured
Exa Search

Exa Search

A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.

Official
Featured
Qdrant Server

Qdrant Server

This repository is an example of how to create a MCP server for Qdrant, a vector search engine.

Official
Featured