odoo-timesheet-mcp
Enables to manage Odoo 16 timesheets via the External API, supporting CRUD operations on timesheet entries.
README
Odoo Timesheet MCP Server
An MCP (Model Context Protocol) server for managing Odoo 16 timesheets via the External API.
Features
- List timesheet entries with filtering
- Read detailed timesheet information
- Create new timesheet entries
- Update existing timesheet entries
- Delete timesheet entries
Prerequisites
- Node.js 18 or higher
- An Odoo 16 instance with External API access
- Odoo API credentials (username/password or API key)
Installation
npm install
npm run build
Configuration
Copy the example configuration file:
cp config.example.json config.json
Edit config.json with your Odoo instance details:
{
"odoo_url": "https://your-instance.odoo.com",
"odoo_db": "your-database-name",
"odoo_username": "your-username",
"odoo_password": "your-password-or-api-key"
}
Usage
As MCP Server
Add to your MCP client configuration:
{
"mcpServers": {
"odoo-timesheet": {
"command": "node",
"args": ["/path/to/odoo-timesheet-mcp/dist/index.js"],
"env": {
"ODOO_URL": "https://your-instance.odoo.com",
"ODOO_DB": "your-database",
"ODOO_USERNAME": "your-username",
"ODOO_PASSWORD": "your-password"
}
}
}
}
Available Tools
list_timesheets
List timesheet entries with optional filters.
Parameters:
limit(optional): Maximum number of entries to returnoffset(optional): Number of entries to skipemployee_id(optional): Filter by employee IDproject_id(optional): Filter by project IDdate_from(optional): Filter entries from date (YYYY-MM-DD)date_to(optional): Filter entries to date (YYYY-MM-DD)
read_timesheet
Read detailed information for specific timesheet entries.
Parameters:
ids: Array of timesheet entry IDs to read
create_timesheet
Create a new timesheet entry.
Parameters:
project_id: Project IDtask_id(optional): Task IDname: Description of workunit_amount: Hours workeddate: Date (YYYY-MM-DD)employee_id(optional): Employee ID
update_timesheet
Update existing timesheet entries.
Parameters:
ids: Array of timesheet entry IDs to updatevalues: Object with fields to update
delete_timesheet
Delete timesheet entries.
Parameters:
ids: Array of timesheet entry IDs to delete
Development
npm run watch # Watch mode for development
npm run dev # Build and run
API Reference
This server uses the Odoo 16 External API (XML-RPC): https://www.odoo.com/documentation/16.0/developer/reference/external_api.html
The main model used is account.analytic.line which represents timesheet entries in Odoo.
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.