openwiki-mcp
openwiki-mcp
OpenWiki(OpenChamber) 문서 생성을 Model Context Protocol 도구로 노출하는 MCP 서버입니다. 이를 통해 공식적인 수정되지 않은 OpenCode(또는 모든 MCP 호스트)가 리포지토리 위키를 생성하고 업데이트할 수 있습니다.
opencode 소스 트리와 완전히 독립적입니다. openwiki 자체는 외부 패키지(npm 설치 또는 준비된 오프라인 번들)로 확인되며, 에이전트 자격 증명은 환경 변수를 통해 전달되며 저장되지 않습니다.
도구
도구 | 에이전트 매핑 | 참고 |
| — (로컬 전용) |
|
|
| 최초 위키 생성입니다. 선택적 |
|
| 차이 기반 새로고침; 오래된 페이지만 재생성됩니다. |
Related MCP server: mediawiki-mcp-server
필수 조건
Node.js >= 22 (MCP 서버와 에이전트 자식 프로세스가 모두
node에서 실행됩니다)openwiki 패키지 설치:
npm install -g openwiki # online machine, or# offline machine: copy a prepared bundle and point at it set OPENWIKI_PACKAGE_ROOT=D:\path\to\staged\bundle\node_modules\openwikiOPENWIKI_PACKAGE_ROOT는 패키지 루트를 직접 가리키거나node_modules/openwiki를 포함하는 레이아웃을 가리킬 수 있습니다. 준비된 번들은 정션 또는 심볼릭 링크 트릭이 필요 없습니다. Node는 일반적인node_modules탐색을 통해 에이전트의 베어 임포트를 해결합니다.
에이전트 모델 구성
서버는 다음 변수를 에이전트 자식 프로세스로 전달하며 저장하지 않습니다.
환경 변수 (서버 측) | 의미 |
|
|
| 모델 ID, 예: |
| 로컬 OpenAI 호환 게이트웨이를 가리켜 실제 키를 에이전트 환경 밖에 유지 |
| openai-compatible 제공자의 키 |
|
|
| 선택 사항; openwiki 설치의 명시적 경로 |
호출 시 modelId/language/userMessage 도구 인수는 해당 실행에 대해 주변 환경을 재정의합니다.
OpenCode에 등록
opencode.json / opencode.jsonc에 추가:
{
"mcp": {
"openwiki": {
"type": "local",
"command": ["node", "D:/path/to/openwiki-mcp/dist/index.js"],
"environment": {
"OPENWIKI_PACKAGE_ROOT": "D:/path/to/staged/bundle/node_modules/openwiki",
"OPENWIKI_PROVIDER": "openai-compatible",
"OPENWIKI_MODEL_ID": "gpt-5",
"OPENAI_COMPATIBLE_BASE_URL": "http://127.0.0.1:4096/v1"
}
}
}
}그러면 세 도구가 모든 OpenCode 대화에서 일반 도구로 나타납니다.
개발
npm install
npm run build # tsc -> dist/
npm test # node --test (status inspection unit tests)
npm run dev # run the server via tsx (dev)스모크 테스트:
node scripts/smoke.mjs <dir> status # local inspection only
node scripts/smoke.mjs <dir> init "note" # full agent run (needs model env)수동 MCP 프로토콜 확인:
@'
{"jsonrpc":"2.0","id":0,"method":"initialize","params":{"protocolVersion":"2025-03-26","capabilities":{},"clientInfo":{"name":"t","version":"1"}}}
{"jsonrpc":"2.0","method":"notifications/initialized"}
{"jsonrpc":"2.0","id":1,"method":"tools/list"}
'@ | node dist/index.js설계 노트
src/openwiki/resolve.ts— 패키지 해상도:OPENWIKI_PACKAGE_ROOT, 그 다음require.resolve("openwiki/package.json").src/openwiki/worker.mjs— 어댑터 워커: stdin에서 하나의 작업을 읽고, 절대 경로로 에이전트 진입점을 가져오며, stdout에 NDJSON 진행 상황을 내보냅니다. opencode 포크의packages/openwiki어댑터에서 포팅되었으며 독립적으로 유지됩니다.src/openwiki/run.ts— 워커를 MCP 서버의 자식 프로세스로 생성하여, 중단된 에이전트가 MCP 호스트를 절대 중단시키지 않습니다.src/status.ts— 로컬 상태 검사 (모델 비용 없음).v0.1은
generate를 에이전트의init명령에 매핑하며, 이는 openwiki 0.3.x에서init이 최초 생성 명령이고update가 새로고침 명령인 것과 일치합니다.
This server cannot be installed
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
- AlicenseBqualityCmaintenanceMCP server for codewiki.google — AI-powered wiki documentation for open-source repositories. Search repos, fetch wiki content, and ask questions about any repo.37214MIT
- AlicenseAqualityAmaintenanceMCP server for MediaWiki wikis. Search, read, edit, and manage wiki content from AI assistants. Includes formatting, link checking, revision history, and markdown conversion.4320MIT
- AlicenseAqualityCmaintenanceEnables searching and retrieving Minecraft Wiki content in multiple formats (wikitext, HTML, markdown) through MCP tools, with batch retrieval and health monitoring.51MIT
- Flicense-qualityCmaintenanceEnables building and querying a local wiki knowledge base from raw source files via MCP tools and a PyQt viewer.
Related MCP Connectors
Generate AGENTS.md, AP2 compliance docs, checkout rules, debug playbook & MCP configs from any repo.
Self-hostable team wiki; agents read & write it via MCP; Atlas turns your repo into a cited wiki.
A MCP server built for developers enabling Git based project management with project and personal…
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/Blanceone/openwiki-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server