BTC MCP Server
mcp-name: io.github.iworkist/btcmcp
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 priceGET /api/health- Health checkGET /api/tools- List available toolsGET /- 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)
-
Setup Vercel Secrets in GitHub:
- Go to your GitHub repository → Settings → Secrets and variables → Actions
- Add these secrets:
VERCEL_TOKEN: Your Vercel API tokenORG_ID: Your Vercel organization IDPROJECT_ID: Your Vercel project ID
-
Push to main branch:
git add . git commit -m "Deploy to Vercel" git push origin main
-
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
Metadata
Release files for btcmcp 0.1.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| btcmcp-0.1.2.tar.gz | 50.3 kB | Without provenance | Details for btcmcp-0.1.2.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| btcmcp-0.1.2-py3-none-any.whl | Python 3 | none | any | Details for btcmcp-0.1.2-py3-none-any.whl |
Total release size: 52.5 kB
Release files / btcmcp-0.1.2.tar.gz
| Download URL | btcmcp-0.1.2.tar.gz |
|---|---|
| Size | 50.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
ecbd7ff6f786ac9518b9ed620c9ea40d513f8eb27462a3fa093cde4ad0483f77
|
|
BLAKE2b-256 checksum How to use checksums |
2290669d9dca640119084355b9525845d5c542ff809f2807d425e6fe82616e11
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.2
|
Release files / btcmcp-0.1.2-py3-none-any.whl
| Download URL | btcmcp-0.1.2-py3-none-any.whl |
|---|---|
| Size | 2.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
38611803f4fe7743cef8a21f63876f43b12fe8adb727ab03b68a90cb2f90e9d1
|
|
BLAKE2b-256 checksum How to use checksums |
a74618fa9c46e8f775fd4e799ec4d3faad08309e13c908d32288804881e9e308
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.2
|
Security for btcmcp 0.1.2
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.