EgzonArifi/povio-worklog-mcp
If you are the rightful owner of povio-worklog-mcp and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to dayong@mcphub.com.
The Povio Worklog MCP Server is a tool designed to automate worklog generation from git commits, enhanced with AI, and integrated with the Povio dashboard.
Povio Worklog MCP Server
A Model Context Protocol (MCP) server that provides automated worklog generation from git commits with AI enhancement and seamless Povio dashboard integration.
Transform this:
git log # Copy commits manually
# Open Povio dashboard
# Fill in project, hours, description
# Submit
Into this:
wl FaceFlip 8 # Done! ✓
Features
- 📋 List Projects: Easily view all your active Povio projects
- 🏷️ Use Project Names: Simply use project names like "FaceFlip" or "Autobiography"
- 🔍 Generate Worklog: Automatically analyze git commits and generate professional worklog descriptions
- 📅 Flexible Dates: Support for "today", "yesterday", and specific dates (e.g., "2024-10-28", "Oct 28, 2024")
- 🤖 AI Enhancement (Default): AI automatically generates optimized, guideline-compliant descriptions from your commits
- 📤 Post to Povio: Post worklogs directly to Povio dashboard
- ⚡ Combined Action: Generate and post in one step
- 🎫 Smart Parsing: Automatically extracts ticket numbers (e.g., ENG-155, WAY-204)
- 📊 Professional Formatting: Creates client-appropriate worklog descriptions
Installation
Quick Start (Recommended - npm)
No need to clone! Just add the configuration to Cursor:
File: ~/.cursor/mcp.json
{
"mcpServers": {
"povio-worklog": {
"command": "npx",
"args": ["-y", "povio-worklog-mcp"],
"env": {
"POVIO_API_TOKEN": "your-povio-token-value"
}
}
}
}
That's it! The package will be automatically downloaded and run via npx.
Configuration Details:
- POVIO_API_TOKEN: Your Povio dashboard cookie token value (see Getting Your Token below for detailed instructions)
- Just provide the token value - the
_poviolabs_dashboard=prefix is automatically added
- Just provide the token value - the
- Note: The tool uses the current working directory of your Cursor workspace as the git repository
- Updates: npx automatically uses the latest version on each run
Alternative: Local Development Installation
If you want to contribute or modify the source code:
1. Clone the Repository
git clone https://github.com/EgzonArifi/povio-worklog-mcp.git
cd mcp-server
2. Install Dependencies
npm install
3. Build the Server
npm run build
4. Configure Cursor
File: ~/.cursor/mcp.json
{
"mcpServers": {
"povio-worklog": {
"command": "node",
"args": ["/absolute/path/to/mcp-server/dist/index.js"],
"env": {
"POVIO_API_TOKEN": "your-povio-token-value"
}
}
}
}
When to rebuild:
- ✅ First time setup
- ✅ After pulling updates from git
- ✅ After making changes to
src/files
Restart Cursor
After adding the configuration, fully restart Cursor (Cmd+Q and reopen, not just close the window) to load the MCP server.
⚠️ Getting "command not found" error? See for quick fixes. Most common solution:
npm cache clean --forceand restart Cursor.
Usage in Cursor
Once configured, you can use natural language to interact with the worklog tools:
Quick Commands
For faster workflow, use these short patterns:
wl → Generate worklog for today
wl yesterday → Generate worklog for yesterday
wl 2024-10-28 → Generate worklog for specific date (Oct 28)
wl list → List Povio projects
wl post FaceFlip 8 → Generate and post to FaceFlip, 8 hours
wl FaceFlip 4 → Generate and post to FaceFlip, 4 hours
wl yesterday FaceFlip 8 → Generate yesterday's worklog and post
Or use full natural language:
"generate worklog for today"
"generate worklog for yesterday"
"generate worklog for 2024-10-28"
"post worklog to FaceFlip with 4 hours"
"list my povio projects"
Keyboard Shortcuts
- Cursor Composer (
Cmd+IorCmd+K): Type your command - Chat (
Cmd+L): Use for longer workflows - .cursorrules: Add custom shortcuts (see
.cursorrulesfile in project)
Pro Tips
- Use
.cursorrulesfile for project-specific shortcuts - Type "wl" for quick worklog commands (if using .cursorrules)
- Save common project names as shortcuts in your rules
- Chain commands: "wl list, then post to FaceFlip 8 hours"
Generate Worklog (AI-Enhanced by Default)
You: "generate worklog for today"
AI: [Uses generate_worklog tool with AI enhancement]
Analyzes commits and generates optimized description following Povio guidelines
Returns: Enhanced, client-appropriate worklog description
Generate without AI Enhancement (Not Recommended)
You: "generate worklog for today without AI"
AI: [Uses generate_worklog tool with enhanceWithAI=false]
Returns: Basic auto-generated description
List Povio Projects
You: "list my povio projects"
AI: [Uses list_povio_projects tool]
Shows all your active projects with roles
Post Worklog
You: "post worklog with 4 hours to FaceFlip"
AI: [Uses post_worklog tool]
Automatically resolves project by name and posts
You: "post worklog with 6 hours to Autobiography"
AI: [Uses post_worklog tool]
Posts to Autobiography
Generate and Post
You: "generate and post worklog for today, 4 hours"
AI: [Uses generate_and_post_worklog tool]
Generates from commits AND posts to Povio (uses DEFAULT_PROJECT_ID)
You: "generate and post worklog for yesterday, 6 hours, project 12345"
AI: [Uses generate_and_post_worklog tool]
Generates and posts to specific project
Available Tools
1. list_povio_projects
List all your active projects in Povio.
Parameters: None
Returns:
Found 6 active project(s):
• Autobiography (Ios Engineer)
• FaceFlip (Ios Engineer)
• Povio Estimations (Ios Engineer)
• Team Leads (Lead Engineer)
• iOS Internal (Ios Engineer)
• Bunny CDN Mobile (Ios Engineer)
Usage:
You: "list my povio projects"
AI: [Uses list_povio_projects tool]
Shows all your active projects with roles
2. generate_worklog
Generate a worklog from git commits.
Parameters:
timeframe(required): Date format - supports:"today","yesterday"- Specific dates:
"2024-10-28"(YYYY-MM-dd),"10/28/2024"(MM/dd/YYYY),"28.10.2024"(dd.MM.YYYY)
repository(optional): Path to git repository (defaults to current directory)enhanceWithAI(optional): Defaults totrue. Set tofalseto disable AI enhancement (not recommended)
Returns (AI enhancement mode - default): The tool returns:
- Detailed commit information with context
- Povio guidelines for the AI to follow
- A prompt requesting the AI to generate an optimized description
- Auto-generated description as a reference
The AI will then analyze the commits and create a superior, client-appropriate worklog description.
Returns (basic mode - when disabled):
{
"date": "2024-10-28",
"description": "[ENG-155] Implement Screenshot Upload Feature",
"commits": [
"8e644dc - ENG-155 Implement Screenshot Upload Feature"
],
"ticketNumbers": ["ENG-155"]
}
3. post_worklog
Post a worklog entry to Povio dashboard.
Parameters:
description(required): Worklog descriptionprojectName(required): Project name (e.g., "FaceFlip", "Autobiography")hours(required): Number of hours workeddate(required): Date in YYYY-MM-dd format
Returns:
✓ Worklog posted successfully!
Date: 2024-10-28
Hours: 4
Project ID: 15886
Usage:
You: "post worklog with 4 hours to FaceFlip"
AI: [Uses post_worklog tool]
Automatically resolves "FaceFlip" and posts
You: "post 6 hours to Autobiography"
AI: [Uses post_worklog tool]
Posts to Autobiography
4. generate_and_post_worklog
Combined tool that generates from commits and posts to Povio.
Parameters:
timeframe(required): Date format - supports:"today","yesterday"- Specific dates:
"2024-10-28"(YYYY-MM-dd),"10/28/2024"(MM/dd/YYYY),"28.10.2024"(dd.MM.YYYY)
projectName(required): Project name (e.g., "FaceFlip", "Autobiography")hours(required): Number of hours workedrepository(optional): Path to git repositoryenhanceWithAI(optional): Defaults totrue. Set tofalseto disable AI enhancement and auto-post (not recommended)
Returns: Combined summary with generation and posting results.
Note: By default (AI enhancement enabled), the tool will:
- Generate the worklog with AI enhancement prompt
- Wait for AI to create optimized description
- NOT post automatically (you'll then use
post_worklogwith the AI-generated description)
AI-Enhanced Worklog Generation (Default!)
All worklog generation now uses AI enhancement by default. This feature:
How It Works
- Analyze Commits: The tool extracts your git commits with full context
- Apply Guidelines: Provides the AI with Povio's specific guidelines
- Generate Description: The AI creates an optimized, client-appropriate description
- Review & Post: You review the AI-generated description and post it
Benefits
- 🎯 Better Context: AI understands the bigger picture from multiple commits
- 📝 Improved Language: Generates more professional, client-facing descriptions
- ✅ Guideline Compliance: Automatically follows Povio's invoicing guidelines
- ⚡ Time Saving: No need to manually craft descriptions
Example
Your commits:
8e644dc - ENG-155 Implement Screenshot Upload Feature
a2b3c4d - ENG-155 Add error handling for uploads
d5e6f7g - ENG-155 Update UI for better UX
Standard description:
[ENG-155] Implement Screenshot Upload Feature
AI-enhanced description:
[ENG-155] Implemented screenshot upload functionality in developer settings with comprehensive error handling and improved user interface for enhanced user experience
Usage
AI enhancement is automatic - just use the normal commands:
You: "generate worklog for today"
To disable AI enhancement (not recommended), you can explicitly set enhanceWithAI: false when calling the tool directly, or say "without AI".
Important: Client-Facing Descriptions
This tool generates descriptions that appear on client invoices. The formatter:
- ✅ Filters commits to only YOUR commits (based on git user.email)
- ✅ Creates professional, client-appropriate descriptions
- ✅ Removes technical jargon (branch names, PR numbers, etc.)
- ✅ Extracts and includes ticket numbers
- ✅ Combines multiple commits into dense, descriptive format
Povio Guidelines:
Logs are shown on invoices for clients exactly as they are, so make sure they are appropriate and descriptive. Write down what you accomplished for the client in a dense format and add ticket numbers or descriptions if possible.
The tool automatically formats your commits to follow these guidelines. With AI enhancement mode, you get even better descriptions that maximize clarity and professionalism.
Getting Your Povio API Token
The POVIO_API_TOKEN should be set to just the cookie token value. The _poviolabs_dashboard= prefix is automatically added by the server.
Step-by-Step Instructions:
-
Log in to Povio Dashboard
-
Open DevTools (Press
F12or right-click → Inspect) -
Go to Application/Storage tab
- Chrome/Edge: Click "Application" tab → "Cookies" →
https://app.povio.com - Firefox: Click "Storage" tab → "Cookies" →
https://app.povio.com - Safari: Enable Developer menu, then Develop → Show Web Inspector → Storage
- Chrome/Edge: Click "Application" tab → "Cookies" →
-
Find the cookie named
_poviolabs_dashboard -
Copy just the cookie value (the part after
_poviolabs_dashboard=):s%3Aabcd1234...xyz⚠️ Important:
- Copy only the value (the part after the
=sign) - Do NOT include
_poviolabs_dashboard=- it's added automatically - The value is usually very long (300-500 characters)
- Don't add quotes around it in the config
- Copy only the value (the part after the
-
Add to your Cursor MCP configuration (
~/.cursor/mcp.json):
{
"mcpServers": {
"povio-worklog": {
"command": "npx",
"args": ["-y", "povio-worklog-mcp"],
"env": {
"POVIO_API_TOKEN": "s%3Aabcd1234...your-actual-cookie-value"
}
}
}
}
Example (shortened for display):
"POVIO_API_TOKEN": "s%3AY1lndE1GK256eTZzZmd0L2s5ODc2djdqaTdrL2VaZFlFS2..."
Troubleshooting:
- ❌ Wrong:
"your-povio-token-value"(placeholder text) - ❌ Wrong:
"_poviolabs_dashboard=s%3Aabcd1234..."(includes prefix - will still work but unnecessary) - ✅ Correct:
"s%3Aabcd1234..."(just the token value)
Your Projects
Use list_povio_projects to see all your active projects with their IDs.
Common examples:
- FaceFlip (ID: 15886)
- Autobiography (ID: 14093)
- Team Leads (ID: 13396)
- iOS Internal (ID: 13247)
Development
Watch Mode
For development with auto-rebuild:
npm run dev
Clean Build
npm run clean
npm run build
Manual Testing
You can test the server manually by running:
node dist/index.js
Then send JSON-RPC messages via stdin.
Troubleshooting
Server Not Starting
-
Check that the server was built:
ls -la dist/index.js -
Test the server manually:
node dist/index.js(It should run without errors and wait for input)
-
Check Cursor logs for MCP errors
Authentication Errors
If posting to Povio fails:
- Verify your token is set in the Cursor MCP configuration
- Check token validity (it may have expired)
- Get a fresh token from the Povio dashboard
No Commits Found
If worklog generation returns no commits:
-
Verify you're in a git repository:
git status -
Check if you have commits today:
git log --since="today" --oneline -
The server uses
--allflag to check all branches
Architecture
This MCP server is built with TypeScript and follows the Model Context Protocol specification. It provides structured tools that AI assistants like Claude can use to help with worklog management.
Key Components:
src/services/git.ts- Git commit analysissrc/services/povio.ts- Povio API integrationsrc/services/formatter.ts- Worklog formattingsrc/tools/- MCP tool definitions
License
MIT