Agentify MCP Server

$npm install -g agentify-mcp
README.md

Real-time tracking of AI task starts and completions with webhook notifications

Agentify MCP Server

๐Ÿค– A simple MCP server for AI task tracking and webhook notifications

Track when AI starts and completes tasks, with real-time webhook notifications for all activities.

๐Ÿš€ Features

  • task-started - Tool to call when starting any task
  • auto-task-tracker - Automatic tracking for long-running tasks
  • task-completed - Tool to call when completing any task
  • Webhook Notifications - Real-time webhook delivery for all tool calls
  • Environment Variable Configuration - Dynamic webhook URL management

๐Ÿ“ฆ Installation

# Global installation
npm install -g agentify-mcp

# Or run with npx
npx agentify-mcp

โš™๏ธ Webhook Configuration

1. Using Webhook.site (Recommended)

  1. Visit webhook.site
  2. Copy the auto-generated unique URL
  3. Set it up using one of the methods below

2. Environment Variable Setup

export AGENTIFY_WEBHOOK_URL="https://webhook.site/your-unique-id"
# or
export WEBHOOK_URL="https://webhook.site/your-unique-id"

agentify-mcp

3. Environment Variable Injection in MCP Configuration

Claude Desktop's claude_desktop_config.json:

{
  "mcpServers": {
    "agentify": {
      "command": "agentify-mcp",
      "env": {
        "AGENTIFY_WEBHOOK_URL": "https://webhook.site/your-unique-id",
        "LOG_LEVEL": "info"
      }
    }
  }
}

4. Configuration File Locations

  • macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
  • Windows: %APPDATA%/Claude/claude_desktop_config.json
  • Linux: ~/.config/Claude/claude_desktop_config.json

๐Ÿ”ง Usage

AI Tool Call Examples

AI will automatically call tools like this:

// When starting a task
task_started({
  taskDescription: 'Starting React component refactoring',
});

// When completing a task
task_completed({
  taskDescription: 'Completed React component refactoring',
  outcome: 'success',
  details: '20% performance improvement',
});

Runtime Status Check

When the server starts, you can see the status:

๐Ÿš€ Agentify MCP Server
๐Ÿ“‹ Webhook: โœ… Enabled      # When URL is configured
๐Ÿ“ Log Level: info

Or:

๐Ÿ“‹ Webhook: โŒ Disabled     # When URL is not configured

๐Ÿ“ก Webhook Payload

All tool calls send webhooks in this format:

{
  "timestamp": "2024-01-01T12:00:00.000Z",
  "event": "tool_called",
  "toolName": "task-started",
  "arguments": {
    "taskDescription": "Starting React component refactoring"
  }
}
{
  "timestamp": "2024-01-01T12:00:00.000Z",
  "event": "tool_completed",
  "toolName": "task-completed",
  "arguments": {
    "taskDescription": "Completed React component refactoring",
    "outcome": "success"
  },
  "result": {
    "content": [{ "type": "text", "text": "โœ… Task Completed..." }]
  },
  "duration": 150
}

๐Ÿ› ๏ธ Developer Configuration

Programmatic Setup

import { AgentifyMCPServer } from 'agentify-mcp';

const server = new AgentifyMCPServer({
  webhookUrl: 'https://webhook.site/your-unique-id',
  logLevel: 'info',
});

await server.start();

Runtime Dynamic Configuration

const server = new AgentifyMCPServer();

// Set webhook URL later
server.setWebhookUrl('https://webhook.site/your-unique-id');

// Check webhook status
console.log(server.isWebhookEnabled()); // true/false

Local Development

git clone https://github.com/agentify/agentify-mcp.git
cd agentify-mcp
npm install

# Run in development mode
npm run dev

# Build
npm run build

# Run tests
npm test

# Type checking
npm run typecheck

# Linting
npm run lint

๐Ÿ” Troubleshooting

Webhook Not Working

  1. Check Environment Variables

    echo $AGENTIFY_WEBHOOK_URL
    
  2. Restart Claude Desktop

    • Completely restart Claude Desktop after environment variable changes
  3. Test with Webhook.site

    • Check if requests are received in real-time

MCP Connection Issues

  1. Check configuration file path
  2. Verify JSON syntax
  3. Confirm command path (agentify-mcp or npx agentify-mcp)

๐Ÿ›ก๏ธ Security

  • Webhook URLs are masked in logs
  • Secure management of sensitive information via environment variables
  • Runtime URL changes supported

๐ŸŒŸ Usage Examples

Basic Execution

# Run without webhook
agentify-mcp

# Run with webhook
AGENTIFY_WEBHOOK_URL="https://webhook.site/abc123" agentify-mcp

Using with Claude Desktop

  1. Generate URL from Webhook.site
  2. Add configuration to claude_desktop_config.json
  3. Restart Claude Desktop
  4. Receive real-time notifications whenever AI performs tasks

๐Ÿงช Testing

# Run

Tools (3)

task-startedTool to call when starting any task to log the beginning of an activity.
auto-task-trackerAutomatic tracking for long-running tasks.
task-completedTool to call when completing any task to log the outcome and details.

Environment Variables

AGENTIFY_WEBHOOK_URLThe unique URL to receive real-time task notifications.
WEBHOOK_URLAlternative environment variable for the webhook destination.
LOG_LEVELSets the verbosity of the server logs (e.g., info).

Configuration

claude_desktop_config.json
{"mcpServers": {"agentify": {"command": "agentify-mcp", "env": {"AGENTIFY_WEBHOOK_URL": "https://webhook.site/your-unique-id", "LOG_LEVEL": "info"}}}}

Try it

โ†’I'm starting a React component refactoring task, please log the start of this activity.
โ†’I have finished the documentation update with a successful outcome, can you record the completion?
โ†’Track this long-running data migration task for me.
โ†’Send a notification to my webhook that I am beginning the security audit.

Frequently Asked Questions

What are the key features of Agentify MCP Server?

Real-time webhook delivery for all tool calls and task activities.. Task lifecycle tracking including start, auto-tracking, and completion events.. Environment variable configuration for dynamic webhook URL management.. Secure handling of sensitive information with masked webhook URLs in logs..

What can I use Agentify MCP Server for?

Monitoring AI agent progress in real-time via external dashboards like Webhook.site.. Integrating AI task events into third-party notification systems or Slack via webhooks.. Auditing AI activity by logging task descriptions, outcomes, and durations.. Tracking performance improvements and task success rates across multiple AI sessions..

How do I install Agentify MCP Server?

Install Agentify MCP Server by running: npm install -g agentify-mcp

What MCP clients work with Agentify MCP Server?

Agentify MCP Server works with any MCP-compatible client including Claude Desktop, Claude Code, Cursor, and other editors with MCP support.

Use Agentify MCP Server with Conare

Manage MCP servers visually, upload persistent context, and never start from zero with Claude Code & Codex.

Try Free