CK

charl-kruger/datafast-mcp

Developer tools

このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。 原文を見る

5 stars 5 forks 品質 55 トレンド 13

A Model Context Protocol (MCP) server that helps developers easily integrate DataFa.st analytics into their applications.

概要

A Model Context Protocol (MCP) server that helps developers easily integrate DataFa.st analytics into their applications. This MCP solves the biggest onboarding challenges users face: script installation complexity and revenue attribution setup. 🚀 - Automatically generates tracking code for 10+ popular frameworks 🛡️ - Provides proxy configurations to avoid tracking blocks 📊 - Easy payment and goal tracking tools ✅ - Built-in testing and troubleshooting guides 📚 - Framework-specific setup guides and documentation - Next.js - Vue.js - React - Angular - Laravel - Django - Astro - SvelteKit - Nuxt.js - Vanilla HTML/JavaScript Add the DataFa.st MCP server to your development environment. Choose your preferred method: Add to your Claude Code MCP configuration: Add to your Zed settings (~/.config/zed/settings.json): 1. Install the MCP extension for VS Code 2. Add to your VS Code settings (settings.json): Add to your Continue configuration (.continue/config.json):

README

以下は原文 README の抜粋です。原文を見る。

DataFa.st MCP Server

A Model Context Protocol (MCP) server that helps developers easily integrate DataFa.st analytics into their applications. This MCP solves the biggest onboarding challenges users face: script installation complexity and revenue attribution setup.

Features

🚀 Framework-Specific Setup - Automatically generates tracking code for 10+ popular frameworks
🛡️ Ad Blocker Circumvention - Provides proxy configurations to avoid tracking blocks
📊 Revenue Attribution - Easy payment and goal tracking tools
✅ Installation Validation - Built-in testing and troubleshooting guides
📚 Comprehensive Resources - Framework-specific setup guides and documentation

Supported Frameworks

  • Next.js
  • Vue.js
  • React
  • Angular
  • Laravel
  • Django
  • Astro
  • SvelteKit
  • Nuxt.js
  • Vanilla HTML/JavaScript

Getting Started

1. Deploy the MCP Server

# Install dependencies
npm install

# Deploy to Cloudflare Workers
npm run deploy

2. Connect to Your IDE

Add the DataFa.st MCP server to your development environment. Choose your preferred method:

Claude Code (Anthropic)

Add to your Claude Code MCP configuration:

{
  "mcpServers": {
    "datafast": {
      "command": "node",
      "args": [
        "-e",
        "const { SSEClientTransport } = require('@modelcontextprotocol/sdk/client/sse.js'); const client = new SSEClientTransport(new URL('https://datafast-mcp.invsy.workers.dev/sse?api_key=YOUR_DATAFAST_API_KEY')); client.connect();"
      ]
    }
  }
}

Cursor IDE

Add to your .cursor/mcp.json file:

{
  "mcpServers": {
    "datafast-mcp": {
      "type": "sse",
      "url": "https://datafast-mcp.invsy.workers.dev/sse?api_key=YOUR_DATAFAST_API_KEY"
    }
  }
}

Zed Editor

Add to your Zed settings (~/.config/zed/settings.json):

{
  "assistant": {
    "version": "2",
    "provider": {
      "name": "anthropic",
      "default_model": "claude-3-5-sonnet-20241022",
      "api_key": "YOUR_ANTHROPIC_API_KEY",
      "low_speed_timeout_in_seconds": 60
    }
  },
  "context_servers": {
    "datafast-mcp": {
      "type": "sse",
      "url": "https://datafast-mcp.invsy.workers.dev/sse?api_key=YOUR_DATAFAST_API_KEY"
    }
  }
}

VS Code with MCP Extension

  1. Install the MCP extension for VS Code
  2. Add to your VS Code settings (settings.json):
{
  "mcp.servers": {
    "datafast": {
      "transport": {
        "type": "sse",
        "url": "https://datafast-mcp.invsy.workers.dev/sse?api_key=YOUR_DATAFAST_API_KEY"
      }
    }
  }
}

Continue.dev

Add to your Continue configuration (.continue/config.json):

{
  "models": [...],
  "contextProviders": [...],
  "mcpServers": [
    {
      "name": "datafast",
      "transport": {
        "type": "sse", 
        "url": "https://datafast-mcp.invsy.workers.dev/sse?api_key=YOUR_DATAFAST_API_KEY"
      }
    }
  ]
}

Generic MCP Client

GitHub で README 全文を見る

インストール

This server does not publish a one-line install command.

Open the repository installation guide MCP 初心者?mcpskill.org のガイドから始めましょう →

設定

{ "mcpServers": { "datafast": { "command": "node", "args": [ "-e", "const { SSEClientTransport } = require('@modelcontextprotocol/sdk/client/sse.js'); const client = new SSEClientTransport(new URL('https://datafast-mcp.invsy.workers.dev/sse?api_key=YOUR_DATAFAST_API_KEY')); client.connect();" ] } } }