io.github.iworkist/btcmcp

السجل الرسمي التجارة الإلكترونية

An MCP server that provides Bitcoin price data from Binance API

ماذا يمكنك أن تفعل مع io.github.iworkist/btcmcp؟

  • Real-time Bitcoin price from Binance API
  • RESTful API endpoints
  • Automatic deployment from GitHub
  • Health monitoring

التثبيت

أضف هذا إلى إعدادات MCP في عميلك (Claude Desktop: claude_desktop_config.json، وCursor: ‏.cursor/mcp.json، ويستخدم VS Code وغيره الصيغة نفسها «mcpServers»).

PYPI package btcmcp
Claude Code
claude mcp add btcmcp -- uvx btcmcp==0.1.2
إعداد JSON (Claude Desktop وCursor وVS Code)
{
    "mcpServers": {
        "btcmcp": {
            "command": "uvx",
            "args": [
                "btcmcp==0.1.2"
            ]
        }
    }
}

التوثيق

مأخوذ من ملف README للمشروع على GitHub ويُحدَّث أسبوعيًا. تفتح الروابط على GitHub.

المحتويات
  1. BTC MCP Server
  2. 🚀 Features
  3. 📡 API Endpoints
  4. 🛠️ Local Development
  5. 🚀 Deployment
  6. 📊 Example Usage
  7. 🔧 Configuration

BTC MCP Server

Bitcoin price MCP server deployed on Vercel with GitHub auto-deployment.

🚀 Features

  • Real-time Bitcoin price from Binance API
  • RESTful API endpoints
  • Automatic deployment from GitHub
  • Health monitoring

📡 API Endpoints

  • GET /api/get_btc_price - Get current Bitcoin price
  • GET /api/health - Health check
  • GET /api/tools - List available tools
  • GET / - API documentation

🛠️ Local Development

# Install dependencies
uv sync

# Run locally
uv run python api/index.py

# Test
uv run python test_btcmcp.py

🚀 Deployment

Automatic Deployment (GitHub + Vercel)
  1. Setup Vercel Secrets in GitHub:
    • Go to your GitHub repository → Settings → Secrets and variables → Actions
    • Add these secrets:
      • VERCEL_TOKEN: Your Vercel API token
      • ORG_ID: Your Vercel organization ID
      • PROJECT_ID: Your Vercel project ID
  2. Push to main branch:
     git add .
     git commit -m "Deploy to Vercel"
     git push origin main
  3. Automatic deployment:
    • GitHub Actions will automatically deploy to Vercel
    • Your API will be available at: https://your-app.vercel.app
Manual Deployment
# Install Vercel CLI
npm i -g vercel

# Deploy
vercel --prod

📊 Example Usage

# Get Bitcoin price
curl https://your-app.vercel.app/api/get_btc_price

# Health check
curl https://your-app.vercel.app/api/health

🔧 Configuration

The server uses:

  • Flask for web API
  • Binance API for Bitcoin price data
  • Vercel for hosting
  • GitHub Actions for CI/CD

الأسئلة الشائعة

ما هو io.github.iworkist/btcmcp؟

An MCP server that provides Bitcoin price data from Binance API

كيف أثبّت io.github.iworkist/btcmcp؟

يعمل على جهازك. في Claude Code: claude mcp add btcmcp -- uvx btcmcp==0.1.2. وفي العملاء الآخرين، الصق إعداد JSON من هذه الصفحة في إعدادات MCP الخاصة بهم.

هل يحتاج io.github.iworkist/btcmcp إلى مفتاح API؟

لا يذكر إدراجه في السجل أي مفتاح أو سر إلزامي. قد تتطلب بعض الميزات حسابًا لدى الخدمة التي يتصل بها.

هل io.github.iworkist/btcmcp مفتوح المصدر؟

شيفرته علنية على GitHub، لكن المستودع لا يعلن ترخيصًا قياسيًا.

من يصون io.github.iworkist/btcmcp؟

ينشره iworkist. يدرجه AI.tn لكنه لا يصونه ولا يوصي به.

من سجل MCP الرسمي. الإدراج ليس توصية: راجع شيفرة الخادم وصلاحياته قبل منحه الوصول إلى بياناتك.