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) μλ²λ‘ μ 곡νλ μ ν리μΌμ΄μ μ λλ€.
μ€μΉ λ°©λ²
-
Python 3.11 μ΄μμ΄ νμν©λλ€.
-
νμν ν¨ν€μ§ μ€μΉ:
uv pip install fastmcp aiohttp
μ€ν λ°©λ²
-
API μλ²κ° μ€ν μ€μΈμ§ νμΈ:
- API μλ²λ
http://127.0.0.1:8000
μμ μ€νλμ΄μΌ ν©λλ€.
- API μλ²λ
-
MCP μλ² μ€ν:
python my_server.py
μλ²κ° μ±κ³΅μ μΌλ‘ μ€νλλ©΄ λ€μ λ©μμ§κ° νμλ©λλ€:
Starting MCP server 'legacy-api-mcp-server' with transport 'streamable-http' on http://127.0.0.1:9000/mcp
μ¬μ© κ°λ₯ν λꡬ
-
get_gallery_posts
- κ°€λ¬λ¦¬μ κ²μκΈ λͺ©λ‘μ κ°μ Έμ΅λλ€.
- λ§€κ°λ³μ:
id
: κ°€λ¬λ¦¬ μλ³μ (νμ)page
: νμ΄μ§ λ²νΈ (κΈ°λ³Έκ°: 1)list_num
: νμ΄μ§λΉ κ²μκΈ μ (κΈ°λ³Έκ°: 50)use_cache
: μΊμ μ¬μ© μ¬λΆ (κΈ°λ³Έκ°: True)
-
get_gallery_info
- κ°€λ¬λ¦¬μ κΈ°λ³Έ μ 보λ₯Ό κ°μ Έμ΅λλ€.
- λ§€κ°λ³μ:
id
: κ°€λ¬λ¦¬ μλ³μ (νμ)use_cache
: μΊμ μ¬μ© μ¬λΆ (κΈ°λ³Έκ°: True)
μ£Όμμ¬ν
- API μλ²(
http://127.0.0.1:8000
)κ° μ€ν μ€μ΄μ΄μΌ ν©λλ€. - MCP μλ²λ
http://127.0.0.1:9000
μμ μ€νλ©λλ€. - μΊμ κΈ°λ₯μ΄ νμ±νλμ΄ μμ΄ λμΌν μμ²μ λν΄ λΉ λ₯Έ μλ΅μ΄ κ°λ₯ν©λλ€.