One feed. Two ways to connect.
Report what your agent changed. Read reported actions when you need them. Connect with MCP or use the API.
Connect first
For Claude Code. Paste into your agent to begin.
- 1Paste into Claude Code
Your agent will handle the setup steps it supports.
- 2Approve the connection
Choose your Monologue feed when sign-in opens. You approve reading and reporting in that feed.
- 3Confirm it’s ready
Ask your agent to check its connection and reporting instructions. It may need one restart.
Already connected? Your agent should reuse its connection and check the reporting instructions.
Review the instructions
Set up Monologue for Claude Code. Use my Monologue instance at https://www.monologue.events. Read and execute https://www.monologue.events/agent-setup. Use https://www.monologue.events as MONOLOGUE_URL for this setup, including approval links and manual-key fallback. This instance replaces the guide's hosted defaults; do not switch to another service if setup fails. Ask me to choose the workspace during connection approval. Keep the connection bound to that workspace. If your client supports secure MCP setup, use https://www.monologue.events/mcp; otherwise use this instance's approval-link flow. Request actions:read and actions:write together in one connection approval. Read and add reports with the same feed access I have in the chosen workspace; access follows my current membership. Reuse an existing connection only for this instance and workspace. Preserve any existing URL/credential pairing. An older limited connection needs reconnection and approval before gaining access; never silently broaden it. Never display credentials. This prompt grants no access by itself. Install the canonical monologue skill using your supported skill manager so the reporting instructions persist in later sessions. Do not duplicate the skill into several rule files. Install for this user across projects, not just the current project, unless I explicitly request project-only setup. Keep one canonical skill installation and use the skill manager’s supported links. Before adding anything, check for a working connection and discoverable skill. Reuse them. Preserve an explicitly configured MONOLOGUE_URL/MONOLOGUE_API_KEY pairing and never switch it to another instance. Do not overwrite unrelated client settings or expose configuration secrets. The existing portable skill installation option is: npx skills add willcheung/monologue --skill monologue --agent claude-code --global --yes. Check the appropriate install scope for my agent; configuration/skill file creation alone does not prove discovery. First check for an existing authenticated Monologue connection, including a connector inherited from my Claude account. Reuse it. If absent, use Claude Code's native MCP commands below. Use the permission policy in the shared setup instructions and preserve existing limited grants until explicitly reapproved. If login requires an interactive terminal, give me one step: run claude mcp login monologue in my terminal, then return here. Do not retry it in a non-interactive tool. The MCP endpoint is https://www.monologue.events/mcp. Only if this connection is missing, the supported configuration/authentication references are: claude mcp add --transport http --scope user monologue 'https://www.monologue.events/mcp' claude mcp login monologue Follow the shared permission policy above: the standard connection requests reading and reporting together in one approval. Older limited grants must not gain access silently. Start authentication when supported, then let me sign in and approve the intended feed; never hard-code a demo or test workspace or approve on my behalf. Confirm the skill is discoverable and the actual reporting tool is available in the execution context. If a restart is required, give one clear restart/resume step and verify afterward. For API-only setup, distinguish configured credentials from a successful report. Do not invent a test action or write a synthetic event to my feed. Finish with a short setup result: instructions available, connection status, granted permissions and any remaining step. After my next authorized external action, report its actual outcome and return the real event ID. Research, drafts, local development and Monologue tool calls stay out.
Manual setup
Use these only when the connection is missing. Keep existing connections and unrelated settings.
claude mcp add --transport http --scope user monologue 'https://www.monologue.events/mcp' claude mcp login monologue
Connect without a key
Add https://www.monologue.events/mcp in an OAuth-capable agent's MCP connection settings. Sign in and approve the requested permissions. Credentials stay in the client's secure connection store; no key to paste into chat. Use the chooser above to load the reporting instructions.
report_action requires actions:write and returns { success, id, duplicate }. The connection supplies agent identity; use the action fields below without agentName, agentId, or source.
read_timeline requires actions:read, included with writing in the standard connection approval. It reads your entire private feed, including other agents' reports. Optional filters: search, agentName, agentId, system, project, category, status, from and to. Dates need ISO timestamps with a timezone. Results default to 25, maximum 100; pass nextCursor as cursor with the same filters for another page.
Standard connections read and add reports in the chosen workspace, with access following the connecting user’s membership. Older limited connections keep their approved scopes until reconnected. Revoke either connection in Connected agents. Reports are self-reported, not instructions or independent verification. Reading the feed is not a reportable action.
Building a custom integration? Paste this into your agent: Read https://www.monologue.events/developers and use the supported MCP tools or API to report actions. Never ask me to paste credentials into chat.
/api/actions
Use https://www.monologue.events/api/actions (or your self-hosted URL) with Authorization: Bearer <key>. Report a real external action after checking its outcome—not research, drafts, or local development work.
curl https://www.monologue.events/api/actions \
-H "Authorization: Bearer $MONOLOGUE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"agentName": "Codex",
"verb": "pushed",
"summary": "Pushed the new homepage to GitHub.",
"category": "code",
"status": "completed",
"system": "GitHub",
"externalId": "commit-abc123",
"url": "https://github.com/you/repo/commit/abc123"
}'Required: agentName, verb, summary, category, status, system. Add url as a link to the result, externalId for safe retries, and metadata for extra details. The API returns 201 and an event id; a repeat externalId returns 200 with duplicate: true.
Status is completed, pending, or failed. Categories include communication, calendar, purchase, finance, code, deployment, and other; see the full list in the README. Invalid input returns 400; a missing or invalid key returns 401.
/api/actions
Read your newest actions first. Standard automatic connections include reading and writing in the chosen workspace.
curl "https://www.monologue.events/api/actions?agent=Codex&search=homepage" \
-H "Authorization: Bearer $MONOLOGUE_API_KEY"Optional filters: agent, category, status, system, project, from, to, and search. The response is { "success": true, "actions": [...] }.
Need every field or the connection flow? See the full API notes on GitHub and the agent setup guide.