- Home
- MCP servers
- TypeScript
TypeScript
- typescript
0
GitHub Stars
typescript
Language
4 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": {
"ber4444-typescript-mcp": {
"command": "npx",
"args": [
"-y",
"/FULL_PATH_GOES_HERE/typescript_mcp"
]
}
}
}You can run a TypeScript MCP server that connects to the Binance API to fetch and serve crypto price data. This MCP server lets you query symbols like BTC and receive up-to-date pricing information through the Model Context Protocol, enabling Copilot or other MCP clients to request live crypto prices.
How to use
Use an MCP client to connect to the Binance price MCP you configure. With the server running, you can request the price for a given crypto symbol and receive the latest price data. This enables tooling and copilots to answer questions about current market prices by delegating the request to the MCP server.
How to install
Prerequisites: you need Node.js and npm installed on your system.
- Install project dependencies.
npm install
- Add the MCP server configuration to your VS Code MCP settings using the following snippet. This registers a Binance MCP server named binance-ts-mcp and specifies how to start it with npx.
{
"servers": {
"binance-ts-mcp": {
"command": "npx",
"args": [
"-y",
"/FULL_PATH_GOES_HERE/typescript_mcp"
]
}
},
"inputs": []
}
-
Start or debug the MCP server using the provided command pattern. The example shows how to pass the full path to the TypeScript MCP entry file via npx. Adapt the path to your local setup.
-
For debugging, you can attach the inspector to the running process with this command structure. Replace the path with your actual project path.
npx @modelcontextprotocol/inspector node /home/presence/AndroidStudioProjects/mcp-course/typescript_mcp/src/binance_mcp.ts
- Optional: publish the MCP to npmjs.com. You can log in and publish, then use the npm package remotely or locally as needed. Example commands include logging in and publishing.
npm login
npm publish
Available tools
price
Connects to the Binance API to fetch and return the price for a requested crypto symbol.