productivity
Kimai MCP Integration for OpenAI Agents SDK
Connect Kimai to OpenAI Agents SDK through the local KosmoKrator MCP gateway with scoped tools, credentials, and write policy.
Connect Kimai to OpenAI Agents SDK
Attach KosmoKrator integration tools to OpenAI Agents SDK workflows through a local MCP gateway.
Start the KosmoKrator MCP gateway locally and point the OpenAI Agents SDK MCP tool at that process or wrapper. The gateway is local, scoped to this integration, and starts with
--write=deny so OpenAI Agents can inspect read-capable tools without receiving write access by default.
Kimai MCP Config for OpenAI Agents SDK
Use headless JSON commands for CI-style execution and MCP for agent tool discovery.
{
"mcpServers": {
"kosmokrator-kimai": {
"type": "stdio",
"command": "kosmo",
"args": [
"mcp:serve",
"--integration=kimai",
"--write=deny"
]
}
}
} Run the Gateway Manually
kosmokrator mcp:serve --integration=kimai --write=deny Why Use KosmoKrator Here
Expose only Kimai instead of a broad multi-service tool list.
Reuse credentials already configured for the KosmoKrator CLI and Lua runtime.
Start read-only, then opt into ask or allow for trusted workspaces.
Kimai Tools Visible to OpenAI Agents
OpenAI Agents sees stable MCP tool names generated from the Kimai integration catalog.
| MCP tool | Source function | Type | Description |
|---|---|---|---|
integration__kimai__kimai_list_timesheets | kimai.kimai_list_timesheets | Read | List time-tracking entries from Kimai. Supports filtering by user, project, date range, and state. Returns paginated results with timesheet details including duration, description, and associated project/activity. |
integration__kimai__kimai_get_timesheet | kimai.kimai_get_timesheet | Read | Get details of a specific timesheet entry from Kimai. Returns the full timesheet record including begin/end timestamps, duration, description, project, activity, and user information. |
integration__kimai__kimai_create_timesheet | kimai.kimai_create_timesheet | Write | Create a new time-tracking entry in Kimai. Requires a begin timestamp and at least a project ID. Optionally specify an end time, activity, and description to categorize the time entry. |
integration__kimai__kimai_list_projects | kimai.kimai_list_projects | Read | List projects from Kimai. Supports filtering by customer and visibility. Returns project details including name, customer, budget, and time budget information. |
integration__kimai__kimai_get_project | kimai.kimai_get_project | Read | Get details of a specific project from Kimai. Returns the full project record including name, customer, comment, budget, time budget, and visibility status. |
integration__kimai__kimai_list_customers | kimai.kimai_list_customers | Read | List customers from Kimai. Supports filtering by visibility. Returns customer details including name, company, contact information, and associated project count. |
integration__kimai__kimai_get_current_user | kimai.kimai_get_current_user | Read | Get the profile of the currently authenticated Kimai user. Returns user details including username, display name, email, timezone, and language preferences. |