Skip to content

[IDEA] Tiddlywiki CLI for MCP #9692

@linonetwo

Description

@linonetwo

Is your idea related to a problem? Please describe.

I thought we don't need MCP, because we will have build-in AI in tiddlywiki, but I was wrong. We won't have Notion AI level built-in AI in the recent months,
while external tools like VSCode / OpenCrawl / CherryStudio may need TW MCP as external memory source (like those LLM memory solution)

Describe the solution you'd like

A new /mcp server route, expose CRUD tools.

CLI start an server at background.

If user specific a wiki folder path, then MCP server will update that nodejs wiki folder.
Otherwise by default create a new wiki in ./.tiddlywiki/wiki

This will make TiddlyWiki an "Opensource agent memory solution".

Describe alternatives you've considered

I only let VSCode agent directly read my wiki's .tid files, or directly read TiddlyWiki/TiddlyWiki5 JS source code, so I don't need MCP for reading wiki or tiddlywiki source code.

And I have build-in agent in TidGi-desktop, so I can let agent modify my wiki in a prompt.

Additional context

I just add MCP support to my games, so VSCode copilot could debug and play the game using MCP. And I think about this for a minute.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions