Documentory

CodingManFocus/Documentory

3.2

If you are the rightful owner of Documentory and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to henry@mcphub.com.

A document MCP server for AI IDEs like Cursor and Windsurf, designed to enhance the development experience by providing seamless integration and advanced features.

Documentory

Pronounced: "dok-yoo-men-tuh-ree"

A document MCP server for AI IDE( Cursor, Windsurf etc. )

WARNING ::: It is beta. so it can make a problem

How to run

  • 1. Clone this repository
  • 2. run npm install
  • 3. run node server.js
  • then, the server is gonna open

MCP Tools :::

listDocuments

  • ์„ค๋ช… (Description): ํ˜„์žฌ ์„œ๋ฒ„์— ์ €์žฅ๋œ ๋ชจ๋“  ๋ฌธ์„œ์˜ ๋ชฉ๋ก์„ ๊ฐ€์ ธ์˜ต๋‹ˆ๋‹ค. ๊ฐ ๋ฌธ์„œ์˜ ์ด๋ฆ„๊ณผ ์ƒ์„ฑ/์ˆ˜์ • ์‹œ๊ฐ„์„ ํฌํ•จํ•œ ๋ฉ”ํƒ€๋ฐ์ดํ„ฐ๋ฅผ ๋ฐ˜ํ™˜ํ•ฉ๋‹ˆ๋‹ค. ๋ฌธ์„œ ์•„์นด์ด๋ธŒ์˜ ์ „์ฒด ๋‚ด์šฉ์„ ํ™•์ธํ•˜๊ฑฐ๋‚˜ ํŠน์ • ๋ฌธ์„œ๋ฅผ ์ฐพ๊ธฐ ์ „์— ์‚ฌ์šฉํ•˜๋ฉด ์œ ์šฉํ•ฉ๋‹ˆ๋‹ค.
  • ์‚ฌ์šฉ ์‹œ์ : ์ „์ฒด ๋ฌธ์„œ ๋ชฉ๋ก์„ ํ™•์ธํ•˜๊ฑฐ๋‚˜, ํŠน์ • ๋ฌธ์„œ๋ฅผ ์ฐพ๊ธฐ ์œ„ํ•œ ํƒ์ƒ‰์„ ์‹œ์ž‘ํ•  ๋•Œ ์‚ฌ์šฉํ•ฉ๋‹ˆ๋‹ค.

readDocument

  • ์„ค๋ช… (Description): ์ง€์ •๋œ ์ด๋ฆ„์˜ ๋ฌธ์„œ๋ฅผ ์ฝ๊ณ  ๊ทธ ๋‚ด์šฉ์„ ๋ฐ˜ํ™˜ํ•ฉ๋‹ˆ๋‹ค. ๋ฌธ์„œ์˜ ํ…์ŠคํŠธ ์ฝ˜ํ…์ธ ๋ฅผ ์ •ํ™•ํ•˜๊ฒŒ ๊ฐ€์ ธ์˜ฌ ๋•Œ ์‚ฌ์šฉ๋ฉ๋‹ˆ๋‹ค.
  • ์‚ฌ์šฉ ์‹œ์ : ํŠน์ • ๋ฌธ์„œ์˜ ๋‚ด์šฉ์„ ์ฝ๊ฑฐ๋‚˜, ๋ฌธ์„œ ๋‚ด์šฉ์„ ๊ธฐ๋ฐ˜์œผ๋กœ ์ž‘์—…์„ ์ˆ˜ํ–‰ํ•ด์•ผ ํ•  ๋•Œ ์‚ฌ์šฉํ•ฉ๋‹ˆ๋‹ค.

writeDocument

  • ์„ค๋ช… (Description): ์ƒˆ ๋ฌธ์„œ๋ฅผ ์ƒ์„ฑํ•˜๊ฑฐ๋‚˜ ๊ธฐ์กด ๋ฌธ์„œ๋ฅผ ๋ฎ์–ด์”๋‹ˆ๋‹ค. overwrite ์˜ต์…˜์„ ํ†ตํ•ด ๊ธฐ์กด ๋ฌธ์„œ ๋ฎ์–ด์“ฐ๊ธฐ ์—ฌ๋ถ€๋ฅผ ์ œ์–ดํ•  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค. overwrite๊ฐ€ false์ด๊ณ  ๋ฌธ์„œ๊ฐ€ ์ด๋ฏธ ์กด์žฌํ•˜๋ฉด ์—๋Ÿฌ๋ฅผ ๋ฐ˜ํ™˜ํ•ฉ๋‹ˆ๋‹ค. ๋ฌธ์„œ์˜ ์ œ๋ชฉ๊ณผ ๋‚ด์šฉ์„ ์‚ฌ์šฉํ•˜์—ฌ ๋ฌธ์„œ๋ฅผ ์ƒ์„ฑํ•˜๊ฑฐ๋‚˜ ์—…๋ฐ์ดํŠธํ•  ๋•Œ ์‚ฌ์šฉํ•ฉ๋‹ˆ๋‹ค.
  • ์‚ฌ์šฉ ์‹œ์ : ์ƒˆ๋กœ์šด ๋ฌธ์„œ๋ฅผ ์ž‘์„ฑํ•˜๊ฑฐ๋‚˜, ๊ธฐ์กด ๋ฌธ์„œ์˜ ๋‚ด์šฉ์„ ์™„์ „ํžˆ ์ƒˆ๋กœ์šด ๋‚ด์šฉ์œผ๋กœ ๋Œ€์ฒดํ•  ๋•Œ ์‚ฌ์šฉํ•ฉ๋‹ˆ๋‹ค.

updateDocument

  • ์„ค๋ช… (Description): ๊ธฐ์กด ๋ฌธ์„œ์˜ ๋‚ด์šฉ์„ ์—…๋ฐ์ดํŠธํ•ฉ๋‹ˆ๋‹ค. ์ด ๋„๊ตฌ๋Š” writeDocument์™€ ๋‹ฌ๋ฆฌ ๋ฌธ์„œ์˜ ํŠน์ • ๋ถ€๋ถ„์„ ๋ณ€๊ฒฝํ•˜๊ฑฐ๋‚˜ ๋‚ด์šฉ์„ ์ถ”๊ฐ€ํ•˜๋Š” ๋ฐฉ์‹์œผ๋กœ ์—…๋ฐ์ดํŠธํ•  ๋•Œ ์ ํ•ฉํ•ฉ๋‹ˆ๋‹ค. ์ง€์ •๋œ ๋ฌธ์„œ๊ฐ€ ์—†์œผ๋ฉด ์—๋Ÿฌ๋ฅผ ๋ฐ˜ํ™˜ํ•ฉ๋‹ˆ๋‹ค.
  • ์‚ฌ์šฉ ์‹œ์ : ๊ธฐ์กด ๋ฌธ์„œ์˜ ๋‚ด์šฉ์„ ์ˆ˜์ •ํ•˜๊ฑฐ๋‚˜, ์ƒˆ๋กœ์šด ๋‚ด์šฉ์„ ๊ธฐ์กด ๋ฌธ์„œ์— ์ถ”๊ฐ€ํ•  ๋•Œ ์‚ฌ์šฉํ•ฉ๋‹ˆ๋‹ค.

deleteDocument

  • ์„ค๋ช… (Description): ์ง€์ •๋œ ์ด๋ฆ„์˜ ๋ฌธ์„œ๋ฅผ ์˜๊ตฌ์ ์œผ๋กœ ์‚ญ์ œํ•ฉ๋‹ˆ๋‹ค. ์‚ญ์ œ๋œ ๋ฌธ์„œ๋Š” ๋ณต๊ตฌํ•  ์ˆ˜ ์—†์œผ๋ฏ€๋กœ ์ฃผ์˜ํ•ด์„œ ์‚ฌ์šฉํ•ด์•ผ ํ•ฉ๋‹ˆ๋‹ค.
  • ์‚ฌ์šฉ ์‹œ์ : ๋” ์ด์ƒ ํ•„์š” ์—†๋Š” ๋ฌธ์„œ๋ฅผ ์ œ๊ฑฐํ•˜๊ฑฐ๋‚˜, ๋ฌธ์„œ ์•„์นด์ด๋ธŒ๋ฅผ ์ •๋ฆฌํ•  ๋•Œ ์‚ฌ์šฉํ•ฉ๋‹ˆ๋‹ค.

searchDocuments

  • ์„ค๋ช… (Description): ์ฃผ์–ด์ง„ ํ‚ค์›Œ๋“œ๋ฅผ ํฌํ•จํ•˜๋Š” ๋ฌธ์„œ๋ฅผ ๊ฒ€์ƒ‰ํ•ฉ๋‹ˆ๋‹ค. ๋ฌธ์„œ ๋‚ด์šฉ์—์„œ ํŠน์ • ์ •๋ณด๋ฅผ ์ฐพ๊ฑฐ๋‚˜, ๊ด€๋ จ๋œ ๋ฌธ์„œ๋ฅผ ํ•„ํ„ฐ๋งํ•  ๋•Œ ์œ ์šฉํ•ฉ๋‹ˆ๋‹ค. ๊ฒ€์ƒ‰ ๊ฒฐ๊ณผ๋Š” ๋ฌธ์„œ ์ด๋ฆ„๊ณผ ํ‚ค์›Œ๋“œ๊ฐ€ ํฌํ•จ๋œ ๋‚ด์šฉ์„ ๋ฐ˜ํ™˜ํ•ฉ๋‹ˆ๋‹ค.
  • ์‚ฌ์šฉ ์‹œ์ : ํŠน์ • ํ‚ค์›Œ๋“œ๋ฅผ ํฌํ•จํ•˜๋Š” ๋ฌธ์„œ๋ฅผ ์ฐพ๊ฑฐ๋‚˜, ๋ฌธ์„œ ์•„์นด์ด๋ธŒ์—์„œ ๊ด€๋ จ์„ฑ ์žˆ๋Š” ์ •๋ณด๋ฅผ ๊ฒ€์ƒ‰ํ•  ๋•Œ ์‚ฌ์šฉํ•ฉ๋‹ˆ๋‹ค.