Skip to main content
Glama

슬림-MCP: 클로드 툴스 🤖

파이썬 3.11+ 라이센스: MIT GitHub 별점 트위터 팔로우

🚀 MCP 프로토콜을 통해 강력한 Python 기반 도구로 Claude를 강화하세요

✨ 특징

  • 🧮 계산기 : 복잡한 수학 계산을 수행합니다

  • 🌦️ 날씨 : 현재 날씨 예보와 알림을 받으세요

  • 🕒 DateTime : 로컬 및 UTC 형식으로 현재 시간에 액세스합니다.

  • 🔌 확장 가능 : 간단한 Python 함수로 사용자 정의 도구를 쉽게 추가할 수 있습니다.

  • 💻 데스크톱 통합 : Claude 데스크톱 앱과의 원활한 통합

  • 🖱️ 커서 IDE : 개발자를 위한 커서 IDE와의 기본 통합

Related MCP server: XiaoZhi MCP Aggregate

📋 목차

🚀 설치

필수 조건

  • 파이썬 3.11+

  • Conda(추천)

Conda로 설정(권장)

지엑스피1

🎮 사용법

Claude 구성

Claude 구성 파일에 다음을 추가하세요.

{
    "mcpServers": {
        "claude-tools": {
            "command": "/path/to/conda/envs/mcp-tools/bin/python",
            "args": ["-m", "claude_tools.main"]
        }
    }
}

커서 IDE 구성

NAME: claude-tools
TYPE: command
COMMAND: /path/to/conda/envs/mcp-tools/bin/python -m claude_tools.main

예시 프롬프트

Can you calculate 25^3 + sqrt(196)?

What's the current time in UTC?

What's the weather like in Austin, TX?

🔌 통합

  • Claude AI Desktop : MCP 프로토콜을 통한 기본 통합

  • 커서 IDE : 개발 워크플로우를 위한 직접 통합

  • Claude Web : 구성을 통해 Claude Web과 호환 가능

💻 개발

프로젝트 구조

slim-MCP/
├── src/
│   └── claude_tools/
│       ├── __init__.py
│       ├── calculator.py     # Math calculation tool
│       ├── datetime_tool.py  # Date and time utilities
│       ├── main.py           # Entry point
│       └── weather.py        # Weather forecasting tool
├── http_server.py            # HTTP server for MCP
├── pyproject.toml            # Project configuration
├── .gitignore                # Git ignore file
└── LICENSE                   # MIT License

새로운 도구 만들기

  1. src/claude_tools/ 에 새로운 Python 파일을 만듭니다.

# src/claude_tools/my_tool.py
def my_awesome_function(param: str) -> str:
    """Description of what this tool does.
    
    Args:
        param: Description of the parameter
        
    Returns:
        A string with the result
    """
    result = f"Processed: {param}"
    return result
    
def register_my_tools(mcp):
    """Register all my tools with the MCP server."""
    mcp.tool()(my_awesome_function)
  1. __init__.py 에 도구를 가져와 등록합니다.

# In src/claude_tools/__init__.py
from .calculator import register_calculator_tools
from .datetime_tool import register_datetime_tools
from .weather import register_weather_tools
from .my_tool import register_my_tools  # Add this line

def register_all_tools(mcp):
    register_calculator_tools(mcp)
    register_datetime_tools(mcp)
    register_weather_tools(mcp)
    register_my_tools(mcp)  # Add this line
  1. 서버를 다시 시작하면 새로운 도구를 사용할 준비가 됩니다!

👥 기여하기

기여를 환영합니다! 풀 리퀘스트를 제출해 주세요.

  1. 저장소를 포크하세요

  2. 기능 브랜치를 생성합니다( git checkout -b feature/amazing-feature )

  3. 변경 사항을 커밋하세요( git commit -m 'Add some amazing feature' )

  4. 브랜치에 푸시( git push origin feature/amazing-feature )

  5. 풀 리퀘스트 열기

📄 라이센스

이 프로젝트는 MIT 라이선스에 따라 라이선스가 부여되었습니다. 자세한 내용은 라이선스 파일을 참조하세요.


Install Server
A
security – no known vulnerabilities
A
license - permissive license
A
quality - confirmed to work

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/webdevtodayjason/slim-MCP'

If you have feedback or need assistance with the MCP directory API, please join our Discord server