• STRUCTURE
  • NAVIGATION
  • FORMAT
  • REVIEW

How to create a Table of Contents with your agent

Connect the Markdown Utilities Engine to your AI client once. From then on, your agent handles the document structure for you.

Ask AI about this page

Our technology reaches across leading technology and enterprise teams.

  • Amazon
  • NVIDIA
  • Red Hat
  • Fidelity Investments
  • Intuit
  • OLX Brasil
  • Writesonic
  • Artium
  • Trolley
Bunny World Voxel Workspace

Short answer

How can I make an AI generate a Markdown TOC?

Give your agent a long Markdown file and ask it to build a nested Table of Contents. It uses the Markdown Utilities Engine to map headers and create functional GitHub-style anchor links. You'll get a structured list that makes navigation easy.

The results.

Where your document lands.

Your agent handles the structural logic so you don't have to manually type out each header and link.

STRUCTURE

Nested hierarchy

Your agent identifies your H1 through H6 headers. It builds a logical, nested list that reflects your document's actual organization.

NAVIGATION

Working anchor links

Each entry in the list is a clickable GitHub-style link. Clicking a title jumps you straight to that section in the Markdown file.

FORMAT

Clean Markdown

The output is pure Markdown. You can paste it directly into your existing files without fixing broken syntax or weird spacing.

REVIEW

Human oversight

Your agent provides the structure, but you decide if the hierarchy makes sense. You remain in control of the final document layout.

The workflow

What your agent does when the file arrives.

Your agent processes the raw text to find structure and build the navigation map.

  1. Scan headers

    Your agent reads through your document to find each heading level.

    generate_toc
  2. Map anchors

    It creates unique, URL-friendly identifiers for each section it finds.

    generate_toc
  3. Build hierarchy

    Your agent organizes these headers into a nested list based on their depth.

    generate_toc
  4. Finalize links

    It attaches the anchor links to the text to ensure the TOC is functional.

    generate_toc

Vinkius Agentic Execution Platform

State the outcome. Agents take it from there.

You don't have to drive this run by hand. Inside the Vinkius Agentic Execution Platform, agents pick up the task above and carry it to the end: you set the limits, you watch the steps, you keep all decisions.

Run it in Vinkius

Agents carry the task to the end

Agents execute Markdown Utilities Engine tasks from end to end inside the Vinkius Agentic Execution Platform: set the outcome, and the steps run.

Take it to any compatible AI

One connection, any client

Same connection follows you to ChatGPT, Claude, Gemini and any other client you love. Switch whenever you want: your connection, your permissions and your record move with you.

Spaces

One Space per activity

A Space gathers the context, tools and tasks of one activity, so you coordinate several agents at once and follow each execution as it happens.

Limits

Autonomy inside limits you set

Permissions and spending limits are yours to define. Agents halt for your approval on anything sensitive, and you choose how far autonomy goes, step by step or end to end.

Record

All steps, on the record

Each action your agents take lands in a signed audit trail. Results are verified, mistakes are learned from, and an emergency stop is one click away.

Models

Included in your plan

A curated selection of AI models is included in your plan, and you can add your own through BYOK whenever you prefer.

Try it

Copy these to start.

Use these prompts to trigger the TOC generation immediately.

Starting points

These are basic ways to start. Swap out the file names or repo paths for your actual data.

Markdown Utilities Engine Connector

You're all set. Choose your MCP client and follow the setup instructions.

Connector linkhttps://edge.vinkius.com/vk_preview_XebVH2xW9hGkErGNE5Hc8aUij1ybmdpCkRVKPgoA/mcp

Claude Desktop

Follow the steps below to connect in seconds.

  1. 1In Claude Desktop, open Settings → Connectors.
  2. 2Click “Add custom connector” and paste the connector link above as the remote MCP server URL.
  3. 3Click Add and start a new chat, Markdown Utilities Engine capabilities are ready to use.
Configuration · claude_desktop_config.jsonCopy
{
  "mcpServers": {
    "markdown-utilities-engine-mcp": {
      "url": "https://edge.vinkius.com/vk_preview_XebVH2xW9hGkErGNE5Hc8aUij1ybmdpCkRVKPgoA/mcp"
    }
  }
}
Copy into chat04
  • 01

    Generate a nested Table of Contents for this Markdown file.

  • 02

    Create a GitHub-style TOC with anchor links for the README.md in this repo.

  • 03

    Look at this long technical spec and build a hierarchical Table of Contents.

  • 04

    Add a clickable Table of Contents to the top of this document.

  • Claude
  • ChatGPT
  • Cursor
  • VS Code
  • Windsurf
  • Claude Code
  • JetBrains
  • Cline

Start here

Connect Markdown Utilities Engine once, then ask.

Click the link to connect the MCP to your preferred client. Your credentials stay encrypted, and you can start prompting right away.

Connect Markdown Utilities Engine to your agent

FAQ

How this task behaves.

  • 01

    Will your agent change my actual content?

    No. Your agent only generates the Table of Contents text. It does not modify your existing headers or body text unless you explicitly ask it to rewrite the file.

  • 02

    Does it work with non-Markdown files?

    No. This specific tool is designed for Markdown files to ensure the anchor links and header syntax work correctly.

  • 03

    Can your agent delete my sections?

    No. The tool only reads the file to build the list. It has no capability to delete content from your files.

  • 04

    What kind of links does it make?

    It creates GitHub-style anchor links, which are standard for Markdown files on platforms like GitHub or VS Code.

  • 05

    Can I choose the nesting depth?

    Yes. You can tell your agent to only include H1 and H2 headers, or to include all levels down to H6.

  • More questions about Markdown Utilities Engine? The Connector page answers them. See everything the Markdown Utilities Engine Connector can do

Building with AI? Ship this whole workflow in your product.

Vinkius Connect is the connectivity layer for AI builders. All the capabilities used on this page, from Markdown Utilities Engine to thousands more, arrive through one SDK, already maintained for you. One Application, unlimited seats, each with their own connectors and credentials, isolated and never exposed to Vinkius. No OAuth flows to write, no tokens to store, no APIs to chase.

Explore Vinkius Connect

TypeScript · Python · Java · Go · C# · PHP · Rust

  • 01

    Your customers bring their own keys.

    Each user connects their own apps and keeps their own credentials. Vinkius only sees the identifier your backend sends.

  • 02

    Whole catalog, kept current.

    Markdown Utilities Engine plus thousands more, maintained and growing daily. No integrations to write, no token storage, no OAuth plumbing.

  • 03

    Any agent, any model.

    Capabilities land as framework-neutral objects, with adapters for OpenAI, Anthropic, Gemini, the Vercel AI SDK, LangChain and more.

Connect Markdown Utilities Engine to Claude, Cursor, ChatGPT & more

From idea to done

See what gets done when the agents take over the busywork

Each workflow on this page runs on the same platform. Connect your tools once, and your agents keep working in any AI you trust.