KosmoKrator

messaging

Gotify MCP Integration for OpenAI Agents SDK

Connect Gotify to OpenAI Agents SDK through the local KosmoKrator MCP gateway with scoped tools, credentials, and write policy.

5 functions 3 read 2 write API token auth

Connect Gotify 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.

Gotify MCP Config for OpenAI Agents SDK

Use headless JSON commands for CI-style execution and MCP for agent tool discovery.

{
  "mcpServers": {
    "kosmokrator-gotify": {
      "type": "stdio",
      "command": "kosmo",
      "args": [
        "mcp:serve",
        "--integration=gotify",
        "--write=deny"
      ]
    }
  }
}

Run the Gateway Manually

kosmokrator mcp:serve --integration=gotify --write=deny

Why Use KosmoKrator Here

Scoped tools

Expose only Gotify instead of a broad multi-service tool list.

Local credentials

Reuse credentials already configured for the KosmoKrator CLI and Lua runtime.

Write policy

Start read-only, then opt into ask or allow for trusted workspaces.

Gotify Tools Visible to OpenAI Agents

OpenAI Agents sees stable MCP tool names generated from the Gotify integration catalog.

MCP toolSource functionTypeDescription
integration__gotify__gotify_list_messages gotify.gotify_list_messages Read List messages from the Gotify application. Returns the most recent messages, with optional pagination using "since" to fetch messages newer than a given ID.
integration__gotify__gotify_create_message gotify.gotify_create_message Write Send a notification message via Gotify. The message body supports Markdown formatting. Use priority 0–4 for low, 5 for normal, and 6–10 for high priority.
integration__gotify__gotify_delete_message gotify.gotify_delete_message Write Delete a message from Gotify by its ID. Use the list_messages tool to find message IDs.
integration__gotify__gotify_get_health gotify.gotify_get_health Read Check the health status of the Gotify server. Returns server health information including database status.
integration__gotify__gotify_get_current_user gotify.gotify_get_current_user Read Get information about the currently authenticated Gotify user, including username and admin status.

Related Gotify Pages