nornweave
An open-source, self-hosted API that turns standard email providers (Mailgun, SES, SendGrid) into "Inbox-as-a-Service" for AI Agents.
claude mcp add --transport stdio datacovey-nornweave nornweave mcp \ --env NORNWEAVE_API_URL="http://localhost:8000"
How to use
NornWeave exposes an MCP server that lets AI agents connect directly to your inbox platform. The MCP interface provides a small set of tools that agents can invoke to manage inboxes and messages: creating new inbox addresses, sending emails (with automatic Markdown-to-HTML conversion), searching for relevant messages, and waiting for replies. To enable MCP access, run the CLI command nornweave mcp with the environment variable NORNWEAVE_API_URL pointing to the running API server (for example http://localhost:8000). Once the MCP server is up, you can configure your MCP client (such as Claude or Cursor) to point at the provided tool set and begin issuing the available tool calls.
The available tools include:
- create_inbox: Provisions a new virtual inbox address for an agent. Use it to allocate an inbox that the agent can operate on.
- send_email: Sends an email through your configured provider. The tool accepts content and automatically converts Markdown to HTML as needed.
- search_email: Finds messages within an inbox using search criteria to help agents locate relevant context.
- wait_for_reply: Blocks until a reply arrives to a thread (experimental, useful for agent workflows).
Configure the MCP client by pointing it at the nornweave MCP server and ensuring the API URL is reachable. The example configuration in the repository shows an MCP server named nornweave with command nornweave and argument mcp, along with the NORNWEAVE_API_URL environment variable. After configuration, agents can invoke the tools to manage inboxes and drive conversations end-to-end.
How to install
Prerequisites:
- Python 3.9+ (recommended) and a working Python environment
- Git installed on your system
- Network access to install Python packages from PyPI
Step-by-step installation:
- Install Python and Git if not already present.
- Create and activate a virtual environment (optional but recommended):
- python -m venv venv
- source venv/bin/activate (Linux/macOS) or venv\Scripts\activate (Windows)
- Install the NornWeave package with MCP support:
- pip install nornweave[mcp]
- Start the MCP server via the CLI:
- nornweave mcp
- Ensure API is reachable
- By default, the API runs at http://localhost:8000. If you use a different host/port, set NORNWEAVE_API_URL accordingly in your environment when running the MCP server.
- (Optional) Run with Docker or other deployment methods if needed (see project docs for docker-compose setup and migrations).
Notes:
- If you are using a real email provider, you will need to configure a .env file with provider credentials and domain before starting the API.
- The MCP server relies on the main API being accessible at the URL configured via NORNWEAVE_API_URL.
Additional notes
Tips and caveats:
- Ensure NORNWEAVE_API_URL is reachable from the environment where the MCP server is running.
- For production, consider using a proper database (PostgreSQL) and run migrations as needed; SQLite is the default for local development.
- When using the MCP tools, remember that create_inbox and send_email will require proper provider configuration in the API (.env or environment variables).
- If you encounter connectivity or authentication issues with MCP clients, verify that the MCP endpoint is exposed and that the API URL in the MCP config matches the running API server.
- The wait_for_reply tool is experimental; use it in non-critical agent workflows until stable.
- Review the MCP integration docs in the repository for more advanced configurations and security considerations.
Related MCP Servers
PPTAgent
An Agentic Framework for Reflective PowerPoint Generation
web-agent-protocol
🌐Web Agent Protocol (WAP) - Record and replay user interactions in the browser with MCP support
AgentChat
AgentChat 是一个基于 LLM 的智能体交流平台,内置默认 Agent 并支持用户自定义 Agent。通过多轮对话和任务协作,Agent 可以理解并协助完成复杂任务。项目集成 LangChain、Function Call、MCP 协议、RAG、Memory、Milvus 和 ElasticSearch 等技术,实现高效的知识检索与工具调用,使用 FastAPI 构建高性能后端服务。
python -client
支持查询主流agent框架技术文档的MCP server(支持stdio和sse两种传输协议), 支持 langchain、llama-index、autogen、agno、openai-agents-sdk、mcp-doc、camel-ai 和 crew-ai
ultimate_mcp_server
Comprehensive MCP server exposing dozens of capabilities to AI agents: multi-provider LLM delegation, browser automation, document processing, vector ops, and cognitive memory systems
awsome_kali_MCPServers
awsome kali MCPServers is a set of MCP servers tailored for Kali Linux