Logo QuickBooks Time MCP Server

QuickBooks Time MCP Server

Cộng đồng
aallsbury

A Message Control Protocol (MCP) server that provides unified access to QuickBooks Time API functionality. Developed with AI assistance.

Nhà phát hànhaallsbury
Kho mãqb-time-mcp-server
Ngôn ngữPython
Bản fork
12
Sao
11
Công cụ có sẵn
0
Phương thức truyền tảistdio
Danh mục
Giấy phépMIT
Liên kết
  • Kết nối công cụ với quy trình làm việc AI

    QuickBooks Time MCP Server cung cấp các chức năng MCP cho các ứng dụng khách AI và tác nhân AI tương thích.

  • 0 công cụ có sẵn

    Xem các thao tác có thể gọi bên dưới, kèm tên và mô tả nếu máy chủ cung cấp.

  • Mẫu cấu hình có thể sao chép ngay

    Dùng các đoạn cấu hình mẫu để thiết lập máy chủ này trong ứng dụng khách MCP bạn muốn dùng.

  • Mức độ quan tâm của cộng đồng đến kho mã

    11 sao và 12 bản fork từ kho mã được liên kết.

QuickBooks Time MCP Server (V2 Update)

This is a combined MCP server that provides access to all QuickBooks Time API functionality through a single interface. It combines the functionality of four separate servers:

  1. JobCode Tools
  2. Reports & Core Tools
  3. Timesheet Tools
  4. User Tools

I would LOVE help improving this project! Just glad to be able to give something back finally!

This entire project was developed and published using artificial intelligence (Anthropic, OpenAI, Llama/META), as I personally cannot write much code without assistance. While every effort has been made to ensure quality and functionality, there may be imperfections or areas for improvement. I welcome any feedback, corrections, or suggestions from the community.

  1. Install dependencies:
bash
pip install -r requirements.txt
  1. Create a .env file with your QuickBooks Time access token:
QB_TIME_ACCESS_TOKEN=your_access_token_here
NODE_ENV=development

Claude Desktop Configuration

To use this server with Claude Desktop, you'll need to configure it in your Claude Desktop settings. Here's an example configuration:

json
{
  "globalShortcut": "Ctrl+Q",
  "mcpServers": {
    "qb-time-tools": {
      "command": "python",
      "args": [
        "./qb-time-mcp-server/main.py"
      ],
      "env": {
        "QB_TIME_ACCESS_TOKEN": "your_quickbooks_time_access_token_here"
      }
    }
  }
}

Available Tools

JobCode Tools

  • get_jobcodes: Get jobcodes with advanced filtering options

    • Basic Filters:
      • ids: (array of numbers, optional) Comma separated list of jobcode IDs
      • name: (string, optional) Filter by jobcode name, supports wildcard (*) matching from string start
      • active: (string, optional) Filter by status: "yes", "no", "both" (default: "yes")
    • Type and Hierarchy Filters:
      • type: (string, optional) Filter by type: "regular", "pto", "paid_break", "unpaid_break", "all" (default: "regular")
      • parent_ids: (array of numbers, optional) Filter by parent jobcode IDs. Special values: 0 (top-level only), -1 (all levels)
    • Additional Filters:
      • customfields: (boolean, optional) Include custom fields in response
      • modified_before: (string, optional) Filter by modification date (ISO 8601 format)
      • modified_since: (string, optional) Filter by modification date (ISO 8601 format)
      • page: (number) Page number for pagination
      • limit: (number) Results per page (max 200)
  • get_jobcode: Get a specific jobcode by ID

    • Required Parameters:
      • id: (number) The ID of the jobcode to retrieve
  • get_jobcode_hierarchy: Get complete jobcode hierarchy structure

    • Parameters:
      • parent_ids: (array of numbers, optional) Filter by parent IDs. Values: 0 (top-level), -1 (all), or specific IDs
      • active: (string, optional) Filter by status: "yes", "no", "both" (default: "yes")
      • type: (string, optional) Filter by type: "regular", "pto", "paid_break", "unpaid_break", "all" (default: "regular")
      • customfields: (boolean, optional) Include custom fields in response

Timesheet Tools

  • get_timesheets: Get timesheets with filtering

    • Required Parameters (at least one):
      • ids: (array of numbers) Comma separated list of timesheet IDs
      • start_date: (string) Returns timesheets on or after this date (YYYY-MM-DD)
      • modified_before: (string) Returns timesheets modified before this time (ISO 8601)
      • modified_since: (string) Returns timesheets modified since this time (ISO 8601)
    • Optional Parameters:
      • end_date: (string) Returns timesheets on or before this date (YYYY-MM-DD)
      • user_ids: (array of numbers) Filter by specific user IDs
      • group_ids: (array of numbers) Filter by specific group IDs
      • jobcode_ids: (array of numbers) Filter by specific jobcode IDs (includes children)
      • payroll_ids: (array of numbers) Filter by specific payroll IDs
      • on_the_clock: (string) Filter by current working status: "yes", "no", "both" (default: "no")
      • jobcode_type: (string) Filter by type: "regular", "pto", "paid_break", "unpaid_break", "all" (default: "all")
      • page: (number) Page number
      • limit: (number) Results per page
  • get_timesheet: Get a specific timesheet by ID

    • Required Parameters:
      • id: (number) The ID of the timesheet to retrieve
  • get_current_timesheets: Get currently active timesheets

    • Required Parameters:
      • on_the_clock: (string) Must be set to "yes"
    • Optional Parameters:
      • user_ids: (array of numbers) Filter active timesheets for specific users
      • group_ids: (array of numbers) Filter active timesheets for users in specific groups
      • jobcode_ids: (array of numbers) Filter active timesheets for specific jobcodes
      • supplemental_data: (string) Include supplemental data: "yes", "no" (default: "yes")

User Tools

  • get_users: Get all users with filtering

    • User Identification Filters:
      • ids: (array of numbers, optional) Filter by specific user IDs
      • not_ids: (array of numbers, optional) Exclude specific user IDs
      • employee_numbers: (array of numbers, optional) Filter by employee numbers
      • usernames: (array of strings, optional) Filter by specific usernames
    • Group Filters:
      • group_ids: (array of numbers, optional) Filter by group membership
      • not_group_ids: (array of numbers, optional) Exclude users from specific groups
    • Status and Identification Filters:
      • payroll_ids: (array of strings, optional) Filter by payroll identification numbers
      • active: (string, optional) Filter by status: "yes", "no", "both" (default: "yes")
    • Name Filters:
      • first_name: (string, optional) Filter by first name (supports wildcards *)
      • last_name: (string, optional) Filter by last name (supports wildcards *)
    • Time-Based Filters:
      • modified_before: (string, optional) Filter by modification date (ISO 8601)
      • modified_since: (string, optional) Filter by modification date (ISO 8601)
    • Pagination:
      • page: (number, optional) Page number (default: 1)
      • per_page: (number, optional) Results per page (default: 50, max: 50)
  • get_user: Get a specific user by ID

    • Required Parameters:
      • id: (number) The ID of the user to retrieve
  • get_current_user: Get currently authenticated user

    • No parameters required
    • Returns detailed user information including:
      • Basic profile information
      • Company details
      • PTO balances
      • Permissions
      • Custom fields
  • get_groups: Get all groups from QuickBooks Time

    • Optional Parameters:
      • ids: (array of numbers) Filter by specific group IDs
      • active: (string) Filter by status: "yes", "no", "both" (default: "yes")
      • manager_ids: (array of numbers) Filter groups by manager user IDs
      • supplemental_data: (string) Include supplemental data: "yes", "no" (default: "yes")
    • Returns group information including:
      • Basic group details
      • Manager assignments
      • Timesheet settings
      • Time entry settings
      • Break settings

Project Management Tools

  • get_projects: Get projects with filtering

    • Optional Parameters:
      • ids: (array of numbers) Filter by specific project IDs
      • active: (string) Filter by status: "yes", "no", "both" (default: "yes")
      • client_id: (number) Filter by client ID
      • jobcode_id: (number) Filter by associated jobcode ID
      • modified_before: (string) Filter by modification date (ISO 8601)
      • modified_since: (string) Filter by modification date (ISO 8601)
      • page: (number) Page number (default: 1)
      • per_page: (number) Results per page (default: 50, max: 50)
    • Returns project information including:
      • Basic project details
      • Client and jobcode associations
      • Budget information
      • Dates and status
      • Custom fields
  • get_project_activities: Get project activity logs

    • Optional Parameters:
      • project_ids: (array of numbers) Filter activities to specific projects
      • user_ids: (array of numbers) Filter activities by specific users
      • activity_types: (array of strings) Filter by activity types: "status_change", "note_added", "budget_change", "date_change", "custom_field_change"
      • modified_before: (string) Filter by modification date (ISO 8601)
      • modified_since: (string) Filter by modification date (ISO 8601)
      • page: (number) Page number (default: 1)
      • per_page: (number) Results per page (default: 50, max: 50)
    • Returns activity information including:
      • Activity type and details
      • User who made the change
      • Old and new values
      • Timestamps

Reports Tools

  • get_current_totals: Get current totals snapshot including shift and day totals

    • Optional Parameters:
      • user_ids: (array of numbers) Filter totals to specific users
      • group_ids: (array of numbers) Filter totals for users in specific groups
      • jobcode_ids: (array of numbers) Filter totals for specific jobcodes
      • customfield_query: (string) Filter by custom field values in format: <customfield_id>||
    • Returns:
      • Real-time totals for active time entries
      • Duration and start times
      • Associated jobcode and user information
      • Custom field values
  • get_payroll: Get payroll report

    • Required Parameters:
      • start_date: (string) Start of pay period (YYYY-MM-DD)
      • end_date: (string) End of pay period (YYYY-MM-DD)
    • Optional Parameters:
      • user_ids: (array of numbers) Filter payroll for specific users
      • group_ids: (array of numbers) Filter payroll for users in specific groups
      • include_zero_time: (boolean) Include users with no time entries (default: false)
    • Returns:
      • Total time by type (regular, overtime, double-time, PTO)
      • Daily breakdowns per user
      • Timesheet counts
  • get_payroll_by_jobcode: Get payroll report grouped by jobcode

    • Required Parameters:
      • start_date: (string) Start of pay period (YYYY-MM-DD)
      • end_date: (string) End of pay period (YYYY-MM-DD)
    • Optional Parameters:
      • user_ids: (array of numbers) Filter payroll for specific users
      • group_ids: (array of numbers) Filter payroll for users in specific groups
      • jobcode_ids: (array of numbers) Filter payroll for specific jobcodes
      • jobcode_type: (string) Filter by type: "regular", "pto", "paid_break", "unpaid_break"
      • include_zero_time: (boolean) Include jobcodes with no time entries (default: false)
    • Returns:
      • Time totals by jobcode
      • Breakdowns by user within each jobcode
      • Daily totals per jobcode
  • get_project_report: Get detailed project report with time entries

    • Required Parameters:
      • start_date: (string) Start date in YYYY-MM-DD format
      • end_date: (string) End date in YYYY-MM-DD format
    • Optional Parameters:
      • user_ids: (array of numbers) Filter time entries by specific users
      • group_ids: (array of numbers) Filter time entries by specific groups
      • jobcode_ids: (array of numbers) Filter time entries by specific jobcodes
      • jobcode_type: (string) Filter by type: "regular", "pto", "unpaid_break", "paid_break", "all" (default: "all")
      • customfielditems: (object) Filter by custom field values in format: {"customfield_id": ["value1", "value2"]}
    • Returns:
      • Project time totals
      • Breakdowns by user and group
      • Filtered time entries based on criteria

Additional Tools

  • get_custom_fields: Get custom tracking fields configured on timecards

    • Parameters:
      • ids: (array of numbers) Filter by specific custom field IDs
      • active: (string) Filter by status: "yes", "no", "both"
      • applies_to: (string) Filter by application type: "timesheet", "jobcode", "user"
      • value_type: (string) Filter by value type: "managed-list", "free-form"
      • page: (number) Page number
      • limit: (number) Results per page
  • get_last_modified: Get last modified timestamps for objects

    • Parameters:
      • types: (array of strings) Types of objects to check (e.g., ["timesheets", "jobcodes", "users"])
  • get_notifications: Get notifications

    • Parameters:
      • page: (number) Page number
      • limit: (number) Results per page
  • get_managed_clients: Get managed clients

    • Parameters:
      • page: (number) Page number
      • limit: (number) Results per page

Running the Server

bash
python main.py

The server will start and listen for JSON-RPC requests on stdin/stdout.

License

MIT License - See LICENSE file for details

Contributing

Contributions are welcome! Please feel free to submit a Pull Request. Given that this project was developed with AI assistance, community input is especially valuable for improving and maintaining the codebase.

Support

For issues and feature requests, please use the GitHub issues page or contact me directly at github.com/aallsbury.

Cài đặt

TypingMind
Yêu cầu:

Node.js 18+

{
  "mcpServers": {
    "aallsbury-qb-time-mcp-server": {
      "command": "",
      "args": []
    }
  }
}

Dùng MCP QuickBooks Time MCP Server với nhiều mô hình AI

TypingMind kết nối các công cụ MCP ở cấp không gian làm việc, nên sau khi kết nối QuickBooks Time MCP Server, bạn có thể dùng với nhiều mô hình AI khác nhau trong TypingMind thay vì phải thiết lập riêng cho từng mô hình. MCP này chạy cục bộ thông qua trình kết nối MCP của TypingMind trên thiết bị của bạn.

Hướng dẫn thiết lập để dùng trình kết nối cục bộ

Dùng cách này khi máy chủ MCP cần truy cập các tệp, ứng dụng hoặc tài nguyên riêng tư trên máy tính của bạn.

1

Mở cài đặt MCP

Trong TypingMind, vào Cài đặt, Cài đặt nâng cao, rồi đến Giao thức ngữ cảnh mô hình và chọn Thiết lập trình kết nối.

  1. Mở TypingMind trong trình duyệt của bạn.
  2. Nhấp vào biểu tượng Cài đặt.
  3. Vào Cài đặt nâng cao.
  4. Mở mục Giao thức ngữ cảnh mô hình.
  5. Nhấp vào Thiết lập trình kết nối rồi chọn Thiết bị này.
Màn hình thiết lập trình kết nối MCP của TypingMind với tùy chọn Thiết bị này được chọn
2

Chạy lệnh thiết lập trình kết nối

Chọn Thiết bị này, sao chép lệnh từ TypingMind và chạy trong Terminal. Để tiến trình tiếp tục chạy trong khi bạn dùng MCP.

  1. Sao chép lệnh thiết lập hiển thị trong TypingMind.
  2. Mở Terminal trên macOS hoặc Windows Terminal trên Windows.
  3. Dán và chạy lệnh.
  4. Xác nhận cài đặt gói nếu Terminal hỏi bạn có muốn tiếp tục không.
  5. Để tiến trình tiếp tục chạy trong cửa sổ Terminal khi bạn dùng các công cụ MCP.
3

Thêm QuickBooks Time MCP Server làm máy chủ

Khi trạng thái trình kết nối là Sẵn sàng, nhấp vào Sửa máy chủ và dán cấu hình máy chủ MCP.

  1. Đợi đến khi trạng thái trình kết nối hiển thị Sẵn sàng.
  2. Nhấp vào Sửa máy chủ.
  3. Dán cấu hình máy chủ MCP của QuickBooks Time MCP Server.
  4. Lưu danh sách máy chủ.
  5. Làm mới nếu bạn muốn xác nhận trình kết nối vẫn sẵn sàng.
Cài đặt MCP của TypingMind hiển thị máy chủ đang hoạt động và nút Sửa máy chủ
{
  "mcpServers": {
    "aallsbury-qb-time-mcp-server": {
      "command": "npx",
      "args": [
        "-y",
        "qb-time-mcp-server"
      ]
    }
  }
}
4

Dùng kết nối với nhiều mô hình

Lưu danh sách máy chủ, mở Plugin, bật các công cụ MCP của QuickBooks Time MCP Server, sau đó chọn bất kỳ mô hình AI nào được hỗ trợ trong TypingMind và dùng các công cụ trong cuộc trò chuyện hoặc gán chúng cho một tác nhân AI.

  1. Mở trang Plugin trong TypingMind.
  2. Bật các công cụ MCP của QuickBooks Time MCP Server.
  3. Bắt đầu cuộc trò chuyện và chọn mô hình AI bạn muốn dùng.
  4. Dùng các công cụ MCP trong cuộc trò chuyện hoặc gán chúng cho một tác nhân AI.
  5. Chuyển sang mô hình AI khác bất cứ khi nào cần mà không phải kết nối lại MCP.
Cuộc trò chuyện trên TypingMind dùng các công cụ MCP đã bật với mô hình AI đã chọn
Bạn có thể dùng QuickBooks Time MCP Server giúp tôi làm việc này không?
QuickBooks Time MCP Server
Được. Tôi đọc rồi.
Đây là kết quả tôi tìm được bằng QuickBooks Time MCP Server.

Câu hỏi thường gặp

Máy chủ MCP QuickBooks Time MCP Server dùng để làm gì?

QuickBooks Time MCP Server là máy chủ MCP cho phép các ứng dụng AI tương thích kết nối với công cụ và ngữ cảnh bên ngoài. Trong TypingMind, bạn chỉ cần thêm máy chủ MCP này một lần để các công cụ của nó có sẵn trong không gian làm việc AI của bạn.

Bạn có thể dùng MCP QuickBooks Time MCP Server với nhiều mô hình AI trong TypingMind không?

Có. TypingMind kết nối các công cụ MCP ở cấp không gian làm việc, nên bạn có thể dùng QuickBooks Time MCP Server với nhiều mô hình AI như Claude, ChatGPT, Gemini hoặc các mô hình khác đã cấu hình trong TypingMind mà không cần thiết lập máy chủ MCP riêng cho từng mô hình.

Vì sao nên dùng MCP QuickBooks Time MCP Server với TypingMind?

TypingMind là một trong những giao diện trò chuyện với LLM tốt nhất vì tập hợp nhiều mô hình AI, prompt, plugin, tác nhân AI, khóa API và công cụ MCP vào một không gian làm việc. Khi kết nối QuickBooks Time MCP Server, bạn có thể dùng các công cụ MCP của dịch vụ này với những mô hình ưa thích, đồng thời giữ quy trình trò chuyện gọn gàng trong TypingMind.

Làm cách nào để kết nối MCP QuickBooks Time MCP Server với TypingMind?

QuickBooks Time MCP Server hoạt động thông qua trình kết nối MCP cục bộ của TypingMind. Đây là lựa chọn phù hợp nhất khi máy chủ MCP cần truy cập tệp cục bộ, ứng dụng máy tính, công cụ dòng lệnh hoặc tài nguyên riêng trên máy tính của bạn.

MCP QuickBooks Time MCP Server cung cấp những công cụ nào trong TypingMind?

QuickBooks Time MCP Server cung cấp các chức năng MCP mà bạn có thể bật từ trang Plugin của TypingMind để dùng trong trò chuyện hoặc gán cho tác nhân AI.

Bạn có cần chia sẻ khóa API với TypingMind để dùng MCP QuickBooks Time MCP Server không?

Không. TypingMind ưu tiên xử lý cục bộ và cho phép bạn kiểm soát nhà cung cấp mô hình, khóa API, prompt và cấu hình MCP. Nếu QuickBooks Time MCP Server yêu cầu xác thực, hãy thêm các header, cài đặt OAuth hoặc cấu hình cục bộ cần thiết cho máy chủ MCP đó khi tạo kết nối.

Máy chủ MCP liên quan

Xem tất cả

Tạo ngay không gian làm việc AI riêng

Đăng ký bản tin của chúng tôi để nhận thông báo về tính năng mới và các đợt tặng quà sắp tới 👇