Skip to main content

Wiki-MCP 서버

Wiki 서비스를 위한 MCP(Model Context Protocol) 서버입니다.

설치 및 설정

사전 요구사항

  • Python 3.10 이상
  • uv 설치
  • fastmcp 설치

설치 방법

  1. 저장소를 클론합니다:
git clone <repository-url>
cd wiki-mcp
  1. uv를 사용하여 가상 환경을 생성하고 의존성을 설치합니다:
uv venv
uv pip install -r requirements.txt

개발 의존성도 설치하려면:

uv pip install -e ".[dev]"

환경 변수 설정

.env 파일을 루트 디렉토리에 생성하고 필요한 환경 변수를 설정합니다:

API_KEY=your_api_key_here
DEBUG=True

MCP 서버 실행 방법

개발 모드에서 실행 (권장)

MCP Inspector를 사용하여 서버를 테스트하고 디버그할 수 있습니다:

fastmcp dev server.py

Claude Desktop에 설치

서버가 준비되면 Claude Desktop에 설치하여 사용할 수 있습니다:

fastmcp install server.py

환경 변수 설정과 함께 설치:

fastmcp install server.py -e API_KEY=abc123 -e DEBUG=True

또는 .env 파일에서 환경 변수 로드:

fastmcp install server.py -f .env

직접 실행

고급 시나리오용:

fastmcp run server.py
# 또는
python server.py

MCP 서버 구성하기

서버는 도구(tools), 리소스(resources), 프롬프트(prompts)로 구성됩니다:

도구 추가하기

@mcp.tool()
def my_tool(param1: str, param2: int) -> str:
    """도구 설명"""
    return f"결과: {param1}, {param2}"

리소스 추가하기

@mcp.resource("my-resource://{param}")
def my_resource(param: str) -> str:
    """리소스 설명"""
    return f"리소스 데이터: {param}"

프롬프트 추가하기

@mcp.prompt()
def my_prompt(query: str) -> str:
    """프롬프트 설명"""
    return f"다음 정보를 처리해주세요: {query}"

개발

코드 포맷팅

black .
isort .

린팅

ruff check .

타입 체크

mypy .

테스트

pytest

Metadata

Release files for wiki-mcp-server 0.0.6

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for wiki-mcp-server 0.0.6
File Size Uploaded Provenance
wiki_mcp_server-0.0.6.tar.gz 5.1 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for wiki-mcp-server 0.0.6
File Interpreter ABI Platform
wiki_mcp_server-0.0.6-py3-none-any.whl Python 3 none any Details

Total release size: 14.0 kB

Release files / wiki_mcp_server-0.0.6.tar.gz

Download URL wiki_mcp_server-0.0.6.tar.gz
Size 5.1 kB
Tags Source
SHA-256 checksum
How to use checksums
df20079c7ba71d307ecfc01cf56aa0b378a5497f67b2a1e20d3df3b99f2fae19
BLAKE2b-256 checksum
How to use checksums
5200e0014cac7ce0af50f11cc47ecb4a6852db36829398f37a51980568605bf8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.2

Release files / wiki_mcp_server-0.0.6-py3-none-any.whl

Download URL wiki_mcp_server-0.0.6-py3-none-any.whl
Size 8.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
a1973fd90c9f3b2340fd6a419051ceb198ee376d118ecce6dae78cd42736e50c
BLAKE2b-256 checksum
How to use checksums
c745081079339cbe97a6bf5a74444e4e7b7f6b792bb610acc57f61256bf4b6fd
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.2

Security for wiki-mcp-server 0.0.6

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page