personal-timesheet-mcp
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@personal-timesheet-mcplog 5 hours for project ABC today"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Timesheet MCP Server
A Model Context Protocol (MCP) server that provides CRUD operations for timesheet management via REST API endpoints.
π€ For End Users: See README-USER.md for simple installation instructions
π¨βπ» For Developers: Continue reading below
π¦ Publishing: See Publishing Guide to distribute your connector
Features
Create timesheet entries
Read timesheet entries (list and get single)
Update existing entries
Delete timesheet entries
List Projects for reference
Configurable API base URL
Support for both Go and Node.js backend APIs
Related MCP server: TimePRO MCP Server
Prerequisites
Node.js 18 or higher
A running instance of the Timesheet Logger backend API
Claude Desktop (for integration)
Installation
Navigate to the mcp directory:
cd mcpInstall dependencies:
npm installConfigure environment variables:
cp .env.example .env
# Edit .env and set TIMESHEET_API_BASE_URLBuild the project:
npm run buildConfiguration
Environment Variables
Create a .env file or set environment variables:
TIMESHEET_API_BASE_URL=http://localhost:3000/apiClaude Desktop Integration
Add to your Claude Desktop configuration file:
macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
For end users (after publishing to npm):
{
"mcpServers": {
"timesheet": {
"command": "timesheet-mcp",
"env": {
"TIMESHEET_API_BASE_URL": "http://localhost:3000/api"
}
}
}
}For local development:
{
"mcpServers": {
"timesheet": {
"command": "node",
"args": ["/absolute/path/to/timesheet_logger/mcp/build/index.js"],
"env": {
"TIMESHEET_API_BASE_URL": "http://localhost:3000/api"
}
}
}
}Usage
Development Mode
Run in development mode with auto-reload:
npm run devProduction Mode
Build and run:
npm run build
npm startAvailable Tools
1. create_timesheet_entry
Create a new timesheet entry.
Parameters:
project_id(string, required): Project IDdate(string, required): Entry date (YYYY-MM-DD)hours(number, required): Hours workeddescription(string, optional): Entry descriptionbillable(boolean, optional): Whether entry is billable (default: true)
2. list_timesheet_entries
List timesheet entries with optional filters.
Parameters:
start_date(string, optional): Filter by start date (YYYY-MM-DD)end_date(string, optional): Filter by end date (YYYY-MM-DD)project_id(string, optional): Filter by project IDlimit(number, optional): Maximum results (default: 50)offset(number, optional): Offset for pagination (default: 0)
3. get_timesheet_entry
Get a single timesheet entry by ID.
Parameters:
entry_id(string, required): Entry ID
4. update_timesheet_entry
Update an existing timesheet entry.
Parameters:
entry_id(string, required): Entry IDproject_id(string, optional): New project IDdate(string, optional): New date (YYYY-MM-DD)hours(number, optional): New hoursdescription(string, optional): New descriptionbillable(boolean, optional): New billable status
5. delete_timesheet_entry
Delete a timesheet entry.
Parameters:
entry_id(string, required): Entry ID
6. list_projects
List available projects.
Parameters: None
7. create_project
Create a new project. Requires admin or manager role.
Parameters:
name(string, required): Project namedescription(string, optional): Project descriptionis_active(boolean, optional): Whether project is active (default: true)
8. login
Manually trigger browser-based login. Opens a browser window for authentication.
Parameters: None
Note: Useful after logout or for manual authentication. If already logged in, will show current user.
9. logout
Logout from the current session and clear stored authentication tokens.
Parameters: None
Note: After logout, you will need to re-authenticate (via browser login) on the next request.
Testing
Test with Local Backend
Start your backend API:
# From backend/api-nodejs or backend/api-go
docker-compose upRun the MCP server:
npm run devTest through Claude Desktop or use the MCP Inspector
Troubleshooting
Connection Refused
Ensure the backend API is running
Verify the
TIMESHEET_API_BASE_URLis correctCheck that the port matches your backend configuration
Authentication Errors
Verify API key if required by your backend
Check that the API endpoint supports the operations
Tool Not Found
Rebuild the project:
npm run buildRestart Claude Desktop
Verify the path in Claude Desktop config is absolute
Development
Project Structure
mcp/
βββ src/
β βββ index.ts # Main MCP server entry point
β βββ config.ts # Configuration management
β βββ types.ts # TypeScript types
β βββ api/
β β βββ client.ts # HTTP client wrapper
β β βββ timesheet.ts # Timesheet API operations
β βββ tools/
β βββ create-entry.ts # Create tool
β βββ list-entries.ts # List tool
β βββ get-entry.ts # Get tool
β βββ update-entry.ts # Update tool
β βββ delete-entry.ts # Delete tool
βββ build/ # Compiled output
βββ package.json
βββ tsconfig.json
βββ README.mdAdding New Tools
Create a new file in
src/tools/Define the tool schema using Zod
Implement the handler function
Register the tool in
src/index.ts
License
MIT
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- Flicense-qualityDmaintenanceA comprehensive MCP server for time tracking, project management, and AI-powered memory storage using semantic search. It enables users to log time, manage client billing, and capture shared or personal ideas through integrated tools and team collaboration features.Last updated1
- FlicenseAqualityCmaintenanceAn 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.Last updated10
- Alicense-qualityCmaintenanceThis MCP server allows AI assistants to interact with the Beebole REST API for time tracking management.Last updatedMIT
- Flicense-qualityDmaintenanceA TypeScript-based MCP server that integrates with the Clockodo time tracking API, enabling access to users, time entries, and projects.Last updated
Related MCP Connectors
A MCP server built for developers enabling Git based project management with project and personalβ¦
MCP server for generating rough-draft project plans from natural-language prompts.
Read-only MCP server for ClassQuill, a tutoring-business-management platform.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/cruzleedan/personal-timesheet-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server