wiki-helper
mcp-wiki-helper-tools
Gitリポジトリに保存されたWikiを参照するためのMCPサーバー。
Wikiを同期し、Markdownファイルをインデックス化し、CodexやVS Codeでドキュメントを一覧表示・検索・閲覧するためのツールを提供します。
機能
ツール | 機能 |
| MCPが動作しているか確認します。 |
| Wikiのドキュメントを一覧表示します。 |
| ドキュメント名またはパスで検索します。 |
| ドキュメントの内容を検索します。 |
| Markdownドキュメント全体を読み取ります。 |
Related MCP server: knowledge-mcp
仕組み
MCPがWikiのGitリポジトリをクローンまたは更新します。
すべての
.mdファイルを検索します。メモリ内にインデックスを作成します。
HTTPルート
/mcpでツールを提供します。Wikiを定期的に更新します。
WIKI_LOCAL_PATHで定義されたフォルダはgit reset --hardで更新されます。手動で変更しないでください。変更は破棄されます。
1. サーバーの設定
MCPを実行するマシンで、プロジェクトフォルダに移動します:
cd "/caminho/para/mcp-wiki-helper"依存関係をインストールします:
npm install.envファイルを作成します:
cp .env.example .env.envを入力します:
WIKI_REPOSITORY_URL=git@github.com:empresa/wiki.git
WIKI_LOCAL_PATH=./data/wiki
WIKI_BRANCH=main
WIKI_SYNC_INTERVAL_MS=1800000
MCP_HTTP_HOST=0.0.0.0
MCP_HTTP_PORT=3000
MCP_HTTP_ROUTE=/mcpローカルネットワークでの最初のテストを簡単にするため、MCP_API_KEYは設定しないでください。
2. サーバーの起動
コンパイル:
npm run build起動:
npm run start:httpこのターミナルは開いたままにしてください。期待されるメッセージは次のとおりです:
[MCP] HTTP ativo em http://0.0.0.0:3000/mcpマシンのIPアドレスを確認します:
hostname -I必要に応じて、ローカルネットワークでポートを開放します:
sudo ufw allow from 192.168.0.0/16 to any port 3000 proto tcp3. 接続テスト
別のマシンで実行:
curl http://IP_DO_SERVIDOR:3000/health例:
curl http://192.168.3.233:3000/health期待される応答:
{
"status": "ok",
"documents": 100
}documentsフィールドは0より大きくなければなりません。
4. Codexへの接続
Codexで:
Settingsを開きます。
MCP serversに入ります。
+ Add serverをクリックします。
タイプURL/HTTPを選択します。
名前
wiki-helperを使用します。URLのみを入力します:
http://IP_DO_SERVIDOR:3000/mcp例:
http://192.168.3.233:3000/mcp次のフィールドは完全に空のままにします:
Bearer token env var
Headers
Headers from environment variables
認証フィールドにnoneと書かないでください。
その後:
サーバーを保存します。
wiki-helperの横のスイッチをオンにします。Codexで新しい会話を開きます。
送信:
Use list_documents do MCP wiki-helper e mostre os primeiros 10 documentos.Codexが環境変数noneが存在しないと報告する場合:
Settings > MCP servers > wiki-helperを開きます。
Uninstallをクリックします。
URLのみを入力して再度追加します。
すべての認証フィールドを空のままにします。
5. VS Code/Copilotへの接続
VS Codeで:
Ctrl+Shift+Pを押します。MCP: Open User Configurationを実行します。mcp.jsonファイルに次を追加します:
{
"servers": {
"wiki-helper": {
"type": "http",
"url": "http://IP_DO_SERVIDOR:3000/mcp"
}
}
}その後、MCP: List Serversを実行し、wiki-helperを選択してStart Serverを選択します。
6. 使用例
サーバーを確認:
Use a ferramenta Server do MCP wiki-helper.ドキュメントを一覧表示:
Use list_documents do wiki-helper e mostre os primeiros 10 documentos.名前で検索:
Use search_documents do wiki-helper para procurar "autenticação".Wiki内を検索:
Use search_content do wiki-helper para pesquisar "JWT", com limite 5.ドキュメントを読む:
Use read_document do wiki-helper para ler "caminho/documento.md" e faça um resumo.よくある問題
エラーECONNREFUSED ...:80
URLにポートまたはルートがありません。常に次を使用してください:
http://IP_DO_SERVIDOR:3000/mcp/authorizeルートが開いた
クライアントがOAuthを使用しようとしました。このMCPにはOAuthはありません。認証を削除し、BearerフィールドとHeadersフィールドを空にしてください。
MCPが接続しない
サーバーマシンで確認:
npm run start:http
ss -lntp | grep 3000クライアントマシンで再度テスト:
curl http://IP_DO_SERVIDOR:3000/healthWikiがドキュメントを返さない
設定したフォルダにMarkdownファイルが含まれているか確認:
find ./data/wiki -type f -name '*.md' | headまた、WIKI_REPOSITORY_URLで設定したGitリポジトリへのアクセスも確認してください。
セキュリティ
この認証なしモードは、管理されたローカルネットワークでのみ使用してください。
ポート
3000をインターネットに直接公開しないでください。外部アクセスには、HTTPS、認証、リバースプロキシを使用してください。
.envにキーや資格情報をバージョン管理しないでください。
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- AlicenseBqualityDmaintenanceEnables querying and interacting with a Markdown wiki generated from Confluence pages, with search and MCP server for LLM access.104MIT
- FlicenseNot gradedqualityCmaintenanceServes markdown knowledge from a git repository over MCP, providing tools to list, search, and retrieve documents.
- AlicenseNot gradedqualityBmaintenanceTurns a git-backed markdown directory into an MCP-compatible knowledge server, enabling any MCP client to read, search, ingest, and maintain a persistent wiki that compounds across sessions.MIT
- AlicenseNot gradedqualityAmaintenanceServes local Markdown wikis as a read-only knowledge source with MCP tools for agent context retrieval.6Apache 2.0
Related MCP Connectors
Serve a folder of Markdown notes as an MCP server: hybrid search, reading, and sourced answers.
Turn a GitHub repo or docs site into agent-ready context: pack it or search it, over MCP.
Self-hostable team wiki; agents read & write it via MCP; Atlas turns your repo into a cited wiki.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/jarrelllong573-rgb/mcp-wiki-helper-tools'
If you have feedback or need assistance with the MCP directory API, please join our Discord server