Automagik Tools 标志

Automagik Tools

组织
namastexlabs

From API to AI in 30 Seconds - Transform any API into an intelligent MCP agent that learns, adapts, and speaks human

发布者namastexlabs
代码仓库automagik-tools
语言Python
复刻数
7
星标数
15
可用工具
0
传输类型stdio
分类
许可协议Apache-2.0
链接
  • 将工具接入 AI 工作流

    Automagik Tools 提供 MCP 功能,可供兼容的 AI 客户端和智能体使用。

  • 0 个可用工具

    浏览下方可调用的操作;如果服务器提供了名称和描述,也会一并显示。

  • 可直接复制的配置

    使用安装配置片段,在您首选的 MCP 客户端中配置此服务器。

  • 开源社区热度

    关联的代码仓库有 15 个星标和 7 个复刻。


🚀 What is Automagik Tools?

Automagik Tools is the MCP (Model Context Protocol) toolkit that transforms any API into an intelligent agent in seconds. Think of it as the universal translator between your systems and AI—no coding required, just point to your API and start talking to it in natural language.

🎭 The API Integration Problem

The Old Way: Want your AI to talk to Stripe? Write 500 lines of integration code. Update the API? Rewrite everything. Need another API? Start from scratch. Hours turn into weeks, developers cry, budgets explode.

The Automagik Way:

bash
# One command. 30 seconds. Done.
uvx automagik-tools openapi https://api.stripe.com/openapi.json

Now your AI can process payments, manage subscriptions, and handle refunds—all in natural language.

🚫 Why Traditional Integration Fails

The integration nightmare is real:

  • Weeks of Development: Each API needs custom code (2-4 weeks average)
  • No Standardization: Every team reinvents the wheel
  • Maintenance Hell: APIs change, everything breaks
  • Zero Reusability: Can't share work across projects
  • Complex Deployment: Getting it to production is a full-time job

✅ The Automagik Tools Solution

We flip the script completely:

  • ⚡ 30 Seconds to Integration: Point to OpenAPI spec, done
  • 🧠 Self-Learning Agents: Remember your patterns, adapt to your workflow
  • 🔄 Universal Protocol: One standard (MCP) for all integrations
  • 🎯 Zero Code: No SDKs, no wrappers, just conversation
  • 📦 Instant Deployment: uvx = installed and running
  • 🔌 Plug & Play: Works with Claude, Cursor, any MCP client
  • 💰 99% Cost Reduction: R$ 45k → R$ 100 per integration

🌟 Key Features

  • 🔧 Instant MCP Generation: Any OpenAPI spec becomes an intelligent agent in seconds

  • 🧠 Self-Learning Intelligence: Agents remember your patterns and improve with use

  • 📋 Markdown Processing: GPT-4.1-nano cleans noisy JSON into readable output

  • 🧞 Genie Orchestrator: Connect and coordinate unlimited MCP servers with persistent memory

  • 🤖 Automagik Integration: Native orchestration with Spark, Hive, Forge, and Omni

  • 🔄 Multiple Transports: stdio for local, SSE for team sharing, HTTP for APIs

  • 📱 WhatsApp Automation: Complete Evolution API integration built-in

  • 🎨 Three Intelligence Modes: Standard (precise), Markdown (readable), Genie (natural language)

  • 🚀 Zero Installation: Run with uvx - no global install needed

  • 🔌 Universal Compatibility: Works with Claude Code, Cursor, Cline, Roo, Gemini CLI

  • 📦 Centralized Toolkit: All your tools in one hub, versioned and standardized

  • 🏗️ Plugin Architecture: Drop tools in a folder, auto-discovered instantly

  • 100% Open Source: MIT license, self-hostable, no vendor lock-in

  • 100% Open Source: MIT license, self-hostable, no vendor lock-in


🌐 Multi-Tenant Hub (New!)

The Hub now supports multi-tenant architecture where each user gets their own isolated tool collection with OAuth authentication.

Features

  • Per-User Tool Management: Each user can add/remove/configure tools independently
  • AuthKit Authentication: WorkOS integration for secure user management
  • Dynamic Tool Loading: Tools are loaded on-demand per user
  • HTTP Transport: Production-ready HTTP server
  • Encrypted Storage: OAuth tokens encrypted at rest

Quick Start

  1. Configure Environment:

    bash
    cp .env.example .env
    # Edit .env with your WorkOS credentials
  2. Run Database Migrations:

    bash
    uv run alembic upgrade head
  3. Start Hub Server:

    bash
    uv run automagik-tools hub --port 8000
  4. Connect with MCP Client: Configure your MCP client (Claude Desktop, etc.) to connect to http://localhost:8000

User Workflow

Once authenticated, users can manage their tools via assistant:

User: "I need to send WhatsApp messages. Can you set up Evolution API?"
Assistant: "I can help with that. I'll add the Evolution API tool to your collection."

🧞 Genie: Your Universal AI Conductor

Genie is the crown jewel—a meta-agent that orchestrates any MCP servers with persistent memory.

What Makes Genie Special?

bash
# Start Genie with memory
uvx automagik-tools tool genie -t sse --port 8000

Connect Any MCP Servers:

bash
export GENIE_MCP_CONFIGS='{
  "agent-memory": {
    "url": "http://localhost:8001/sse",
    "transport": "sse"
  },
  "filesystem": {
    "command": "npx",
    "args": ["-y", "@modelcontextprotocol/server-filesystem", "/workspace"],
    "env": {}
  },
  "github": {
    "command": "uvx",
    "args": ["mcp-server-git"],
    "env": {"GITHUB_TOKEN": "your-token"}
  }
}'

Now Tell Genie in Natural Language:

  • "Use memory to track my GitHub preferences, then analyze my repos and create weekly summaries"
  • "Coordinate between Slack and Linear to set up daily standups for the design team"
  • "Monitor competitor pricing with the trading API and remember my risk preferences"

Genie learns your patterns—after a few interactions, it knows exactly how you like data formatted, which metrics matter, and when to alert you.


📸 Real-World Magic

Stripe Payments in 30 Seconds

bash
uvx automagik-tools openapi https://raw.githubusercontent.com/stripe/openapi/master/openapi/spec3.json

# Now just talk to it:
# "Process a $100 payment for customer cus_123"
# "Show me failed payments from last week"
# "Create a subscription for Pro plan"

Discord Bot Without Code

bash
uvx automagik-tools openapi \
  https://raw.githubusercontent.com/discord/discord-api-spec/main/specs/openapi.json \
  -t sse --port 8001

# Natural language commands:
# "Schedule a voice call for 3pm in the dev channel"
# "Find all threads mentioning the new feature"
# "Show unread messages from the design team"

Your Internal API, AI-Ready

bash
# Your company's API becomes conversational
uvx automagik-tools openapi https://api.yourcompany.com/openapi.json

# Team shares the same learning agent via SSE
# Agent adapts to company terminology and workflows

📡 MCP: Remote Control from Anywhere

Automagik Tools works with any MCP-compatible client—Claude Code, Cursor, Cline, Roo, Gemini CLI—you name it.

Typical Workflow

  1. Point to API: Give AutoMagik any OpenAPI spec
  2. Deploy Agent: Choose stdio (local) or SSE (team sharing)
  3. Connect Client: Add to Claude/Cursor/your favorite tool
  4. Start Talking: Natural language, the agent figures it out
  5. Agent Learns: Remembers your patterns, gets smarter

Example Use Cases

  • 🎯 "Connect to our warehouse API and alert me when inventory drops below thresholds"
  • 🐛 "Monitor production logs and categorize errors automatically"
  • ✅ "Generate weekly sales reports and send to regional managers"
  • 📋 "Track competitor prices and notify me of changes above 5%"

Available MCP Tools

ToolDescriptionUse Case
genieUniversal MCP orchestratorCoordinate multiple tools with memory
automagikAutomagik Suite integrationOrchestrate Spark, Hive, Forge, Omni
automagik-workflowsClaude workflow executionRun and monitor Claude Code workflows
evolution-apiWhatsApp automationSend/receive messages, media, groups
openapiDynamic API agentAny OpenAPI spec → instant agent

Quick Setup

  1. Open Claude Code settings
  2. Navigate to MCP Servers section
  3. Add configuration:
json
{
  "mcpServers": {
    "automagik-tools": {
      "command": "uvx",
      "args": [
        "automagik-tools@latest",
        "serve",
        "--tool",
        "genie",
        "--transport",
        "stdio"
      ],
      "env": {
        "OPENAI_API_KEY": "your-openai-key",
        "GENIE_MCP_CONFIGS": "{\"your-mcp-config-here\":{}}"
      }
    }
  }
}
  1. Open Cursor Settings (Cmd/Ctrl + ,)
  2. Search for "MCP"
  3. Add to ~/.cursor/mcp.json:
json
{
  "mcpServers": {
    "automagik-tools": {
      "command": "uvx",
      "args": [
        "automagik-tools@latest",
        "serve",
        "--tool",
        "automagik",
        "--transport",
        "stdio"
      ],
      "env": {
        "AUTOMAGIK_API_KEY": "your-key",
        "AUTOMAGIK_BASE_URL": "http://localhost:8881"
      }
    }
  }
}
  1. Install Cline from VSCode marketplace
  2. Open Cline settings
  3. Add MCP server:
json
{
  "cline.mcpServers": [
    {
      "name": "automagik-tools",
      "command": "uvx",
      "args": [
        "automagik-tools@latest",
        "serve",
        "--openapi-url",
        "https://api.example.com/openapi.json",
        "--transport",
        "stdio"
      ]
    }
  ]
}
  1. Open Roo Code preferences
  2. Navigate to Extensions → MCP
  3. Add server:
yaml
servers:
  automagik-tools:
    command: uvx
    args:
      - automagik-tools@latest
      - serve
      - --tool
      - genie
      - --transport
      - stdio
    environment:
      OPENAI_API_KEY: your-key
  1. Edit ~/.gemini/config.json
  2. Add MCP server:
json
{
  "mcp": {
    "servers": {
      "automagik-tools": {
        "type": "stdio",
        "command": "uvx",
        "args": [
          "automagik-tools@latest",
          "serve",
          "--tool",
          "automagik",
          "--transport",
          "stdio"
        ]
      }
    }
  }
}

For any MCP-compatible tool:

json
{
  "command": "uvx",
  "args": [
    "automagik-tools@latest",
    "serve",
    "--openapi-url",
    "YOUR_API_OPENAPI_URL",
    "--transport",
    "stdio"
  ],
  "env": {
    "OPENAI_API_KEY": "your-key",
    "API_CUSTOM_ENV": "your-value"
  }
}

🎭 From Chaos to Intelligence

The Evolution of API Integration

Example: E-commerce Automation

bash
You: "Set up my Shopify store as an AI agent"

Your Process:
1. Get OpenAPI spec URL
2. Run: uvx automagik-tools openapi https://shopify.dev/.../openapi.json
3. Done! Now talk to your store:
   - "Show me orders from last week with revenue > $500"
   - "Which products have low inventory?"
   - "Create a discount code for returning customers"

Agent learns your patterns:
- Remembers your preferred date formats
- Knows which metrics you care about
- Adapts responses to your style

📦 Quick Start

Prerequisites

  • Python 3.12+ (that's it!)
  • OpenAI API key (for intelligence features)
  • Your API's OpenAPI specification

Installation

Option 1: No Installation (Recommended)

bash
# Use uvx - run directly without installing
uvx automagik-tools list

Option 2: Global Install

bash
pip install automagik-tools

Option 3: Development

bash
git clone https://github.com/namastexlabs/automagik-tools
cd automagik-tools
make install

First Run

bash
# List all available tools
uvx automagik-tools list

# Run Genie orchestrator
uvx automagik-tools tool genie --transport stdio

# Convert any API to agent
uvx automagik-tools openapi https://api.github.com/openapi.json

# Run with team sharing (SSE)
uvx automagik-tools tool automagik --transport sse --port 8000

Environment Setup

Create .env file:

bash
# OpenAI for intelligence
OPENAI_API_KEY=sk-your-key

# Automagik Suite integration (optional)
AUTOMAGIK_API_KEY=your-key
AUTOMAGIK_BASE_URL=http://localhost:8881

# Enable Markdown processing (optional)
ENABLE_JSON_PROCESSING=true
JSON_PROCESSOR_MODEL=gpt-4.1-nano

MCP Client Configuration

For MCP clients like Claude Desktop, Cline, or Cursor:

  1. Copy the example configuration:

    bash
    cp .mcp.json.example ~/.mcp.json
  2. Configure your tools - Edit the file and add your API keys

  3. Restart your MCP client

📖 Complete MCP Configuration Guide - Detailed setup instructions for all tools


🛠️ Built-in Tools

🧞 Genie - Universal Orchestrator

Your AI conductor that coordinates any MCP servers with persistent memory.

bash
uvx automagik-tools tool genie -t sse --port 8000

Use Cases:

  • Coordinate multiple tools for complex workflows
  • Remember context across all sessions
  • Natural language task orchestration
  • Team-wide shared intelligence

🤖 Automagik - Suite Integration

Native integration with the Automagik ecosystem (Spark, Hive, Forge, Omni).

bash
uvx automagik-tools tool automagik -t stdio

Use Cases:

  • Spawn agent swarms with Hive
  • Schedule recurring tasks with Spark
  • Manage development workflows with Forge
  • Send WhatsApp notifications via Omni

🚀 Automagik Workflows - Claude Execution

Execute and monitor Claude Code workflows with real-time progress.

bash
uvx automagik-tools tool automagik-workflows -t stdio

Use Cases:

  • Run Claude workflows programmatically
  • Track execution progress visually
  • List available workflows
  • Monitor workflow status

📱 Evolution API - WhatsApp Automation

Complete WhatsApp Business automation via Evolution API.

bash
uvx automagik-tools tool evolution-api -t stdio

Use Cases:

  • Send/receive messages and media
  • Manage groups and contacts
  • Handle status updates
  • Automate customer support

🌐 OpenAPI - Dynamic Agents

Transform any OpenAPI spec into an instant intelligent agent.

bash
uvx automagik-tools openapi https://api.example.com/openapi.json

Use Cases:

  • Any REST API with OpenAPI/Swagger
  • Internal company APIs
  • Third-party services
  • Legacy system integration

🛠️ Development

Interested in contributing or building custom tools?

Creating Your Own Tool

bash
# 1. Create tool folder
mkdir -p automagik_tools/tools/my_tool

# 2. Implement FastMCP server
# See docs/TOOL_CREATION_GUIDE.md for templates

# 3. Register in pyproject.toml
[project.entry-points."automagik_tools.plugins"]
my_tool = "automagik_tools.tools.my_tool"

# 4. Done! Auto-discovered
uvx automagik-tools list

Development Commands

bash
make install              # Install with dev dependencies
make test                 # Run all tests
make lint                 # Check code quality
make format               # Auto-format code
make build                # Build package

See CONTRIBUTING.md for detailed guidelines.


🗺️ Roadmap

Completed ✅

  • Dynamic OpenAPI agent generation
  • Genie universal orchestrator
  • Multi-transport support (stdio, SSE, HTTP)
  • Self-learning with memory
  • Markdown output processing
  • Evolution API (WhatsApp)
  • Automagik Suite integration
  • Plugin architecture

Next Up 🚀 (Q4 2025 - Q1 2026)

  • Smart Tools v1: Specialized SLMs per tool for expert-level API knowledge
  • Web UI: Visual interface for managing and testing tools
  • Marketplace Beta: Community tool sharing platform
  • 5-Minute Creation: Reduce tool creation from 30min to 5min
  • Tool Templates: Pre-built templates for common API patterns

Future Vision 🌟 (2026-2027)

  • Auto-Learning: Tools improve themselves based on usage patterns
  • Auto-Discovery: Connect to APIs without OpenAPI specs
  • Self-Maintenance: Agents maintain their own code
  • Visual Builder: Drag-and-drop tool creation
  • Enterprise Cloud: Fully managed SaaS offering
  • Global Marketplace: Buy/sell community tools

🤝 Contributing

We love contributions! However, to maintain project coherence:

  1. Discuss First: Open an issue before starting work
  2. Align with Roadmap: Ensure changes fit our vision
  3. Follow Standards: Match existing code patterns
  4. Test Thoroughly: Include tests for new features
  5. Document Well: Update docs with your changes

See CONTRIBUTING.md for detailed guidelines.


🙏 Acknowledgments

Special thanks to:

  • Anthropic for creating MCP
  • FastMCP for the awesome framework
  • Our amazing community of early adopters and contributors
  • Every developer who's ever cursed at API documentation

📄 License

MIT License - see LICENSE file for details.


🔗 Links


安装

TypingMind
前提条件:

Node.js 18+

{
  "mcpServers": {
    "namastexlabs-automagik-tools": {
      "command": "npx",
      "args": [
        "-y",
        "automagik-tools"
      ]
    }
  }
}

将 Automagik Tools MCP 与多个 AI 模型配合使用

TypingMind 在工作区级别连接 MCP 工具,因此连接 Automagik Tools 后,您就可以在 TypingMind 中搭配不同的 AI 模型使用,无需为每个模型单独设置。 此 MCP 通过您设备上的 TypingMind MCP 连接器在本地运行。

本地连接器设置指南

如果 MCP 服务器需要访问您电脑上的本地文件、应用或私有资源,请选择此方式。

1

打开 MCP 设置

在 TypingMind 中,依次前往“设置”、“高级设置”和“模型上下文协议”,然后选择“设置连接器”。

  1. 在您的浏览器中打开 TypingMind。
  2. 点击“设置”图标。
  3. 进入“高级设置”。
  4. 打开“模型上下文协议”部分。
  5. 点击“设置连接器”,然后选择“此设备”。
TypingMind MCP 连接器设置界面,已选择“此设备”
2

运行连接器命令

选择“此设备”,从 TypingMind 复制命令并在终端中运行。使用 MCP 时,请保持该进程运行。

  1. 复制 TypingMind 显示的设置命令。
  2. 在 macOS 上打开“终端”,或在 Windows 上打开 Windows Terminal。
  3. 粘贴并运行命令。
  4. 如果终端询问您是否继续,请确认安装软件包。
  5. 使用 MCP 工具时,请勿关闭终端窗口或停止其中的连接器进程。
3

将 Automagik Tools 添加为服务器

当连接器状态为“就绪”时,点击“编辑服务器”,然后粘贴 MCP 服务器配置。

  1. 等待连接器状态显示为“就绪”。
  2. 点击“编辑服务器”。
  3. 粘贴 Automagik Tools MCP 服务器配置。
  4. 保存服务器列表。
  5. 如需确认连接器是否仍处于就绪状态,请刷新。
TypingMind MCP 设置界面,显示正在运行的服务器和“编辑服务器”按钮
{
  "mcpServers": {
    "namastexlabs-automagik-tools": {
      "command": "npx",
      "args": [
        "-y",
        "automagik-tools"
      ]
    }
  }
}
4

在不同模型中使用同一连接

保存服务器列表,打开“插件”,启用 Automagik Tools MCP 工具,然后在 TypingMind 中选择任意受支持的 AI 模型,即可在聊天中使用这些工具,或将其分配给智能体。

  1. 在 TypingMind 中打开“插件”页面。
  2. 启用 Automagik Tools MCP 工具。
  3. 开始聊天并选择您想使用的 AI 模型。
  4. 在聊天中使用 MCP 工具,或将其分配给 AI 智能体。
  5. 根据需要随时切换到其他 AI 模型,无需重新连接 MCP。
在 TypingMind 聊天中使用已启用的 MCP 工具和选定的 AI 模型
您能使用 Automagik Tools 帮我完成这项任务吗?
Automagik Tools
当然,我看过了。
以下是我使用 Automagik Tools 得到的结果。

常见问题

Automagik Tools MCP 服务器有什么用途?

Automagik Tools 是一个 MCP 服务器,可让兼容的 AI 客户端连接外部工具并获取上下文。在 TypingMind 中,只需添加一次此 MCP 服务器,即可在您的 AI 工作区中使用其工具。

可以在 TypingMind 中让多个 AI 模型使用 Automagik Tools MCP 吗?

可以。TypingMind 在工作区层面连接 MCP 工具,因此您无需为每个模型单独配置 MCP 服务器,就能在 Claude、ChatGPT、Gemini 或您在 TypingMind 中配置的其他 AI 模型中使用 Automagik Tools。

为什么在 TypingMind 中使用 Automagik Tools MCP?

TypingMind 将多个 AI 模型、提示词、插件、AI 智能体、API 密钥和 MCP 工具整合到同一个工作区中,是最出色的大语言模型聊天前端之一。连接 Automagik Tools 后,您可以在偏好的不同模型中使用其 MCP 工具,同时在 TypingMind 中井然有序地管理聊天工作流程。

如何将 Automagik Tools MCP 连接到 TypingMind?

Automagik Tools 通过 TypingMind 本地 MCP 连接器运行。当 MCP 服务器需要访问您计算机上的本地文件、桌面应用、命令行工具或私有资源时,这种方式最合适。

Automagik Tools MCP 在 TypingMind 中提供哪些工具?

Automagik Tools 提供 MCP 功能,您可以在 TypingMind 的插件页面启用这些功能,然后在聊天中使用,或将其分配给 AI 智能体。

使用 Automagik Tools MCP 需要向 TypingMind 提供我的 API 密钥吗?

不需要。TypingMind 采用本地优先的设计,让您自行选择模型提供商,并自行管理 API 密钥、提示词和 MCP 配置。如果 Automagik Tools 需要身份验证,请在创建连接时,为该 MCP 服务器添加所需的请求头、OAuth 设置或本地配置。

相关 MCP 服务器

查看全部

立即创建您自己的 AI 工作区

订阅我们的电子简报,获取新功能和后续赠奖活动的通知 👇