TimePRO MCP Server
An MCP server that wraps the TimePRO API, enabling AI assistants to automatically create, view, and manage timesheets for authenticated users. It provides tools for searching clients and projects, retrieving configuration defaults, and performing full CRUD operations on timesheet entries.
README
TimePRO MCP Server
An MCP (Model Context Protocol) server that wraps the TimePRO API, enabling AI assistants to automatically create and manage timesheets on behalf of authenticated users.
Features
- List clients - Search for clients to use in timesheets
- List projects - Get projects for a specific client
- List categories - Get available timesheet categories (Development, Meeting, etc.)
- List locations - Get available work locations
- Get timesheet defaults - Get default values including last used client/project
- List timesheets - View timesheets for a date range
- Get timesheet - Get full details of a specific timesheet
- Create timesheet - Create a new timesheet entry
- Update timesheet - Modify an existing timesheet
- Delete timesheet - Remove a timesheet
Quick Start (npx - No Installation Required)
Add to your Claude Desktop config (claude_desktop_config.json):
{
"mcpServers": {
"timepro": {
"command": "npx",
"args": ["-y", "github:calumjs/TimePRO.MCP"],
"env": {
"TIMEPRO_API_URL": "https://ssw.sswtimepro.com",
"TIMEPRO_API_KEY": "your-api-key-here",
"TIMEPRO_TENANT_ID": "ssw"
}
}
}
}
The config file location:
- Windows:
%APPDATA%\Claude\claude_desktop_config.json - macOS:
~/Library/Application Support/Claude/claude_desktop_config.json
Configuration
The server requires three environment variables:
| Variable | Description | Example |
|---|---|---|
TIMEPRO_API_URL |
TimePRO base URL | https://ssw.sswtimepro.com |
TIMEPRO_API_KEY |
Your personal access token | abc123... |
TIMEPRO_TENANT_ID |
Your tenant ID | ssw |
How to Get Your API Key
- Log into TimePRO: Go to your TimePRO instance and sign in
- Navigate to API Key page: Go to Admin > API Key
- Generate or Copy Key: If you already have a key, it will be displayed. Click "Generate" to create a new key if needed.
- Copy the key: Store it securely
How to Find Your Tenant ID
The tenant ID is visible in:
- The URL when logged into TimePRO (e.g.,
https://ssw.sswtimepro.com/b/ssw/...- tenant is "ssw") - The
x-timepro-tenant-idheader in browser dev tools (Network tab) - Ask your TimePRO administrator
Alternative: Local Installation
If you prefer to install locally:
git clone https://github.com/calumjs/TimePRO.MCP.git
cd TimePRO.MCP
npm install
npm run build
Then use this config:
{
"mcpServers": {
"timepro": {
"command": "node",
"args": ["/path/to/TimePRO.MCP/dist/index.js"],
"env": {
"TIMEPRO_API_URL": "https://ssw.sswtimepro.com",
"TIMEPRO_API_KEY": "your-api-key-here",
"TIMEPRO_TENANT_ID": "ssw"
}
}
}
}
Usage Examples
Once configured, you can ask Claude to manage your timesheets naturally:
- "What clients do I have access to?"
- "Show me my timesheets for this week"
- "Create a timesheet for SSW internal work today from 9am to 5pm"
- "Log 2 hours of development work on the SugarLearning project"
- "Delete my timesheet from yesterday"
Tools Reference
list_clients
Search for clients by name.
Parameters:
search_text(optional): Filter clients by name
list_projects
Get projects for a client.
Parameters:
client_id(required): Client ID (string, e.g., "SSW")
list_categories
Get available timesheet categories. No parameters.
list_locations
Get available work locations. No parameters.
get_timesheet_defaults
Get default values for creating a timesheet.
Parameters:
date(required): Date in YYYY-MM-DD format
list_timesheets
List timesheets in a date range.
Parameters:
start_date(required): Start date in YYYY-MM-DD formatend_date(required): End date in YYYY-MM-DD format
get_timesheet
Get details of a specific timesheet.
Parameters:
timesheet_id(required): Timesheet ID (number)
create_timesheet
Create a new timesheet entry.
Parameters:
client_id(required): Client ID (string)project_id(required): Project ID (string)category_id(required): Category ID (string)date(required): Date in YYYY-MM-DD formatstart_time(required): Start time in HH:MM formatend_time(required): End time in HH:MM formatbreak_minutes(optional): Break time in minutes (default: 0)location_id(optional): Work location IDbillable_id(optional): Billable category IDnote(optional): Description of work
update_timesheet
Update an existing timesheet.
Parameters:
timesheet_id(required): Timesheet ID (number)- All other parameters from create_timesheet (optional)
delete_timesheet
Delete a timesheet.
Parameters:
timesheet_id(required): Timesheet ID (number)
Troubleshooting
"Missing required environment variables"
Ensure all three environment variables are set in your Claude Desktop config.
"TimePRO API error (401)"
Your API key may be invalid or expired. Generate a new one from TimePRO Admin > API Key.
"TimePRO API error (403)"
Your user account may not have permission for the requested operation.
Connection issues
Verify the TIMEPRO_API_URL is correct and accessible from your network.
License
MIT
推荐服务器
Baidu Map
百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
Playwright MCP Server
一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。
Magic Component Platform (MCP)
一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。
Audiense Insights MCP Server
通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。
VeyraX
一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。
graphlit-mcp-server
模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。
Kagi MCP Server
一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。
e2b-mcp-server
使用 MCP 通过 e2b 运行代码。
Neon MCP Server
用于与 Neon 管理 API 和数据库交互的 MCP 服务器
Exa MCP Server
模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。