extract_headings
Pack: markdown · Endpoint: https://gateway.pipeworx.io/markdown/mcp
Extract the ATX heading outline (# … ######) as {level, text} entries (keyless, offline).
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
markdown | string | yes | The Markdown text. |
Example call
curl -X POST https://gateway.pipeworx.io/markdown/mcp \
-H 'Content-Type: application/json' \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"extract_headings","arguments":{}}}'
Connect
Add this to your MCP client config, or use one-click install buttons:
{
"mcpServers": {
"markdown": {
"url": "https://gateway.pipeworx.io/markdown/mcp"
}
}
}
See Getting Started for client-specific install steps.