Seline

السجل الرسمي التسويق والمبيعات

MCP server for the Seline Analytics API

ماذا يمكنك أن تفعل مع Seline؟

  • seline_list_projects -> POST /api/v1/projects
  • seline_get_data -> POST /api/v1/data
  • seline_get_charges -> POST /api/v1/charges
  • seline_get_top_visitors -> POST /api/v1/stats
  • seline_get_pages -> POST /api/v1/pages
  • seline_get_visit_metrics -> POST /api/v1/visit-metrics
  • seline_get_custom_events -> POST /api/v1/custom-events
  • seline_get_events -> POST /api/v1/events

التثبيت

أضف هذا إلى إعدادات MCP في عميلك (Claude Desktop: claude_desktop_config.json، وCursor: ‏.cursor/mcp.json، ويستخدم VS Code وغيره الصيغة نفسها «mcpServers»).

Remote (streamable-http)
Claude Code
claude mcp add --transport http seline 'https://api.seline.com/mcp'
إعداد JSON (Claude Desktop وCursor وVS Code)
{
    "mcpServers": {
        "seline": {
            "type": "http",
            "url": "https://api.seline.com/mcp"
        }
    }
}
NPM package @seline-analytics/mcp
Claude Code
claude mcp add seline -e 'YOUR_API_KEY=<your your_api_key>' -- npx -y @seline-analytics/mcp@1.0.6
إعداد JSON (Claude Desktop وCursor وVS Code)
{
    "mcpServers": {
        "seline": {
            "command": "npx",
            "args": [
                "-y",
                "@seline-analytics/mcp@1.0.6"
            ],
            "env": {
                "YOUR_API_KEY": "<your your_api_key>"
            }
        }
    }
}

متغيرات البيئة

  • YOUR_API_KEY إلزامي سري Your API key for the service

التوثيق

مأخوذ من ملف README للمشروع على GitHub ويُحدَّث أسبوعيًا. تفتح الروابط على GitHub.

المحتويات
  1. Seline MCP
  2. Cursor setup
  3. Claude Code setup
  4. Codex setup
  5. Tools
  6. Privacy Policy

Seline MCP

Seline is a cookieless, lightweight and independent analytics platform designed with privacy in mind. Get insights about your website and product usage without compromising user privacy.

Seline MCP talks to the Seline public API.

You can connect in two ways:

  • Hosted — https://api.seline.com/mcp (OAuth, for ChatGPT / Claude)
  • Local stdio — npx @seline-analytics/mcp with an API key (Cursor / Claude Code / Codex)

For the local server you can use either:

  • A project API token — scoped to one project
  • An account API token — access to all projects on the account

With an account token, use seline_list_projects to find a project, then pass projectId on analytics tools.

Cursor setup

{
  "mcpServers": {
    "seline": {
      "command": "npx",
      "args": ["-y", "@seline-analytics/mcp", "sln_your_api_key"]
    }
  }
}

Then restart Cursor so it reconnects MCP servers.

Claude Code setup

Run this command:

claude mcp add seline -- npx -y @seline-analytics/mcp sln_your_api_key

Then restart Claude Code.

Codex setup

If your Codex client uses mcpServers JSON config, add:

{
  "mcpServers": {
    "seline": {
      "command": "npx",
      "args": ["-y", "@seline-analytics/mcp", "sln_your_api_key"]
    }
  }
}

Then restart Codex and confirm the seline_* tools appear.

Tools

Projects:

  • seline_list_projects -> POST /api/v1/projects

Data over time:

  • seline_get_data -> POST /api/v1/data
  • seline_get_charges -> POST /api/v1/charges

Counts and totals:

  • seline_get_top_visitors -> POST /api/v1/stats
  • seline_get_pages -> POST /api/v1/pages
  • seline_get_visit_metrics -> POST /api/v1/visit-metrics
  • seline_get_custom_events -> POST /api/v1/custom-events

Events and properties:

  • seline_get_events -> POST /api/v1/events
  • seline_get_property_values -> POST /api/v1/property-values
  • seline_get_field_keys -> POST /api/v1/event-data
  • seline_get_field_values -> POST /api/v1/field-values

Funnels:

  • seline_get_funnel -> POST /api/v1/funnel

Visitors:

  • seline_get_visitors -> POST /api/v1/visitors
  • seline_get_visitor -> POST /api/v1/visitor
  • seline_get_visitor_events -> POST /api/v1/visitor-events
  • seline_get_most_active_visitors -> POST /api/v1/most-active-visitors
  • seline_get_visitor_insight -> POST /api/v1/visitor-insight

Privacy Policy

This MCP server runs locally and sends requests only to the Seline API using your API key.

  • Data collected: Your API key (stored locally in your MCP client) and analytics queries you run through the tools.
  • Usage: The API key authenticates read-only requests to your Seline workspace.
  • Storage: Seline stores analytics per Seline Privacy Policy.
  • Third parties: Requests go to Seline infrastructure only.
  • Retention: Governed by Seline account and privacy policy.

الأسئلة الشائعة

ما هو Seline؟

MCP server for the Seline Analytics API

كيف أثبّت Seline؟

يعمل كخادم بعيد. في Claude Code: claude mcp add --transport http seline 'https://api.seline.com/mcp'. وفي العملاء الآخرين، الصق إعداد JSON من هذه الصفحة في إعدادات MCP الخاصة بهم.

هل يحتاج Seline إلى مفتاح API؟

نعم. يتطلب YOUR_API_KEY، وتضبطها في إعداداته.

هل Seline مفتوح المصدر؟

نعم. شيفرته متاحة على GitHub بترخيص MIT.

من يصون Seline؟

ينشره getseline. يدرجه AI.tn لكنه لا يصونه ولا يوصي به.

من سجل MCP الرسمي. الإدراج ليس توصية: راجع شيفرة الخادم وصلاحياته قبل منحه الوصول إلى بياناتك.