Fastmcp Labs
No description available
Ask AI about Fastmcp Labs
Powered by Claude ยท Grounded in docs
I know everything about Fastmcp Labs. Ask me about installation, configuration, usage, or troubleshooting.
0/500
Reviews
Documentation
FastMCP Labs
๋น๊ฐ๋ฐ์๋ ๋ฐ๋ผํ๋ฉด์ MCP ์๋ฒ ๊ฐ๋ฐ์ ์ฒดํํ ์ ์๋ ํํ ๋ฆฌ์ผ ๋ฆฌํฌ์งํ ๋ฆฌ์ ๋๋ค.
FastMCP๋ฅผ ์ฌ์ฉํ์ฌ ๋๋ง์ ๋๊ตฌ๋ฅผ ๋ง๋ค๊ณ , Claude Desktop๊ณผ ์ฐ๋ํ๋ ๋ฐฉ๋ฒ์ ๋จ๊ณ๋ณ๋ก ํ์ตํ ์ ์์ต๋๋ค.
๋น ๋ฅธ ์์
1. ์์กด์ฑ ์ค์น
uv sync
2. ๊ฐ๋ฐ ํ ์คํธ
uv run fastmcp dev main.py
๋ธ๋ผ์ฐ์ ์์ MCP Inspector๊ฐ ์ด๋ฆฌ๋ฉด ๋๊ตฌ๋ฅผ ์ง์ ํ ์คํธํด๋ณผ ์ ์์ต๋๋ค.
Claude Desktop ์ฐ๊ฒฐ
์ค์ ํ์ผ ์ฐพ๊ธฐ
macOS
- Finder ์ด๊ธฐ
- ๋ฉ๋ด๋ฐ > ์ด๋ > ํด๋๋ก ์ด๋ (โ+Shift+G)
~/Library/Application Support/Claude์ ๋ ฅ ํ Enterclaude_desktop_config.jsonํ์ผ์ ํ ์คํธ ํธ์ง๊ธฐ๋ก ์ด๊ธฐ (ํ์ผ์ด ์์ผ๋ฉด ์๋ก ์์ฑ)
Windows
- ํ์ผ ํ์๊ธฐ ์ด๊ธฐ (Win+E)
- ์ฃผ์์ฐฝ์
%APPDATA%\Claude์ ๋ ฅ ํ Enter claude_desktop_config.jsonํ์ผ์ ๋ฉ๋ชจ์ฅ์ผ๋ก ์ด๊ธฐ (ํ์ผ์ด ์์ผ๋ฉด ์๋ก ์์ฑ)
| OS | ์ ์ฒด ๊ฒฝ๋ก |
|---|---|
| macOS | ~/Library/Application Support/Claude/claude_desktop_config.json |
| Windows | C:\Users\{์ฌ์ฉ์์ด๋ฆ}\AppData\Roaming\Claude\claude_desktop_config.json |
MCP ์๋ฒ ๋ฑ๋กํ๊ธฐ
์ค์ ํ์ผ์ ์๋ ๋ด์ฉ์ ์ถ๊ฐํฉ๋๋ค. ํ๋ก์ ํธ ๊ฒฝ๋ก๋ ๋ณธ์ธ ํ๊ฒฝ์ ๋ง๊ฒ ์์ ํ์ธ์.
์ค์: Claude Desktop์ ํฐ๋ฏธ๋์ PATH ํ๊ฒฝ๋ณ์๋ฅผ ์ฌ์ฉํ์ง ์์ต๋๋ค.
command์๋ ๋ฐ๋์ ์ ์ฒด ๊ฒฝ๋ก๋ฅผ ์ ๋ ฅํด์ผ ํฉ๋๋ค.
uv์ ์ฒด ๊ฒฝ๋ก ํ์ธ: ํฐ๋ฏธ๋์์which uv์คํ
macOS ์์
{
"mcpServers": {
"my-mcp-server": {
"command": "/full/path/to/uv",
"args": ["run", "--directory", "/Users/์ฌ์ฉ์์ด๋ฆ/projects/fastmcp-labs", "python", "main.py"]
}
}
}
Windows ์์
uv ์ ์ฒด ๊ฒฝ๋ก ํ์ธ: ๋ช
๋ น ํ๋กฌํํธ์์ where uv ์คํ
{
"mcpServers": {
"my-mcp-server": {
"command": "C:\\full\\path\\to\\uv.exe",
"args": ["run", "--directory", "C:\\Users\\์ฌ์ฉ์์ด๋ฆ\\projects\\fastmcp-labs", "python", "main.py"]
}
}
}
ํ๋ก์ ํธ ๊ฒฝ๋ก ํ์ธ ๋ฐฉ๋ฒ
- macOS: ํฐ๋ฏธ๋์์ ํ๋ก์ ํธ ํด๋๋ก ์ด๋ ํ
pwd๋ช ๋ น์ด ์คํ - Windows: ํ์ผ ํ์๊ธฐ์์ ํ๋ก์ ํธ ํด๋ ์ด๊ณ ์ฃผ์์ฐฝ์ ๊ฒฝ๋ก ๋ณต์ฌ
- ๋ณต์ฌํ ๊ฒฝ๋ก์
\๋ฅผ\\๋ก ๋ณ๊ฒฝ (์:C:\Users\...โC:\\Users\\...)
- ๋ณต์ฌํ ๊ฒฝ๋ก์
์ฌ๋ฌ MCP ์๋ฒ ๋ฑ๋กํ๊ธฐ
์ฌ๋ฌ MCP ์๋ฒ๋ฅผ ๋์์ ์ฌ์ฉํ๋ ค๋ฉด mcpServers ์์ ์ฌ๋ฌ ํญ๋ชฉ์ ์ถ๊ฐํฉ๋๋ค:
{
"mcpServers": {
"my-mcp-server": {
"command": "/full/path/to/uv",
"args": ["run", "--directory", "/path/to/fastmcp-labs", "python", "main.py"]
},
"another-server": {
"command": "/full/path/to/uv",
"args": ["run", "--directory", "/path/to/another-project", "python", "main.py"]
}
}
}
์ค์ ์ ์ฉ
์ค์ ํ์ผ ์ ์ฅ ํ Claude Desktop์ ์ฌ์์ํ๋ฉด MCP ์๋ฒ๊ฐ ํ์ฑํ๋ฉ๋๋ค.
์ฌ์ฉ ๊ฐ๋ฅํ ๋๊ตฌ
| ๋๊ตฌ | ์ค๋ช |
|---|---|
greet | ์ด๋ฆ์ ์ ๋ ฅํ๋ฉด ์ธ์ฌ ๋ฉ์์ง ๋ฐํ |
current_time | ํ์ฌ ์๊ฐ ์กฐํ |
