A simple Model Context Protocol (MCP) server for Claude Desktop.
- Install dependencies:
 
bun install @modelcontextprotocol/sdk dotenv
bun add -D typescript @types/node- 
Create your server code in
src/index.ts - 
Run your server:
 
bun src/index.tsAdd this to your Claude Desktop configuration file:
# On macOS
code ~/Library/Application\ Support/Claude/claude_desktop_config.jsonAdd this JSON (replace with YOUR actual paths):
{
  "mcpServers": {
    "my-server": {
      "command": "/full/path/to/bun",
      "args": ["/full/path/to/your/project/src/index.ts"]
    }
  }
}Find your bun path with:
which bun- Restart Claude Desktop
 - Click the "+" button in Claude's input box
 - Your server's tools should appear in the list
 
Check logs:
tail -f ~/Library/Logs/Claude/mcp*.log