@bip-krishna/opencode-wiki
v1.0.2
Published
One-command setup: pre-configures OpenCode with the NITC Wiki MCP server (wiki.fosscell.org)
Downloads
67
Maintainers
Readme
@bip-krishna/opencode-wiki
One-command setup to use OpenCode with the NITC Wiki (wiki.fosscell.org) via its MediaWiki MCP Server.
Setup Guide
Prerequisites
- Node.js v18+ (check:
node --version) - npm (comes with Node.js)
Install
npx @bip-krishna/opencode-wikiThis will:
- Install
opencode-aiglobally (if not already installed) - Create
~/.config/opencode/opencode.jsonwith the wiki MCP server - Create
~/.config/opencode/wiki-mcp-config.jsonwith connection details
Add Bot Credentials (optional — for write access)
To create, edit, or delete wiki pages:
- Go to
wiki.fosscell.org→ Special:BotPasswords - Create a bot with Edit existing pages and Create, edit, and move pages grants
- Edit
~/.config/opencode/wiki-mcp-config.jsonand add:
"username": "YourUser@botname",
"password": "your-generated-password"Run
opencodeThen ask: "Show me the site info for wiki.fosscell.org"
Interactive Setup (with password prompt)
For the interactive setup with a hidden password prompt:
bash -c "$(curl -fsSL https://raw.githubusercontent.com/bip-krishna/opencode/dev/scripts/quickstart.sh)"How It Works
The MediaWiki MCP Server runs as a sidecar process. OpenCode communicates with it over the MCP protocol (JSON-RPC 2.0 over stdio), and the server translates requests into MediaWiki API calls.
opencode ◄── MCP (stdio) ──► mediawiki-mcp-server ◄── HTTPS ──► wiki.fosscell.orgSee the full step-by-step guide for details.
Available Tools
26 tools across read, write, and wiki management categories:
- Read:
get-page,search-page,get-site-info,parse-wikitext,compare-pages, etc. - Write:
create-page,update-page,delete-page,move-page,upload-file, etc. - Extensions: Cargo and Semantic MediaWiki tools (auto-detected)
Links
- GitHub: https://github.com/bip-krishna/opencode
- Step-by-step guide: https://github.com/bip-krishna/opencode/blob/dev/WIKI_MCP.md
- MediaWiki MCP Server: https://github.com/ProfessionalWiki/MediaWiki-MCP-Server
