Skip to content

Claude Desktop Integration

Claude Desktop is the primary client for local MCP servers. This guide covers complete setup and usage.

  • Claude Desktop installed
  • ByteMCP built and configured
  • Database with ATM location data

macOS:

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

Windows:

%APPDATA%\Claude\claude_desktop_config.json

Linux:

~/.config/Claude/claude_desktop_config.json

Edit the config file:

{
"mcpServers": {
"bytefederal-atm": {
"command": "node",
"args": ["/path/to/byte-mcp/dist/index.js"],
"env": {
"DB_HOST": "localhost",
"DB_PORT": "3306",
"DB_DATABASE": "bytefederal",
"DB_USER": "your_user",
"DB_PASSWORD": "your_password"
}
}
}
}

Completely quit and restart Claude Desktop for changes to take effect.

  1. Open Claude Desktop
  2. Look for the tools icon (hammer/wrench) in the input area
  3. Click to see available tools
  4. You should see:
    • find_nearest_bitcoin_atm
    • get_atm_details
    • check_atm_status
    • list_atms_by_city

Ask Claude:

“Find Bitcoin ATMs near Miami, FL”

Claude should:

  1. Recognize the ATM search intent
  2. Call find_nearest_bitcoin_atm
  3. Return formatted results

“Where can I find a Bitcoin ATM near downtown Los Angeles?”

“Bitcoin ATMs within 5 miles of 90210”

“Nearest ATM to my current location” (Claude may ask for location)

“What are the hours for ATM #456?”

“Tell me more about the Shell station ATM in Miami”

“Are there open Bitcoin ATMs in Dallas right now?”

“How many ATMs are currently available in Chicago?”

“Show me all Bitcoin ATMs in Austin, Texas”

“List ATMs in New York City”

More context helps Claude choose the right tool:

Less EffectiveMore Effective
”ATMs?""Find Bitcoin ATMs near Miami"
"Hours""What are the hours for ATM 123?"
"Open?""Which ATMs are open in Dallas right now?”

Claude can use multiple tools in sequence:

“Find ATMs near Miami and tell me which ones are open”

“List ATMs in Austin and give me details on the closest one”

After getting results:

“What about the second one?”

“Are any of those open 24/7?”

“How do I get directions to that one?”

  1. Check config syntax - Validate JSON
  2. Verify path - Use absolute path to dist/index.js
  3. Check build - Run npm run build
  4. Restart fully - Quit Claude Desktop completely

Check Claude Desktop logs:

macOS:

Terminal window
tail -f ~/Library/Logs/Claude/mcp*.log

Test database connection:

Terminal window
mysql -h localhost -u your_user -p your_database -e "SELECT COUNT(*) FROM locations_map"
  • Check database performance
  • Verify network connectivity
  • Consider adding database indexes

You can run multiple MCP servers:

{
"mcpServers": {
"bytefederal-atm": {
"command": "node",
"args": ["/path/to/byte-mcp/dist/index.js"],
"env": { ... }
},
"other-server": {
"command": "python",
"args": ["/path/to/other/server.py"]
}
}
}
  • Database credentials are stored in the config file
  • Queries are processed locally
  • ATM data stays on your network