Skip to content

RussellGilmore/hello-mcp-server

Repository files navigation

Hello MCP Server!

A simple tutorial on how to make an MCP server.

Core MCP Concepts

  • Resources: File-like data that can be read by clients (like API responses or file contents)
  • Tools: Functions that can be called by the LLM (with user approval)
  • Prompts: Pre-written templates that help users accomplish specific tasks

UV Install and Run MCP Server

uv sync
uv run weather

Configure with Claude

Claude Config:

code ~/Library/Application\ Support/Claude/claude_desktop_config.json

Add the following:

Run which uv to find the absolute path to the uv command.

{
    "mcpServers": {
        "weather": {
            "command": "/Users/russell/.local/bin/uv",
            "args": [
                "--directory",
                "/Users/russell/Documents/hello-mcp-server",
                "run",
                "weather"
            ]
        }
    }
}

About

My First MCP Server!

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages