- Home
- MCP servers
- Coin
Coin
- typescript
28
GitHub Stars
typescript
Language
6 months ago
First Indexed
2 months ago
Catalog Refreshed
Documentation & install
Readme and setup notes from the catalogue, plus a client-ready config you can copy for your MCP host.
Installation
Add the following to your MCP client configuration file.
Configuration
View docs{
"mcpServers": {
"pwh-pwh-coin-mcp-server": {
"command": "deno",
"args": [
"run",
"--allow-net",
"--allow-env",
"--allow-read",
"https://deno.land/x/coin_mcp_server/main.ts"
],
"env": {
"BGURL": "YOUR_CUSTOM_BITGET_BASE_URL"
}
}
}
}You can query real-time token prices (paired with USDT) from Bitget through a lightweight MCP server built with FastMCP and validated data with Zod. It exposes simple tools to fetch the latest price, announcements, and token details in a fast, reliable way, all run locally via Deno.
How to use
Interact with the MCP server using your MCP client to request token prices and related data. The server exposes these tools:
How to install
Prerequisites: install Deno on your machine to run the MCP server.
Configuration
The server can point to Bitget’s public ticker API. If you want to customize the Bitget base URL, set the BGURL environment variable.
Usage example and run instructions
{
"mcpServers": {
"coin_mcp": {
"command": "deno",
"args": [
"run",
"--allow-net",
"--allow-env",
"--allow-read",
"https://deno.land/x/coin_mcp_server/main.ts"
]
}
}
}
Environment variables
Set BGURL to customize Bitget’s API base URL. If not set, the server uses the default Bitget endpoint.
Troubleshooting
If you encounter an HTTP error, verify that your token symbol is correct (for example, BGB vs BGBUSDT). If you see network errors, ensure Deno has permission for network access and that your BGURL (if used) is reachable.
Notes
For best results, run the server in stdio mode using the exact command and arguments shown. The server fetches the latest price via Bitget’s ticker API and returns the last traded price for the requested token paired with USDT.
Available tools
getTokenPrice
Fetches the latest price for a specific token paired with USDT from Bitget, returning the current price.
getAnnoucements
Returns the latest announcements related to token prices and MCP server status.
getCoinInfo
Provides detailed information about a specified token, including transferability and supported chains.