{
    "name": "com.daftiq/erp",
    "title": "Daftiq",
    "description": "Read-only company data from Daftiq, the cloud ERP for businesses in Pakistan: sales invoices, customers, products and stock, purchase bills, expenses and headcount.",
    "version": "1.0.0",
    "websiteUrl": "https://daftiq.com/",
    "documentationUrl": "https://daftiq.com/developers/mcp",
    "protocolVersion": "2025-06-18",
    "remotes": [
        {
            "type": "streamable-http",
            "url": "https://daftiq.com/mcp"
        }
    ],
    "authentication": {
        "required": true,
        "schemes": [
            "bearer"
        ],
        "description": "A company key created in Daftiq: Settings → Integrations → MCP server (Premium plan). Send it as \"Authorization: Bearer <key>\"."
    },
    "capabilities": {
        "tools": {
            "listChanged": false
        }
    },
    "tools": [
        {
            "name": "company_overview",
            "title": "Company overview",
            "description": "Key figures for a period: revenue (with the previous period), today's sales, receivables and overdue invoices, payables, spending in the last 30 days and cash in bank accounts.",
            "annotations": {
                "readOnlyHint": true,
                "destructiveHint": false
            }
        },
        {
            "name": "list_sales_invoices",
            "title": "List sales invoices",
            "description": "Sales invoices, newest first, filtered by status, customer and invoice date, with the count and totals of all matching invoices.",
            "annotations": {
                "readOnlyHint": true,
                "destructiveHint": false
            }
        },
        {
            "name": "get_sales_invoice",
            "title": "Get a sales invoice",
            "description": "One sales invoice by its number or id, with its lines and the payments applied to it.",
            "annotations": {
                "readOnlyHint": true,
                "destructiveHint": false
            }
        },
        {
            "name": "top_unpaid_customers",
            "title": "Customers who owe the most",
            "description": "Customers ranked by the amount they still owe, with their open and overdue invoices and the oldest due date.",
            "annotations": {
                "readOnlyHint": true,
                "destructiveHint": false
            }
        },
        {
            "name": "list_customers",
            "title": "List customers",
            "description": "Customers with contact details, payment terms, credit limit and the balance they owe on open invoices.",
            "annotations": {
                "readOnlyHint": true,
                "destructiveHint": false
            }
        },
        {
            "name": "list_products",
            "title": "List products",
            "description": "Active products and services with sale price, cost and stock on hand; can list only items running low or out of stock.",
            "annotations": {
                "readOnlyHint": true,
                "destructiveHint": false
            }
        },
        {
            "name": "list_purchase_bills",
            "title": "List purchase bills",
            "description": "Purchase bills (vendor invoices), newest first, filtered by status, vendor and bill date, with the count and totals.",
            "annotations": {
                "readOnlyHint": true,
                "destructiveHint": false
            }
        },
        {
            "name": "expenses_summary",
            "title": "Expenses summary",
            "description": "Recorded expenses for a date range (default: the last 30 days), totalled by category.",
            "annotations": {
                "readOnlyHint": true,
                "destructiveHint": false
            }
        },
        {
            "name": "hrm_headcount",
            "title": "Headcount",
            "description": "Number of employees by department, and how many joined in the last 30 days.",
            "annotations": {
                "readOnlyHint": true,
                "destructiveHint": false
            }
        }
    ],
    "publisher": {
        "name": "Paisol Technology",
        "url": "https://paisoltechnology.com/",
        "email": "contact@paisoltechnology.com"
    }
}