T1D Manager
Provides hybrid search capabilities to retrieve diabetes-related information and community tips from Kakao platforms.
Generates structured educational diagrams in Mermaid format to help visualize and explain insulin dosage calculations and medical guidelines.
Provides hybrid search capabilities to retrieve patient experiences and diabetes community tips from Naver platforms.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@T1D Managermom@example.com, password 1234. How's my blood sugar?"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
๐ฉธ T1D Manager (1ํ ๋น๋จ ๊ด๋ฆฌ MCP)
์นด์นด์ค MCP Develop Competition (MCP Player 10) ์ถํ์
1ํ ๋น๋จ ํ์์ ๋ณดํธ์๋ฅผ ์ํ AI ์์ด์ ํธ ์๋ฒ์ ๋๋ค. ๋ณต์กํ ์ค์ ์์ด๋ ์ค์๊ฐ ํ๋น ๊ด๋ฆฌ์ ์ํ ๋ (Sick Day) ์ผ์ด๋ฅผ ๋ฐ์ ์ ์์ต๋๋ค.
๐ PlayMCP ๋ฑ๋ก ์ ๋ณด
๐ฏ Lite ๋ฒ์ (๊ฒฝ์ฐ์ฉ - OAuth ๋ถํ์)
ํญ๋ชฉ | ๊ฐ |
MCP ์ด๋ฆ | T1D Manager Lite |
MCP Endpoint |
|
๋๊ตฌ ๊ฐ์ | 3๊ฐ |
MCP ์ค๋ช (๋ณต์ฌ์ฉ):
1ํ ๋น๋จ ํ์์ ๋ณดํธ์๋ฅผ ์ํ AI ํ๋น ๊ด๋ฆฌ ๋์ฐ๋ฏธ์ ๋๋ค. ์ธ์๋ฆฐ ์ฉ๋ ๊ณ์ฐ(ISF/ICR ๊ธฐ๋ฐ), ISPAD/ADA ์์ ๊ฐ์ด๋๋ผ์ธ ๊ธฐ๋ฐ ์ํ ๋ (Sick Day) ์ผ์ด, ๋ค์ด๋ฒ/๋ค์ ํ์ด๋ธ๋ฆฌ๋ ๊ฒ์์ผ๋ก ๋น๋จ ์ปค๋ฎค๋ํฐ ๊ฟํ์ ์ ๊ณตํฉ๋๋ค. OAuth ์ค์ ์์ด ๋ฐ๋ก ์ฌ์ฉ ๊ฐ๋ฅํฉ๋๋ค.
๐ Full ๋ฒ์ (Dexcom OAuth ํฌํจ)
ํญ๋ชฉ | ๊ฐ |
MCP ์ด๋ฆ | T1D Manager |
MCP Endpoint |
|
๋๊ตฌ ๊ฐ์ | 6๊ฐ |
MCP ์ค๋ช (๋ณต์ฌ์ฉ):
1ํ ๋น๋จ ํ์์ ๋ณดํธ์๋ฅผ ์ํ AI ํ๋น ๊ด๋ฆฌ ๋์ฐ๋ฏธ์ ๋๋ค. Dexcom CGM ์ค์๊ฐ ์ฐ๋(OAuth 2.0)์ผ๋ก ํ์ฌ ํ๋น๊ณผ ์ถ์ธ๋ฅผ ํ์ธํ๊ณ , ISPAD/ADA ์์ ๊ฐ์ด๋๋ผ์ธ ๊ธฐ๋ฐ ์ํ ๋ (Sick Day) ์ผ์ด ๋ฐ ์ธ์๋ฆฐ ๊ณ์ฐ์ ์ง์ํฉ๋๋ค. ๋ค์ด๋ฒ/๋ค์ ํ์ด๋ธ๋ฆฌ๋ ๊ฒ์์ผ๋ก ๋น๋จ ์ปค๋ฎค๋ํฐ ๊ฟํ๋ ์ ๊ณตํฉ๋๋ค.
Related MCP server: Dexcom G7 MCP Server
๐ ๏ธ ๋๊ตฌ ๋ชฉ๋ก
ํต์ฌ ๋๊ตฌ (Lite/Full ๊ณตํต)
๋๊ตฌ | ์ค๋ช |
| ํ๋น/ํ์ํ๋ฌผ ๊ธฐ๋ฐ ์ธ์๋ฆฐ ์ฉ๋ ๊ณ์ฐ |
| ๋ค์ด๋ฒ/๋ค์ ํ์ด๋ธ๋ฆฌ๋ ๊ฒ์ (ํ์ ๊ฒฝํ๋ด, ๊ฟํ) |
| ISPAD/ADA ๊ธฐ๋ฐ ์ํ ๋ ์ผ์ด ๊ฐ์ด๋๋ผ์ธ |
Dexcom ๋๊ตฌ (Full ๋ฒ์ ๋ง)
๋๊ตฌ | ์ค๋ช |
| Dexcom OAuth ์ธ์ฆ URL ์์ฑ |
| Authorization Code๋ก CGM ๋ฐ์ดํฐ ์กฐํ |
| Access Token์ผ๋ก CGM ๋ฐ์ดํฐ ์กฐํ |
๐ฌ ๋ํ ์์
๋ฒํธ | ์์ |
1 | ๋ฐฅ ๋จน์ผ๋ ค๋๋ฐ ํ์ํ๋ฌผ 60g์ด์ผ. ์ธ์๋ฆฐ ์ผ๋ง๋ ๋ง์์ผ ํด? |
2 | ๋ ์ด๋๊ณ ํ ํ์ด. ์ด๋ป๊ฒ ํด์ผ ํด? |
3 | ์ ํ๋น ๊ฐ์ ์ถ์ฒํด์ค |
4 | Dexcom ๋ก๊ทธ์ธ ํ ๋ (Full ๋ฒ์ ) |
โจ ํต์ฌ ๊ธฐ๋ฅ
1. ๐ฝ๏ธ ์ค๋งํธ ์ธ์๋ฆฐ ๊ณ์ฐ
๊ธฐ๋ฅ: ํ๋น/ํ์ํ๋ฌผ ์ ๋ ฅ ์ ์ ํํ ์ธ์๋ฆฐ ์ฉ๋๊ณผ ๊ต์ก ์๋ฃ๋ฅผ ๊ตฌ์กฐํ๋ JSON์ผ๋ก ๋ฐํํฉ๋๋ค.
ํ ๋ฃจ์๋ค์ด์ ์๋ ์ ํํ ๊ณ์ฐ์ ๋ณด์ฅํฉ๋๋ค.
2. ๐ฅ ์ํ ๋ (Sick Day) ์ผ์ด
๊ธฐ๋ฅ: "๋ ์ด ๋๊ณ ํ ํ์ด" โ ISPAD/ADA ๊ฐ์ด๋๋ผ์ธ ๊ธฐ๋ฐ ์ํ๋ ๋ถ์ ๋ฐ ํ๋ ์ง์นจ ์ ๊ณต.
๋ฐ์ดํฐ: ์๋ถ ์ญ์ทจ, ์ผํค ์ธก์ , ์๊ธ์ค ๋ฐฉ๋ฌธ ๊ธฐ์ค ๋ฑ ์์ ํ ์๋ฃ ์ง์นจ์ ์๋ดํฉ๋๋ค.
3. ๐ ํ์ด๋ธ๋ฆฌ๋ ์ปค๋ฎค๋ํฐ ๊ฒ์
๊ธฐ๋ฅ: ๋ค์ด๋ฒ ๋ธ๋ก๊ทธ(ํ์ ๊ฒฝํ๋ด)์ ๋ค์ ์น(์ ๋ณด)์ ๋์์ ๊ฒ์ํ์ฌ ์ค์ง์ ์ธ ๊ฟํ์ ์ ๊ณตํฉ๋๋ค.
4. ๐ Dexcom CGM ์ค์๊ฐ ์ฐ๋ (Full ๋ฒ์ )
๊ธฐ๋ฅ: Dexcom ๊ณต์ Developer API (OAuth 2.0) ์ง์์ผ๋ก ์ค์๊ฐ ํ๋น ๋ฐ ์ถ์ธ ํ์ธ.
๐ ๏ธ ๊ธฐ์ ์คํ & ๊ตฌ์กฐ
Core: Python 3.12,
mcp(Model Context Protocol),FastMCPTransport: Streamable HTTP (MCP ํ์ค ์ค์)
Integrations: Dexcom Developer API (OAuth), Naver/Kakao Search
Infra: Docker, Fly.io
t1d-mcp/
โโโ src/
โ โโโ server.py # Streamable HTTP Server Entrypoint
โ โโโ main.py # FastMCP Tool Definitions
โ โโโ tools/
โ โ โโโ dexcom_tools.py # Dexcom OAuth Tools (์กฐ๊ฑด๋ถ ๋ก๋)
โ โโโ cgm/ # Dexcom Official API Client
โ โโโ treatment/ # Sick Day Logic, Insulin Calc
โ โโโ community/ # Hybrid Search
โโโ tests/ # ๋จ์ ํ
์คํธ๐ ์์ํ๊ธฐ
1. ๋ก์ปฌ ์คํ
# ์์กด์ฑ ์ค์น (uv ์ฌ์ฉ ๊ถ์ฅ)
uv sync
# ์๋ฒ ์คํ (Streamable HTTP on port 8080)
uv run uvicorn src.server:app --host 0.0.0.0 --port 80802. MCP Inspector๋ก ํ ์คํธ
# Lite ๋ฒ์ (OAuth ์์)
npx @modelcontextprotocol/inspector --transport http --server-url https://t1d-mcp-lite.fly.dev/mcp
# Full ๋ฒ์ (Dexcom ํฌํจ)
npx @modelcontextprotocol/inspector --transport http --server-url https://t1d-mcp.fly.dev/mcp๐ง ํ๊ฒฝ ์ค์
Lite ๋ฒ์ (๊ธฐ๋ณธ)
Dexcom ๋๊ตฌ ์์ด ํต์ฌ 3๊ฐ ๋๊ตฌ๋ง ํ์ฑํ๋ฉ๋๋ค.
# fly.lite.toml
ENABLE_DEXCOM = "false"Full ๋ฒ์
Dexcom OAuth ๋๊ตฌ๊น์ง ๋ชจ๋ ํ์ฑํ๋ฉ๋๋ค.
# fly.toml (๊ธฐ๋ณธ๊ฐ)
ENABLE_DEXCOM = "true" # ๋๋ ๋ฏธ์ค์ ๐ To-Do / Roadmap
์๋ฃ๋จ
SSE โ Streamable HTTP ๋ง์ด๊ทธ๋ ์ด์
Sick Day ๊ฐ์ด๋๋ผ์ธ ๋๊ตฌ ๊ฐ์ (JSON ๊ตฌ์กฐํ, ์ํ์ ๊ทผ๊ฑฐ ๋ณด๊ฐ)
Fly.io ๋ฐฐํฌ ์๋ฃ
Dexcom Developer Portal ์ฑ ๋ฑ๋ก (Sandbox)
Legacy ID/PW ๋๊ตฌ ์ ๊ฑฐ (์ฌ์ฌ ๊ธฐ์ค ์ค์)
๋๊ตฌ ์ต์ ํ (9๊ฐ โ 6๊ฐ)
Lite/Full ๋ฒ์ ๋ถ๋ฆฌ (ํ๊ฒฝ๋ณ์ ๊ธฐ๋ฐ)
์์
Dexcom Production ํ๊ฒฝ ํ ์คํธ
์์์ ๋ณด API ์ฐ๋ (FoodSafetyKorea ๋ฑ ์ธ๋ถ API)
โ ๏ธ ๋ฉด์ฑ ์กฐํญ (Medical Disclaimer)
๋ณธ ์๋น์ค๋ ์๋ฃ ๊ธฐ๊ธฐ๊ฐ ์๋๋ฉฐ, ์ ๊ณต๋๋ ์ ๋ณด๋ ์ฐธ๊ณ ์ฉ์ ๋๋ค. ์ํ์ ๊ฒฐ์ ์ ๋ฐ๋์ ๋ด๋น ์๋ฃ์ง๊ณผ ์์ํด์ผ ํฉ๋๋ค. ์ธ์๋ฆฐ ์ฉ๋ ๊ณ์ฐ์ด๋ Sick Day ๊ด๋ฆฌ๋ ํ์์ ๊ฐ๋ณ ์ํฉ์ ๋ฐ๋ผ ๋ฌ๋ผ์ง ์ ์์ต๋๋ค.
๐ ๊ด๋ จ ๋ฌธ์
DEPLOYMENT.md: Fly.io ๋ฐฐํฌ ๊ฐ์ด๋
GUIDELINE.md: MCP ์๋ฒ ์์ฑ ๊ฐ์ด๋ ๋ฐ ์ฌ์ฌ ์ ์ฑ
This server cannot be deployed
Maintenance
Related MCP Connectors
- NightscoutOAuthai.b77
Your Nightscout glucose data, conversational.
Your own SLATE health data in your AI assistant: read, trend, plan and log. Never suggests a dose.
Glucose readings from your LibreLink Up sensor: graph, logbook, stats and summaries (read-only). Sec
Connect your health, fitness, nutrition, sleep, and wearable data to your AI assistant.
Related MCP Servers
- FlicenseNot gradedqualityDmaintenanceEnables diabetes management by retrieving real-time glucose readings from Dexcom continuous glucose monitors and searching for carbohydrate content of foods to help make informed dietary decisions.-
- FlicenseNot gradedqualityDmaintenanceProvides access to Dexcom G7 continuous glucose monitor data, enabling AI assistants to retrieve current glucose readings and historical data.14-
- AlicenseNot gradedqualityCmaintenanceConnects AI assistants to Nightscout for real-time glucose monitoring, analysis, and treatment logging, enabling natural language interaction with CGM data.5MIT
- AlicenseBqualityDmaintenanceEnables AI assistants to access and analyze Continuous Glucose Monitor (CGM) data from Nightscout, providing real-time readings, history, and analytics.71MIT