Skip to main content

Timesheet Management System MCP Server - Based on FastMCP 2.0

Project description

Timesheet MCP Server

PyPI version Python 3.10+ License: MIT

A Model Context Protocol (MCP) server for timesheet management system, built with FastMCP 2.0.

🚀 Quick Start

Installation

Using uvx (recommended):

uvx timesheet-mcp-server

Using pip:

pip install timesheet-mcp-server

Configuration

Set up your Claude Desktop config file:

macOS: ~/Library/Application Support/Claude/claude_desktop_config.json Windows: %APPDATA%\Claude\claude_desktop_config.json

{
  "mcpServers": {
    "timesheet": {
      "command": "uvx",
      "args": ["timesheet-mcp-server"],
      "env": {
        "TIMESHEET_API_BASE_URL": "http://127.0.0.1:8080/api",
        "TIMESHEET_API_TOKEN": "your-jwt-token"
      }
    }
  }
}

✨ Features

Time Entry Queries (2)

  • Get my time entries with filters
  • Get recent time entries

User Queries (3)

  • Search users by name
  • Get user details
  • Get user time entries

Project Queries (7)

  • List projects with filters
  • Get my projects
  • Get project tree structure
  • Get project members
  • Get project details
  • Get project time plan
  • List business lines

Reports & Statistics (5)

  • Time statistics with grouping
  • Time entry reports
  • Project time reports
  • Working days information
  • Time entry warnings

📖 Usage Examples

After setting up, you can use natural language in Claude Desktop:

Please show me my time entries

List all projects

Search for user "John Doe"

Get time statistics for this week

Show me project details for project #123

🔧 Environment Variables

  • TIMESHEET_API_BASE_URL - API base URL (required)
  • TIMESHEET_API_TOKEN - JWT token for authentication (required)
  • MCP_TRANSPORT - Transport method (default: stdio)
  • MCP_LOG_LEVEL - Logging level (default: INFO)

🛠️ Development

Clone the repository:

git clone https://github.com/yangyuezheng/ai-emp.git
cd ai-emp/timesheet-mcp-server-v2

Install dependencies:

pip install -r requirements.txt

Run tests:

python test_tools.py

📚 Documentation

📄 License

MIT License - see LICENSE file for details

🤝 Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

📞 Support

🙏 Acknowledgments


Version: 2.0.0 Status: Production Ready ✅

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

timesheet_tms_mcp-1.0.0.tar.gz (44.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

timesheet_tms_mcp-1.0.0-py3-none-any.whl (21.6 kB view details)

Uploaded Python 3

File details

Details for the file timesheet_tms_mcp-1.0.0.tar.gz.

File metadata

  • Download URL: timesheet_tms_mcp-1.0.0.tar.gz
  • Upload date:
  • Size: 44.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.9.6

File hashes

Hashes for timesheet_tms_mcp-1.0.0.tar.gz
Algorithm Hash digest
SHA256 0672271480401b48dbdb15d007efcba8305739d3d4e2ff53acda1d97e3d4fb72
MD5 b1abbd4ab6c074d1c31bf5f10f9f41f3
BLAKE2b-256 b1b0ec031e65e3845fe8220c53ab5f6441163f7ae7f6fa4c670fb0ffe2aaabf0

See more details on using hashes here.

File details

Details for the file timesheet_tms_mcp-1.0.0-py3-none-any.whl.

File metadata

File hashes

Hashes for timesheet_tms_mcp-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 417c7e50b2338928d9822c3667937c4e4c892a2dbc80d629feea7a06c2ae6c8b
MD5 ef2356a3ce0ae72babecbf6238cc5767
BLAKE2b-256 98789b4d306ae175b2d8a894a922d22e86cee9976bb27c7d885d94479ee2fcf1

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page