Cover image
Try Now
2024-12-23

Mirror ofhttps://github.com/aallsbury/qb-time-mcp-server

3 years

Works with Finder

0

Github Watches

1

Github Forks

0

Github Stars

QuickBooks Time MCP Server (Combined)

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:
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:

{
  "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

    • Parameters:
      • ids: (array of numbers) Filter by specific jobcode IDs
      • parent_ids: (array of numbers) Filter by parent jobcode IDs
      • name: (string) Filter by name (use * as wildcard)
      • type: (string) Filter by type: "regular", "pto", "paid_break", "unpaid_break", "all"
      • active: (string) Filter by status: "yes", "no", "both"
      • customfields: (boolean) Include custom field data
      • modified_before: (string) Return items modified before this date
      • modified_since: (string) Return items modified after this date
      • supplemental_data: (string) Include supplemental data: "yes", "no"
      • 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

    • Optional Parameters:
      • name: (string) Filter by name (use * as wildcard)
      • type: (string) Filter by type: "regular", "pto", "paid_break", "unpaid_break", "all"
      • active: (string) Filter by status: "yes", "no", "both"
      • customfields: (boolean) Include custom field data
      • supplemental_data: (string) Include supplemental data: "yes", "no"

Timesheet Tools

  • get_timesheets: Get timesheets with filtering

    • Parameters:
      • modified_before: (string) Filter by modification date
      • modified_since: (string) Filter by modification date
      • 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

User Tools

  • get_users: Get all users with filtering

    • Parameters:
      • modified_before: (string) Filter by modification date
      • modified_since: (string) Filter by modification date
      • page: (number) Page number
      • limit: (number) Results per page
  • 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

  • get_groups: Get all groups from QuickBooks Time

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

Project Management Tools

  • get_projects: Get projects with filtering

    • Parameters:
      • modified_before: (string) Filter by modification date
      • modified_since: (string) Filter by modification date
      • page: (number) Page number
      • limit: (number) Results per page
  • get_project_activities: Get project activities

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

Reports Tools

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

    • Parameters:
      • page: (number) Page number
      • limit: (number) Results per page
  • get_payroll: Get payroll report

    • Required Parameters:
      • start_date: (string) Start date in YYYY-MM-DD format
      • end_date: (string) End date in YYYY-MM-DD format
    • Optional Parameters:
      • page: (number) Page number
      • limit: (number) Results per page
  • get_payroll_by_jobcode: Get payroll report grouped by jobcode

    • Required Parameters:
      • start_date: (string) Start date in YYYY-MM-DD format
      • end_date: (string) End date in YYYY-MM-DD format
    • Optional Parameters:
      • page: (number) Page number
      • limit: (number) Results per page
  • 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
      • jobcode_ids: (array of numbers) Filter by specific jobcode IDs
    • Optional Parameters:
      • user_ids: (array of numbers) Filter by specific user IDs
      • group_ids: (array of numbers) Filter by specific group IDs
      • jobcode_type: (string) Filter by type: "regular", "pto", "unpaid_break", "paid_break", "all"
      • customfielditems: (object) Filter by custom field items

Additional Tools

  • get_custom_fields: Get custom tracking fields configured on timecards

    • Parameters:
      • 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
  • 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

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.

相关推荐

  • NiKole Maxwell
  • I craft unique cereal names, stories, and ridiculously cute Cereal Baby images.

  • https://duotify.com
  • Professional code reviewer for a unique language, friendly and helpful.

  • Bora Yalcin
  • Evaluator for marketplace product descriptions, checks for relevancy and keyword stuffing.

  • Andris Teikmanis
  • Latvian GPT assistant for developing GPT applications

  • Joshua Armstrong
  • Confidential guide on numerology and astrology, based of GG33 Public information

  • https://suefel.com
  • Latest advice and best practices for custom GPT development.

  • Navid RezaeiSarchoghaei
  • Professional Flask/SQLAlchemy code guide. Follow: https://x.com/navid_re

  • Callycode Limited
  • A geek-themed horoscope generator blending Bitcoin prices, tech jargon, and astrological whimsy.

  • https://cantaspinar.com
  • Summarizes videos and answers related questions.

  • Emmet Halm
  • Converts Figma frames into front-end code for various mobile frameworks.

  • apappascs
  • Discover the most comprehensive and up-to-date collection of MCP servers in the market. This repository serves as a centralized hub, offering an extensive catalog of open-source and proprietary MCP servers, complete with features, documentation links, and contributors.

  • ShrimpingIt
  • Micropython I2C-based manipulation of the MCP series GPIO expander, derived from Adafruit_MCP230xx

  • OffchainLabs
  • Go implementation of Ethereum proof of stake

  • huahuayu
  • A unified API gateway for integrating multiple etherscan-like blockchain explorer APIs with Model Context Protocol (MCP) support for AI assistants.

  • deemkeen
  • control your mbot2 with a power combo: mqtt+mcp+llm

    Reviews

    3 (1)
    Avatar
    user_ivQitdTN
    2025-04-15

    As a dedicated MCP Server user, I am consistently impressed by its performance and reliability. The seamless integration and robust features provided by semo94 make server management a breeze. Highly recommend checking it out at https://mcp.so/server/exp-mcp-server/semo94 for anyone in need of a top-notch server solution!