
Perfex CRM
com.themesic由 themesic.com 發布v3.1.0更新於 Oct 24, 2026
Read and write a self-hosted Perfex CRM from an AI agent: 148 permission-filtered tools.
概覽
針對自架 Perfex CRM 的 MCP 伺服器,提供 148 個依權限篩選的工具,讓助理讀寫 CRM 資料。
- 可以做什麼
- 讀寫客戶、聯絡人、潛在客戶、發票、報價、提案、合約、付款與貸項通知等核心 CRM 紀錄
- 管理專案、任務、里程碑、工時、訂閱、品項、費用、員工與行事曆項目
- 查詢國家、稅別、幣別、狀態與自訂欄位等基礎資料
- 處理知識庫文章與群組,以及掛在不同實體類型上的備註
- 列表端點支援分頁、欄位篩選、排序與日期區間過濾
- 適用情境
- 適合使用自架 Perfex CRM,並希望 AI 助理直接查詢或更新客戶、潛在客戶、發票、專案與任務的團隊,例如在 Claude、ChatGPT、Cursor 或自動化代理中使用。
- 執行需求
- 需要已安裝並授權商業版 REST API 模組、且已啟用 MCP 伺服器的自架 Perfex CRM。端點為自己網域下的 /api/mcp(或廠商代管的 MCP 位址)。需在 Perfex 的 Setup > API > API Management 建立 API 權杖,透過 authtoken 標頭送出,並為要曝露的資源勾選權限。
安裝
在 SourceWeft 中
- 開啟 儀表板中的 Perfex CRM,將其新增到工作區。
- 連接 authtoken 憑證。它們會被私密儲存,絕不會在公開頁面上展示。
- 為需要使用其工具的對話啟用該服務。
Web executable,透過 Streamable HTTP。 遠端服務在工作區中設定後即可從網頁執行環境執行。
其他 MCP 客戶端
參照 儲存庫 中的啟動說明。
README
Perfex CRM REST API — Examples, Postman Collection & Code Snippets
🌐 English · 简体中文 · Español · Português (BR) · Italiano · Français · Deutsch · Türkçe · Tiếng Việt · ไทย · العربية
Ready-to-use Postman collection, code snippets (cURL, PHP, Python, JavaScript) and a resource catalogue for the REST API module for Perfex CRM — the fastest way to connect Perfex CRM with AI agents and third-party applications.
[Postman] [OpenAPI 3.0] [License: MIT] [Perfex CRM]
The Perfex CRM REST API lets you read and write customers, leads, invoices, estimates, projects, tasks and more over a clean HTTP/JSON interface — perfect for CRM integration, automation and custom apps. v3.0 adds an MCP server for AI agents, production-grade webhooks, ready-made Zapier / Make / n8n polling, batch operations and smarter list endpoints. This repository is the practical companion to the REST API for Perfex CRM module by Themesic Interactive: copy-paste examples, an importable Postman collection, and a full endpoint catalogue.
-
🧩 Get the module: https://themesic.com/product/rest-api-module-for-perfex-crm-connect-your-perfex-crm-with-third-party-applications/
-
📖 API guide / live docs: https://perfexcrm.themesic.com/apiguide/
-
🧾 OpenAPI 3.0 spec:
GET https://yourdomain.com/api/openapi(reference copy)
🚀 What's new in v3.0
Everything is opt-in and backwards-compatible: requests without the new parameters return the exact same response as before.
Contents
Each snippet language has examples for customers, invoices, leads plus the v3 features webhooks, mcp, batch, automation, knowledge_base and notes, and a list_features file showing pagination, field selection and sorting.
Quick start
Every request to the Perfex CRM REST API is authenticated with the Authtoken header. Create a token
in your Perfex admin under API → API Management (after activating the
REST API module),
then call the API at https://yourdomain.com/api/...:
That returns the list of customers as JSON. See docs/authentication.md for
header vs. query-parameter auth, and snippets/ for the same call in PHP, Python and JavaScript.
Use the Postman collection
- Open Postman → Import → drop in
postman/perfex-rest-api.postman_collection.json. - Import the environment
postman/perfex-rest-api.postman_environment.json. - Set
base_urltohttps://yourdomain.com/apiandauthtokento your token. - Pick any request and hit Send.
Connect an AI agent (MCP)
Point any MCP client (Claude Desktop, Cursor, ChatGPT, n8n AI Agent) at POST https://yourdomain.com/api/mcp
and send your authtoken header. The server advertises permission-filtered tools for your CRM. See
docs/mcp.md and snippets/curl/mcp.sh.
Use with Claude, ChatGPT and other AI assistants
Connect any assistant with one URL, https://perfex-mcp.themesic.com/mcp. Step-by-step setup for Claude, ChatGPT,
Cursor and VS Code: docs/connect-ai-assistants.md.
A Claude plugin (connector + skills) for claude.ai, Cowork and Claude Code lives in
claude-plugin/. It requires the REST API module with a valid license and the MCP
server enabled. See claude-plugin/README.md for setup, permissions and the
privacy policy.
Endpoint catalogue
All CRUD endpoints follow a RESTful convention: GET list, GET /:id single, POST create,
PUT /:id update, DELETE /:id delete — under the base path https://yourdomain.com/api.
Core CRM resources
v3 platform & extra resources
The exact request fields per resource are documented in the official API guide. The snippets here cover the most common flows.
Smarter list endpoints (v3)
Every list endpoint accepts optional query parameters. Add them and you get a { data, meta } envelope;
omit them and you get the exact legacy array.
per_pageis the parameter that sizes a page (1-100, default 25).limitis accepted as an alias only whenpageis sent too, so a bare?limit=5does not paginate - use?page=1&per_page=5.
See docs/pagination-filtering.md and
snippets/curl/list_features.sh.
Upgrading from 2.x
There are no breaking changes. Every v3 list feature is opt-in:
- Send none of the parameters above and you get the same plain array 2.x returned. The
{ data, meta }envelope appears only when you sendpageorper_page. - No endpoint was renamed. Customers have always been at
/api/customers. - Unknown fields on
PUTare ignored instead of returning an error. POSTrequests accept an optionalIdempotency-Keyheader; identical retries replay the stored response rather than creating duplicates.
Two things worth knowing when adopting v3:
- Custom tables moved behind an allowlist in 3.0.2 - see
docs/custom-tables.md. - New permission rows (Webhooks, Notes, Knowledge Base) must be ticked on existing tokens before
those endpoints answer, and before their MCP tools appear in
tools/list.
Popular integrations & use cases
The Perfex CRM REST API is commonly used to connect Perfex CRM with AI agents and third-party applications:
- AI assistants (MCP) — let Claude, ChatGPT or Cursor read and update your CRM through
/api/mcp. - Zapier / Make / n8n — no-code automation via ready-made polling triggers (
/api/zapier/*). - Webhooks — push Perfex events (new invoice, new lead, 124 events) to Slack, Discord or your own backend, signed with HMAC.
- Google Sheets / Power Automate — sync customers, invoices or payments to spreadsheets and dashboards.
- Custom apps & portals — build a mobile app or customer portal on top of your Perfex data.
- Accounting & e-commerce — sync invoices and items with external billing or shop platforms.
All of these are powered by the REST API for Perfex CRM module.
Authentication (summary)
Tokens are created and scoped (per-resource permissions) in API → API Management. Full details in
docs/authentication.md.
FAQ
Does Perfex CRM have a REST API? Yes. The REST API for Perfex CRM module adds a full RESTful HTTP/JSON API for customers, leads, invoices, estimates, projects, tasks and more, plus a v3 MCP server, webhooks, batch and automation endpoints.
Can I use Perfex CRM with AI agents / ChatGPT / Claude?
Yes — v3 ships an MCP server at POST /api/mcp that exposes permission-filtered CRM tools to any
Model Context Protocol client. See docs/mcp.md.
How do I authenticate with the Perfex CRM API?
Send your token in the Authtoken HTTP header (or as an ?authtoken= query parameter). See
docs/authentication.md.
What is the base URL of the Perfex CRM API?
https://yourdomain.com/api — for example https://yourdomain.com/api/customers.
Can I connect Perfex CRM to Zapier, Make or n8n?
Yes — v3 has ready-made polling triggers under /api/zapier/*, plus webhooks. See
Popular integrations and docs/automation.md.
Is there a Postman collection for Perfex CRM?
Yes — import postman/perfex-rest-api.postman_collection.json
and the bundled environment, set your base_url and authtoken, and start sending requests.
How do I create an invoice via the Perfex CRM API?
POST https://yourdomain.com/api/invoices with the invoice fields and an items[] array — v3 auto-calculates
subtotal/total. See snippets/curl/invoices.sh.
About / Support
[Perfex CRM REST API icon]This repository is an examples companion to the commercial module:
REST API for Perfex CRM — connect your Perfex CRM with third-party applications by Themesic Interactive.
- 🛒 Buy / learn more: https://themesic.com/product/rest-api-module-for-perfex-crm-connect-your-perfex-crm-with-third-party-applications/
- 📖 Documentation: https://perfexcrm.themesic.com/apiguide/
- 💬 Support: https://themesic.com/support
Contributions of additional examples are welcome — see CONTRIBUTING.md.
License
Example code in this repository is released under the MIT License. "Perfex" is a trademark of its respective owner; the REST API module is a commercial product by Themesic Interactive.
來源:README.md,提交 0f4c4f7
工具
0版本歷史
1- v3.1.0最新Sep 16, 2026
評分
已滿足適用檢查項的 60%
該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。
- 近 30 天內可連通必需25 分
請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。
- 已宣告認證方式必需10 分
- 已列出工具15 分
請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。
- 描述必需15 分
- 圖示10 分
- 文件15 分
- 授權條款10 分