NAME

MCP::Wiki::Server - Main MCP server for wiki management

VERSION

version 0.001

SYNOPSIS

use MCP::Wiki::Server;

my $server = MCP::Wiki::Server->new(
    wiki_root => '/path/to/wiki',
    use_git   => 1,
);

$server->on_change(sub {
    my $ev = shift;
    if ($ev->{type} eq 'update') {
        say "Page updated: $ev->{page}";
    }
});

$server->to_stdio;

wiki_root

Root directory for wiki pages. Defaults to current directory.

use_git

Enable git auto-commit on changes. Default: 0

commit_reason_required

Require a reason for commits. Default: 0

SUPPORT

Issues

Please report bugs and feature requests on GitHub at https://github.com/Getty/p5-mcp-wiki/issues.

CONTRIBUTING

Contributions are welcome! Please fork the repository and submit a pull request.

AUTHOR

Torsten Raudssus <getty@cpan.org>

COPYRIGHT AND LICENSE

This software is copyright (c) 2026 by Torsten Raudssus <torsten@raudssus.de> https://raudssus.de/.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.