TW

talosdeus/wiki-js-mcp

Developer tools

이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요. 원문 보기

50 stars 30 forks 품질 59 트렌드 13MIT

talosdeus/wiki-js-mcp는 MCP 서버 후보가 https://github.com/talosdeus/wiki-js-mcp.에서 수입되었습니다

개요

talosdeus/wiki-js-mcp는 MCP 서버 후보가 https://github.com/talosdeus/wiki-js-mcp.에서 수입되었습니다

개요(AI 번역)

포괄적 인 ** Model Context Protocol (MCP) 서버** for Wiki.js integration with hierarchical documentation 지원 및 Docker 배포. 여러 저장소 및 대규모 문서 관리를위한 완벽한.

⭐ 빠른 시작

# # 1 환경 설정

첫째, clone 이 저장소 및 설정 환경 변수:

##2. Docker 배포 (추천)

Wiki.js에서 사용할 수 있습니다 http://localhost:3000

웹 인터페이스에서 초기 설정 완료

##3. MCP 서버 설정

##4. 커서 MCP 구성 ~/.cursor/mcp.json에 추가:

향상된 커서 통합

문서에 대한 글로벌 규칙-First Development

이 Global Rules를 Cursor에서 코딩하기 전에 자동으로 문서를 활용합니다.

이 규칙은 AI 조수가 될 것을 보증합니다.

  • ✅ 시행하기 전에 문서 확인
  • ✅ 기존 패턴 및 컨벤션을 따르십시오.
  • ✅ 자동 업데이트 문서 유지
  • ✅ 새로운 기능에 대한 구조화 문서 작성
  • ✅ 기존의 기능을 duplicating

# # # Cursor에 대한 사용 팁

♨ 키 기능

## 현대 문서

이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요.

README

원문 README의 일부입니다. 원문 보기.

Wiki.js MCP Server

A comprehensive Model Context Protocol (MCP) server for Wiki.js integration with hierarchical documentation support and Docker deployment. Perfect for organizations managing multiple repositories and large-scale documentation.

🚀 Quick Start

1. Environment Setup

First, clone this repository and set up environment variables:

# Copy environment template
cp config/example.env .env

# Edit .env with your credentials:
# - Set POSTGRES_PASSWORD to a secure password
# - Update other settings as needed
# Start Wiki.js with Docker
docker-compose -f docker.yml up -d

Wiki.js will be available at http://localhost:3000

Complete the initial setup in the web interface

3. Setup MCP Server

# Install Python dependencies
./setup.sh

# Update .env with Wiki.js API credentials:
# - Get API key from Wiki.js admin panel  
# - Set WIKIJS_TOKEN in .env file

# Test the connection
./test-server.sh

# Start MCP server
# (not needed for AI IDEs like Cursor, simply click on the refresh icon after editing mcp.json
# and you should see a green dot with all tools listed. In existing open Cursor windows,
# this refresh is necessary in order to use this MCP)
./start-server.sh

4. Configure Cursor MCP

Add to your ~/.cursor/mcp.json:

{
  "mcpServers": {
    "wikijs": {
      "command": "/path/to/wiki-js-mcp/start-server.sh"
    }
  }
}

🎯 Enhanced Cursor Integration

Global Rules for Documentation-First Development

Add these Global Rules in Cursor to automatically leverage documentation before coding:

Before writing any code, always:
1. Search existing documentation using wikijs_search_pages to understand current patterns and architecture
2. Check for related components, functions, or modules that might already exist
3. If documentation exists for similar functionality, follow the established patterns and naming conventions
4. If no documentation exists, create it using wikijs_create_page or wikijs_create_nested_page before implementing
5. Always update documentation when making changes using wikijs_sync_file_docs
6. For new features, use wikijs_create_repo_structure to plan the documentation hierarchy first

These rules ensure that your AI assistant will:

  • ✅ Check documentation before suggesting implementations
  • ✅ Follow existing patterns and conventions
  • ✅ Maintain up-to-date documentation automatically
  • ✅ Create structured documentation for new features
  • ✅ Avoid duplicating existing functionality

Usage Tips for Cursor

# Before starting a new feature
"Search the documentation for authentication patterns before implementing login"

# When creating components
"Create nested documentation under frontend-app/components before building the React component"

# For API development
"Check existing API documentation and create endpoint docs using the established structure"

# During refactoring
GitHub에서 전체 README 보기

설치

This server does not publish a one-line install command.

Open the repository installation guide MCP 초보자라면? mcpskill.org 가이드부터 시작하세요 →

설정

{ "mcpServers": { "wikijs": { "command": "/path/to/wiki-js-mcp/start-server.sh" } } }