Connect HackMD to your Wiro AI agent
Create, read and edit notes in HackMD.
Here's the transcript of today's sprint retro. Write it up as a note in the Sparrowhawk Mobile team's HackMD workspace.
Sprint 41 retro is now a note in the Sparrowhawk Mobile team workspace, saved with your approval:
- Went well: the offline mode beta shipped two days early
- To fix: flaky UI tests blocked 3 of 5 merges
- Decided: release trains move to every other Tuesday
- Owners: Lena takes test triage, Omar the beta tester list, both by next Thursday
Overview
What HackMD does for your agent
Sends each request to the MCP server that HackMD hosts, with an API token from your HackMD settings, and notes the agent creates belong to your account. The agent writes Markdown notes in your personal workspace or in a team you belong to, reads notes in full, replaces a note's content with a new version, moves notes to the trash, searches note titles and reads your recently opened notes. HackMD's pricing lists 400 API calls a month on the Free plan and 20,000 on Prime.
Use cases
What your Wiro agent can do with HackMD
Turn a meeting transcript into notes in your team's workspace
Paste a transcript or rough bullet points after a meeting. The agent writes a HackMD note with the decisions, owners and next steps in Markdown and saves it in the team workspace you name, under your account.
Keep a weekly status note up to date
Every Friday a Scheduled Task writes a status update from what you shared with the agent during the week and puts it at the start of a running HackMD note, so the whole history stays in one place.
Find a note by its title and get the answer in Chat
Ask for the onboarding checklist or last quarter's plan by name. The agent searches note titles across your personal and team notes, opens the right one and answers your question or sums it up in Chat.
Write documentation in Markdown and keep it current
The agent drafts a how-to, a runbook or an API guide as a HackMD note. When the process changes, it rewrites the affected sections and saves the new version over the old one after you approve.
Pick up where you left off
Ask what you were working on. The agent reads your recently opened notes from HackMD's history and gives you a short list to continue from, with a one-line summary of each.
Tidy a workspace before a new quarter
Ask the agent to list the notes in your workspace or in a team. It shows their titles and dates, and moves the notes you confirm to HackMD's trash.
How it works
How HackMD works with Wiro
- 01
Deploy an agent, open its Connectors tab, choose HackMD and paste what the Connect dialog asks for.
- 02
Set each HackMD action to Allow, Ask or Block, in Chat and in Scheduled Tasks. By default, read-only actions run, and the rest ask first in Chat.
- 03
Ask your agent for HackMD work in Chat, or put it on a Scheduled Task that runs on its own.
Turn a meeting transcript into notes in your team's workspace
Keep a weekly status note up to date
- Where it runsOn mcp.hackmd.io, a server run by HackMD. Your agent sends each request there.
- Where its data goes
mcp.hackmd.io - How it signs inPaste a key. It is stored encrypted and never shown again.
- ActionsListed after the first connection.
How to connect
Connect HackMD to Wiro
Open the agent's Connectors tab, choose HackMD and paste what it asks for. Values are stored encrypted and never shown again.
What the Connect dialog asks for
| Field | About |
|---|---|
| TokenRequired | Create, update and share notes on HackMD with your own account, in your workspace and your teams.
HackMD shows the token only once; if you lose it, create a new one. |
Troubleshooting
Troubleshooting HackMD
What to check when HackMD stops working for your agent.
- An invalid or expired key If HackMD refuses the key, for example after it was deleted or expired, the agent's HackMD actions fail. Create a new key in HackMD, then open the agent's Connectors tab, choose HackMD and paste it in place of the old one.
- Limits set by HackMD HackMD limits how much an account can do, such as how many requests it takes in a minute. An action over a limit fails until the limit resets: wait and ask again, or check your HackMD plan.
For developers
Connect HackMD from your own product
Every call is a POST to the Wiro API with your project's API key. On a sign-in, your customers see your own app's name.
- 01
Read the connector
Detail answers without a session: what the connector needs and the tools it gives an agent.
POST /AgentConnector/Detail { "slug": "hackmd" }Response { "result": true, "errors": [], "agentconnectors": [ { "slug": "hackmd", "title": "HackMD", "category": "content", "authtype": "headers", "credentialfields": [ { "name": "token", "label": "Token", "required": true, "secret": true, "format": "password" } ], "tools": [] } ] } - 02
Connect with the values
Send what the person typed in your form. A value you leave out keeps what the connection holds; an empty one clears it.
POST /UserAgent/ConnectorConnect { "useragentguid": "YOUR_AGENT_GUID", "slug": "hackmd", "values": { "token": "YOUR_SECRET" } }Response { "result": true, "errors": [], "status": "connected", "applied": 1, "restart": "scheduled" } - 03
Read the status
connected, pending (a sign-in not finished), reauth (sign in again) or error. Values and tokens never come back.
POST /UserAgent/ConnectorList { "useragentguid": "YOUR_AGENT_GUID" }Response { "result": true, "errors": [], "useragentconnectors": [ { "slug": "hackmd", "title": "HackMD", "authtype": "headers", "status": "connected", "accounts": {}, "savedvariables": [ "token" ], "lasterror": null } ] } - 04
Disconnect
Revokes a sign-in where the vendor allows it, deletes what the connection holds and removes the connector from the running agent.
POST /UserAgent/ConnectorDisconnect { "useragentguid": "YOUR_AGENT_GUID", "slug": "hackmd" }Response { "result": true, "errors": [], "removed": true, "revoked": false, "restart": "scheduled" }
Questions
HackMD and Wiro FAQ
What can a HackMD AI agent do?
It creates Markdown notes in your personal workspace or in a team you belong to, reads notes in full, replaces a note's content with a new version and moves notes to HackMD's trash. It also lists your notes and each team's notes, searches note titles, reads your recently opened notes and checks your profile, teams and plan.
How do I connect HackMD to an AI agent?
In HackMD, open Settings, then API, click Create API token, name it (for example AI agent) and copy it. HackMD shows the token only once. It goes into the HackMD card on the agent's Connectors tab. From Chat, you can ask the agent to add HackMD and type the token into the card it brings up.
Does this use the official HackMD MCP server?
Yes. The agent works through HackMD's own hosted MCP server and sends your API token with each request, so the note tools are the ones HackMD provides. The full list of actions shows on the connector after the first connection.
Will the agent edit or delete HackMD notes without asking?
Creating, rewriting and trashing notes wait for your approval in Chat by default. What a Scheduled Task may do is a separate choice: those actions run there unless you set them to Ask or Block, one action at a time. A note the agent deletes goes to HackMD's trash.
What do I need on the HackMD side?
A HackMD account on any plan and an API token from your settings. To write in a team workspace, your account has to be a member of that team. Notes the agent creates belong to your account, the same as notes you write yourself.
Are there limits on how much the agent can use HackMD?
HackMD sets them. Its pricing page gives the free plan 400 API calls a month and Prime 20,000, its API policy allows up to 100 calls every 5 minutes, and HackMD says these limits may change while the API is in beta. Your usage shows on HackMD's API settings page. Title search looks at note titles only, not their text.
Where is my HackMD token kept?
The HackMD token sits in encrypted storage, and the AI model only sees the notes it asks for, never the token. To revoke it, click the x next to the token on HackMD's API settings page, which stops it at once, then disconnect HackMD on the Connectors tab.
Does it cost extra to automate HackMD?
No. Connectors are part of every agent plan with no added fee, and creating a HackMD API token is free. HackMD's own plan limits decide how many calls your account can make.
Access
Revoke HackMD access
On HackMD's Settings → API page (hackmd.io/settings#api), click the x next to the token: it stops working at once. Then disconnect it here.
Related connectors
More content connectors for your Wiro agent
beehiivNewsletter posts and subscribers on beehiiv.
BloggerWrite, schedule and publish posts on your Blogger blogs.
dev.toList, draft, publish and edit articles on dev.to.
HashnodeDraft and publish posts on your Hashnode publication.
QiitaDraft and publish articles on Qiita.WordPressWrite, schedule and publish posts and media on your WordPress site.
Put HackMD to work with Wiro
Deploy an agent and connect HackMD from its Connectors tab. Every agent plan includes it: Starter $5, Pro $30 and Max $100 a month.