KosmoKrator

productivity

ServiceM8 MCP, CLI, and Lua Integration for AI Agents

ServiceM8 integration docs for AI agents: MCP gateway setup, ServiceM8 CLI commands, Lua API reference, credentials, and function schemas.

ServiceM8 for agents

Credentials can be configured manually in web or CLI hosts.

Use this integration from Lua code mode, the headless integrations CLI, or the KosmoKrator MCP gateway. The same package metadata powers all three surfaces.

Agent Surfaces

Machine-Readable Metadata

Function Catalog

FunctionTypeParametersDescription
service-m8.servicem8_list_jobs Read read 3 List jobs from ServiceM8. Returns job details including status, client, dates, and descriptions. Supports filtering by status and pagination.
service-m8.servicem8_get_job Read read 1 Get detailed information about a specific ServiceM8 job by its UUID. Returns full job details including status, client, description, dates, and assigned staff.
service-m8.servicem8_list_clients Read read 2 List clients from ServiceM8. Returns client details including name, email, phone, and address. Supports pagination.
service-m8.servicem8_get_client Read read 1 Get detailed information about a specific ServiceM8 client by their UUID. Returns client details including name, email, phone, billing address, and notes.
service-m8.servicem8_create_job Write write 3 Create a new job in ServiceM8. Requires a client UUID. Optionally specify a job template and description to pre-populate the job.
service-m8.servicem8_list_activities Read read 3 List activity records from ServiceM8. Returns a timeline of events such as job status changes, comments, and notes. Supports filtering by job and pagination.
service-m8.servicem8_get_current_user Read read 0 List staff members visible to the authenticated ServiceM8 token. ServiceM8 does not expose a dedicated /me endpoint in the public API.