Skip to main content
Glama
ber4444

Binance TypeScript MCP

by ber4444

TypeScript MCP Project

This project implements a Model Context Protocol server using TypeScript.

Getting Started

  1. Build:

npm install
  1. Add to .vscode/mcp.json:

{ "servers": { "binance-ts-mcp": { "command": "npx", "args": [ "-y", "/FULL_PATH_GOES_HERE/typescript_mcp" ] } }, "inputs": [] }
  1. Type "what's the BTC price now" into Copilot, and you'll see it use this mcp to answer

  2. Debug with npx @modelcontextprotocol/inspector node /home/presence/AndroidStudioProjects/mcp-course/typescript_mcp/src/binance_mcp.ts

  3. Optionally, publish it to npmjs.com

  • npm login

  • npm publish

  • results: 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 functionality

  • zod: Runtime type checking

  • typescript: Development dependency for TypeScript compilation

  • @types/node: Type definitions for Node.js

Install Server
A
security – no known vulnerabilities
F
license - not found
A
quality - confirmed to work

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/ber4444/typescript-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server