This MCP server provides a unified interface to access all QuickBooks Time API functionality, combining capabilities for job codes, reports, timesheets, and user management in a single, convenient service. It simplifies interactions with QuickBooks Time through a structured JSON-RPC interface.
Install the required dependencies:
pip install -r requirements.txt
Create a .env
file with your QuickBooks Time access token:
QB_TIME_ACCESS_TOKEN=your_access_token_here
NODE_ENV=development
To integrate with Claude Desktop, configure the server in your Claude Desktop settings:
{
"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"
}
}
}
}
Run the server using Python:
python main.py
The server will start listening for JSON-RPC requests on stdin/stdout.
Use get_jobcodes
to retrieve job codes with filtering options:
ids
, name
, active
type
(regular, pto, paid_break, unpaid_break, all)parent_ids
customfields
, modified_before
, modified_since
page
, limit
Use get_jobcode
with required parameter id
to retrieve a specific job code.
Use get_jobcode_hierarchy
to get the complete jobcode hierarchy structure.
Use get_timesheets
with required parameters (at least one):
ids
, start_date
, modified_before
, or modified_since
Use get_timesheet
with required parameter id
to retrieve a specific timesheet.
Use get_current_timesheets
to see currently active timesheets with parameter on_the_clock
set to "yes".
Use get_users
with various filtering options:
ids
, not_ids
, employee_numbers
, usernames
group_ids
, not_group_ids
payroll_ids
, active
first_name
, last_name
modified_before
, modified_since
Use get_user
with required parameter id
to retrieve a specific user.
Use get_current_user
to retrieve information about the authenticated user.
Use get_groups
to retrieve group information with optional filtering.
Use get_projects
with optional filtering parameters:
ids
, active
, client_id
, jobcode_id
modified_before
, modified_since
page
, per_page
Use get_project_activities
to retrieve project activity logs with optional filtering.
Use get_current_totals
to get a snapshot of current time totals.
Use get_payroll
with required parameters:
start_date
: Beginning of pay period (YYYY-MM-DD)end_date
: End of pay period (YYYY-MM-DD)Use get_payroll_by_jobcode
to get payroll data grouped by jobcode.
Use get_project_report
to retrieve detailed project time entries.
Use get_custom_fields
to retrieve custom tracking fields configured in QuickBooks Time.
Use get_last_modified
to check when different object types were last updated.
Use get_notifications
to retrieve notification messages.
Use get_managed_clients
to retrieve client information.
There are two ways to add an MCP server to Cursor. The most common way is to add the server globally in the ~/.cursor/mcp.json
file so that it is available in all of your projects.
If you only need the server in a single project, you can add it to the project instead by creating or adding it to the .cursor/mcp.json
file.
To add a global MCP server go to Cursor Settings > MCP and click "Add new global MCP server".
When you click that button the ~/.cursor/mcp.json
file will be opened and you can add your server like this:
{
"mcpServers": {
"cursor-rules-mcp": {
"command": "npx",
"args": [
"-y",
"cursor-rules-mcp"
]
}
}
}
To add an MCP server to a project you can create a new .cursor/mcp.json
file or add it to the existing one. This will look exactly the same as the global MCP server example above.
Once the server is installed, you might need to head back to Settings > MCP and click the refresh button.
The Cursor agent will then be able to see the available tools the added MCP server has available and will call them when it needs to.
You can also explictly ask the agent to use the tool by mentioning the tool name and describing what the function does.