๐ฎ
KST Time & Randomizer
Get the current date and time in Korea Standard Time. Draw a random number between 1 and 50 for quick picks, testing, or games. Streamline tasks that need precise local time and simple randomness.
0 installs
Trust: 34 โ Low
Gaming
Ask AI about KST Time & Randomizer
Powered by Claude ยท Grounded in docs
I know everything about KST Time & Randomizer. Ask me about installation, configuration, usage, or troubleshooting.
0/500
Loading tools...
Reviews
Documentation
My Little MCP Server
ํ์ฌ ์๊ฐ๊ณผ ๋๋ค ์ซ์๋ฅผ ์ ๊ณตํ๋ ์์ฃผ ๊ฐ๋จํ MCP (Model Context Protocol) ์๋ฒ์ ๋๋ค.
๊ธฐ๋ฅ
-
ํ์ฌ ์๊ฐ ์กฐํ (
get_current_time)- ํ๊ตญ ์๊ฐ(KST) ๊ธฐ์ค์ผ๋ก ํ์ฌ ๋ ์ง์ ์๊ฐ์ ๋ฐํ
- ํฌ๋งท:
locale(๊ธฐ๋ณธ),iso,timestamp
-
๋๋ค ์ซ์ ์์ฑ (
get_random_number)- 1~50 ์ฌ์ด์ ๋๋คํ ์ซ์๋ฅผ ์์ฑ
- ๋ฒ์ ์ปค์คํฐ๋ง์ด์ง ๊ฐ๋ฅ (1~100)
์ค์น ๋ฐ ์คํ
# ์์กด์ฑ ์ค์น
npm install
# ๋น๋
npm run build
stdio transport (๊ธฐ๋ณธ)
# ๊ฐ๋ฐ ๋ชจ๋
npm run dev
# ํ๋ก๋์
npm start
HTTP transport
# ๊ฐ๋ฐ ๋ชจ๋ (ํฌํธ 8004)
npm run dev:http
# ํ๋ก๋์
(ํฌํธ 8004)
npm run start:http
# ์ปค์คํ
ํฌํธ
npm run dev -- --transport=http --port=8005
์ฌ์ฉ๋ฒ
MCP ํด๋ผ์ด์ธํธ์์ ์ฌ์ฉ
Cursor (.cursor/mcp.json)
{
"mcpServers": {
"my-little-mcp": {
"command": "node",
"args": ["/Users/swan/swan/chequer-projects/chequer-io/ironman/mcp-suite/mcp-servers/my-little-mcp/dist/index.js"]
}
}
}
Claude Desktop (claude_desktop_config.json)
{
"mcpServers": {
"my-little-mcp": {
"command": "node",
"args": ["/Users/swan/swan/chequer-projects/chequer-io/ironman/mcp-suite/mcp-servers/my-little-mcp/dist/index.js"]
}
}
}
HTTP transport ์ฌ์ฉ ์
Cursor (.cursor/mcp.json):
{
"mcpServers": {
"my-little-mcp": {
"url": "http://localhost:8004/mcp"
}
}
}
๋ก์ปฌ์์ ํ ์คํธ
stdio transport
# MCP Inspector๋ก ํ
์คํธ
npx @modelcontextprotocol/inspector node dist/index.js
HTTP transport
# ์๋ฒ ์คํ (๋ณ๋ ํฐ๋ฏธ๋)
npm run start:http
# MCP Inspector๋ก ํ
์คํธ
npx @modelcontextprotocol/inspector http://localhost:8004/mcp
# ๋๋ ์ง์ HTTP API ํธ์ถ
curl http://localhost:8004/health
curl http://localhost:8004/
๋๊ตฌ ์ฌ์ฉ ์์
ํ์ฌ ์๊ฐ ์กฐํ
- ๊ธฐ๋ณธ:
get_current_time - ISO ํฌ๋งท:
get_current_timewith{"format": "iso"} - ํ์์คํฌํ:
get_current_timewith{"format": "timestamp"}
๋๋ค ์ซ์ ์์ฑ
- ๊ธฐ๋ณธ (1-50):
get_random_number - ์ปค์คํ
๋ฒ์:
get_random_numberwith{"min": 10, "max": 30}
ํน์ง
- ๋งค์ฐ ๊ฐ๋จํจ: 100์ค ๋ฏธ๋ง์ ์ฝ๋
- ์์ MCP SDK: ์ถ๊ฐ ์์กด์ฑ ์ต์ํ
- ํ๊ตญ์ด ์ง์: ํ๊ตญ ์๊ฐ๋ ๋ฐ ํ๊ตญ์ด ๋ฉ์์ง
- ํ์ ์์ ์ฑ: TypeScript + Zod
์๊ตฌ์ฌํญ
- Node.js 18.0.0+
- TypeScript 5.0+
๋ผ์ด์ผ์ค
MIT License
