Connects to the Binance API to provide real-time pricing information for cryptocurrency symbols.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Binance TypeScript MCPWhat is the current price of BTC?"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
TypeScript MCP Project
This project implements a Model Context Protocol server using TypeScript.
Getting Started
Build:
Add to
.vscode/mcp.json:
Type "what's the BTC price now" into Copilot, and you'll see it use this mcp to answer
Debug with
npx @modelcontextprotocol/inspector node /home/presence/AndroidStudioProjects/mcp-course/typescript_mcp/src/binance_mcp.tsOptionally, publish it to npmjs.com
npm loginnpm publishresults: https://www.npmjs.com/package/gaborb-binancemcp
the mcp will still run locally when using npmjs, but it will be downloaded
Tools, resources
This project has a tool that connects to the Binance API to give the price of a given crypto symbol.
MCP resources provide easy access to files, database tables, API results, e.g. this project writes MCP activity log to a file resource.
Dependencies
@modelcontextprotocol/sdk: Core MCP functionalityzod: Runtime type checkingtypescript: Development dependency for TypeScript compilation@types/node: Type definitions for Node.js