Quick Start
This guide will help you set up ByteMCP and start querying Bitcoin ATM locations through AI assistants.
Prerequisites
Section titled “Prerequisites”- Node.js 18+
- MySQL database with ATM location data
- Claude Desktop (for local testing)
Installation
Section titled “Installation”1. Clone the Repository
Section titled “1. Clone the Repository”git clone https://github.com/bytefederal/byte-mcp.gitcd byte-mcp2. Install Dependencies
Section titled “2. Install Dependencies”npm install3. Configure Environment
Section titled “3. Configure Environment”Create a .env file:
cp .env.example .envEdit .env with your database credentials:
DB_HOST=localhostDB_PORT=3306DB_DATABASE=bytefederalDB_USER=your_usernameDB_PASSWORD=your_password4. Build the Project
Section titled “4. Build the Project”npm run build5. Test Locally
Section titled “5. Test Locally”Run the server in stdio mode:
npm startAdd to Claude Desktop
Section titled “Add to Claude Desktop”Edit your Claude Desktop configuration file:
macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
Windows: %APPDATA%\Claude\claude_desktop_config.json
{ "mcpServers": { "bytefederal-atm": { "command": "node", "args": ["/path/to/byte-mcp/dist/index.js"], "env": { "DB_HOST": "your_db_host", "DB_DATABASE": "bytefederal", "DB_USER": "your_user", "DB_PASSWORD": "your_password" } } }}Restart Claude Desktop after saving.
Try It Out
Section titled “Try It Out”Open Claude Desktop and try these queries:
- “Find Bitcoin ATMs near Miami, FL”
- “What are the hours for the ATM at ID 123?”
- “Are there any open ATMs in New York City right now?”
- “List all Bitcoin ATMs in Austin, Texas”
Verify Installation
Section titled “Verify Installation”Check if the MCP server is recognized:
- Open Claude Desktop
- Look for the MCP tools icon (hammer/wrench)
- Click to see available tools
- You should see the 4 ByteMCP tools listed
Troubleshooting
Section titled “Troubleshooting”Server Not Starting
Section titled “Server Not Starting”Check your database connection:
# Test MySQL connectionmysql -h $DB_HOST -u $DB_USER -p$DB_PASSWORD $DB_DATABASE -e "SELECT 1"Tools Not Appearing
Section titled “Tools Not Appearing”- Verify the path in
claude_desktop_config.jsonis correct - Ensure the project is built (
npm run build) - Check Claude Desktop logs for errors
- Restart Claude Desktop
Permission Denied
Section titled “Permission Denied”Make sure the entry point is executable:
chmod +x dist/index.jsNext Steps
Section titled “Next Steps”- Configuration - Advanced configuration options
- MCP Tools - Learn about each tool
- Deployment - Deploy for production use