Enables automated worklog generation by analyzing git commits from a repository to extract ticket numbers and professional activity descriptions.
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., "@Povio Worklog MCP Servergenerate a worklog for today and post 8 hours to FaceFlip"
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.
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
# SubmitInto 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
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-server2. Install Dependencies
npm install3. Build the Server
npm run build4. 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 TROUBLESHOOTING.md 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 postOr 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 commandChat (
Cmd+L): Use for longer workflows.cursorrules: Add custom shortcuts (see
.cursorrulesfile in project)
Pro Tips
Use
.cursorrulesfile for project-specific shortcutsType "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 descriptionGenerate without AI Enhancement (Not Recommended)
You: "generate worklog for today without AI"
AI: [Uses generate_worklog tool with enhanceWithAI=false]
Returns: Basic auto-generated descriptionList Povio Projects
You: "list my povio projects"
AI: [Uses list_povio_projects tool]
Shows all your active projects with rolesPost 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 AutobiographyGenerate 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 projectAvailable 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 roles2. 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: 15886Usage:
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 Autobiography4. 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 UXStandard description:
[ENG-155] Implement Screenshot Upload FeatureAI-enhanced description:
[ENG-155] Implemented screenshot upload functionality in developer settings with comprehensive error handling and improved user interface for enhanced user experienceUsage
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.comFirefox: Click "Storage" tab β "Cookies" β
https://app.povio.comSafari: Enable Developer menu, then Develop β Show Web Inspector β Storage
Find the cookie named
_poviolabs_dashboardCopy 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 automaticallyThe value is usually very long (300-500 characters)
Don't add quotes around it in the config
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 devClean Build
npm run clean
npm run buildManual Testing
You can test the server manually by running:
node dist/index.jsThen send JSON-RPC messages via stdin.
Troubleshooting
Server Not Starting
Check that the server was built:
ls -la dist/index.jsTest 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 statusCheck if you have commits today:
git log --since="today" --onelineThe 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