Provides tools to interact with Binance's public market data, enabling users to retrieve real-time cryptocurrency prices and 24-hour price change summaries.
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., "@My HTTP MCP ServerWhat is the current price of Bitcoin and its 24-hour change?"
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.
My HTTP MCP Server
A small Model Context Protocol (MCP) server built with:
@modelcontextprotocol/sdkexpresstypescriptzod
The app exposes a Streamable HTTP MCP endpoint at /mcp and includes a few example tools, resources, and prompts centered around cryptocurrency data.
Project Structure
src/
server.ts
http/
createMcpApp.ts
mcp/
createMcpServer.ts
services/
cryptoService.tsResponsibilities
src/server.tsStarts the HTTP server and wires the app together.src/http/createMcpApp.tsContains the HTTP and MCP transport boilerplate: request parsing, origin validation, session management, and/mcproute handling.src/mcp/createMcpServer.tsDefines the MCP server itself: tools, resources, prompts, and their schemas.src/services/cryptoService.tsContains the business logic for symbol normalization, Binance API calls, and activity log access.
Features
The server currently registers:
Tools:
ping,add_numbers,get_price,get_price_changeResources:
activity_log,crypto_pricePrompt:
executive_summary
The crypto-related tools call Binance's public market-data endpoints and append activity to activity.log.
Requirements
Node.js 20+
npm
Node 20+ is recommended because the app relies on the built-in fetch API.
Install
npm installRun
Start the server directly from TypeScript with tsx:
npx tsx src/server.tsBy default, the server listens on:
http://127.0.0.1:8787/mcpYou can override the port with PORT:
PORT=3000 npx tsx src/server.tsBuild / Type Check
This repo does not currently include a tsconfig.json or build script, so the simplest way to validate the TypeScript sources is:
npx tsc --noEmit --module nodenext --moduleResolution nodenext --target es2022 --esModuleInterop src/server.ts src/http/createMcpApp.ts src/mcp/createMcpServer.ts src/services/cryptoService.tsIf you want to add a real build pipeline later, the next step would usually be:
Add a
tsconfig.jsonAdd
build,dev, andtypecheckscripts topackage.jsonEmit compiled JavaScript into a
dist/directory
Testing
There is not a dedicated automated test suite yet.
Right now, the practical testing flow is:
Run the TypeScript check command above
Start the server with
npx tsx src/server.tsConnect with an MCP client and exercise the registered tools/resources/prompts
Suggested Manual Smoke Tests
Call
pingand confirm it returnspongCall
add_numberswith two values and confirm the sumCall
get_pricewithBTC,ETH,Bitcoin, orEthereumCall
get_price_changeand confirm a 24-hour summary is returnedRead the
activity_logresource and confirm requests are recordedUse the
executive_summaryprompt and confirm it references the crypto tools correctly
Notes
The HTTP boilerplate and session handling are intentionally separate from business logic.
Session state is stored in memory, so this server is best suited for local development or simple demos.
The crypto tools depend on outbound network access to Binance.
The activity log is stored locally in
activity.logat the project root.
Future Improvements
Add
tsconfig.jsonAdd npm scripts for
dev,build,typecheck, andtestAdd automated tests for:
symbol normalization
Binance response handling
MCP tool/resource/prompt registration
HTTP session lifecycle
This server cannot be installed
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.