legacy-api-mcp-server

kimgooneya/legacy-api-mcp-server

3.2

If you are the rightful owner of legacy-api-mcp-server 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.

This application provides the DC Inside Gallery API as a Machine Conversation Protocol (MCP) server.

Tools
2
Resources
0
Prompts
0

Legacy API MCP Server

DC Inside 가러리 APIλ₯Ό MCP(Machine Conversation Protocol) μ„œλ²„λ‘œ μ œκ³΅ν•˜λŠ” μ• ν”Œλ¦¬μΌ€μ΄μ…˜μž…λ‹ˆλ‹€.

μ„€μΉ˜ 방법

  1. Python 3.11 이상이 ν•„μš”ν•©λ‹ˆλ‹€.

  2. ν•„μš”ν•œ νŒ¨ν‚€μ§€ μ„€μΉ˜:

uv pip install fastmcp aiohttp

μ‹€ν–‰ 방법

  1. API μ„œλ²„κ°€ μ‹€ν–‰ 쀑인지 확인:

    • API μ„œλ²„λŠ” http://127.0.0.1:8000μ—μ„œ μ‹€ν–‰λ˜μ–΄μ•Ό ν•©λ‹ˆλ‹€.
  2. MCP μ„œλ²„ μ‹€ν–‰:

python my_server.py

μ„œλ²„κ°€ μ„±κ³΅μ μœΌλ‘œ μ‹€ν–‰λ˜λ©΄ λ‹€μŒ λ©”μ‹œμ§€κ°€ ν‘œμ‹œλ©λ‹ˆλ‹€:

Starting MCP server 'legacy-api-mcp-server' with transport 'streamable-http' on http://127.0.0.1:9000/mcp

μ‚¬μš© κ°€λŠ₯ν•œ 도ꡬ

  1. get_gallery_posts

    • 가러리의 κ²Œμ‹œκΈ€ λͺ©λ‘μ„ κ°€μ Έμ˜΅λ‹ˆλ‹€.
    • λ§€κ°œλ³€μˆ˜:
      • id: 가러리 μ‹λ³„μž (ν•„μˆ˜)
      • page: νŽ˜μ΄μ§€ 번호 (κΈ°λ³Έκ°’: 1)
      • list_num: νŽ˜μ΄μ§€λ‹Ή κ²Œμ‹œκΈ€ 수 (κΈ°λ³Έκ°’: 50)
      • use_cache: μΊμ‹œ μ‚¬μš© μ—¬λΆ€ (κΈ°λ³Έκ°’: True)
  2. get_gallery_info

    • 가러리의 κΈ°λ³Έ 정보λ₯Ό κ°€μ Έμ˜΅λ‹ˆλ‹€.
    • λ§€κ°œλ³€μˆ˜:
      • id: 가러리 μ‹λ³„μž (ν•„μˆ˜)
      • use_cache: μΊμ‹œ μ‚¬μš© μ—¬λΆ€ (κΈ°λ³Έκ°’: True)

μ£Όμ˜μ‚¬ν•­

  • API μ„œλ²„(http://127.0.0.1:8000)κ°€ μ‹€ν–‰ 쀑이어야 ν•©λ‹ˆλ‹€.
  • MCP μ„œλ²„λŠ” http://127.0.0.1:9000μ—μ„œ μ‹€ν–‰λ©λ‹ˆλ‹€.
  • μΊμ‹œ κΈ°λŠ₯이 ν™œμ„±ν™”λ˜μ–΄ μžˆμ–΄ λ™μΌν•œ μš”μ²­μ— λŒ€ν•΄ λΉ λ₯Έ 응닡이 κ°€λŠ₯ν•©λ‹ˆλ‹€.