
truss44/mcp-crypto-price
Developer tools이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요. 원문 보기
트러스44/mcp-crypto-price는 MCP 서버 후보자는 https://github.com/truss44/mcp-crypto-price.에서 수입했습니다
개요
트러스44/mcp-crypto-price는 MCP 서버 후보자는 https://github.com/truss44/mcp-crypto-price.에서 수입했습니다
개요(AI 번역)
CoinCap API를 사용하여 포괄적인 암호화폐 분석을 제공하는 모델 Context Protocol (MCP) 서버. 이 서버는 사용하기 쉬운 인터페이스를 통해 실시간 가격 데이터, 시장 분석 및 과거 동향을 제공합니다. STDIO 및 Streamable HTTP 전송 모두 지원.
요구 사항
- **Node.js 22.14+ **
- CoinCap API 키 를 통해
COINCAP_API_KEY
새로운 것
- BREAKING: CoinCap v2 API 제거. 이제 v3 API를 독점적으로 사용합니다. A
COINCAP_API_KEY가 필요합니다 (Pro.coincap.io/dashboard에서 무료 계층) - Streamable HTTP 전송 추가 (STDIO 호환성 유지)
- STDIO 및 Streamable HTTP에 완전히 독립 실행 실행 - 외부 레지스트리 또는 실행 시간 없음
- 6 새로운 도구:
assets-search,market-global],assets-compare],analysis-candlestick,price-convert,assets-info] -Hierarchical tool naming: 모든 도구는 범주로 구성된 이름(price-*],market-*],assets-*],analysis-*) - **입력 스키마 **: 모든 도구는 지금 선언
outputSchema] 와structuredContent] 타입 안전 응답 - MCP 모범 사례:
isError] 유효 오류, 서버 설명 및asset://{symbol}리소스 템플릿에 대한 플래그
사용법
이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요.
README
원문 README의 일부입니다. 원문 보기.
Crypto Price & Market Analysis MCP Server
A Model Context Protocol (MCP) server that provides comprehensive cryptocurrency analysis using the CoinCap API. This server offers real-time price data, market analysis, and historical trends through an easy-to-use interface. Supports both STDIO and Streamable HTTP transports.
Requirements
- Node.js 22.14+
- CoinCap API key via
COINCAP_API_KEY
What’s New
- BREAKING: CoinCap v2 API removed. Now uses v3 API exclusively. A
COINCAP_API_KEYis required (free tier available at pro.coincap.io/dashboard) - Streamable HTTP transport added (while keeping STDIO compatibility)
- Runs fully standalone over STDIO and Streamable HTTP - no external registry or runtime required
- 6 new tools:
assets-search,market-global,assets-compare,analysis-candlestick,price-convert,assets-info - Hierarchical tool naming: All tools organized into category-prefixed names (
price-*,market-*,assets-*,analysis-*) - Output schemas: All tools now declare
outputSchemawithstructuredContentfor type-safe responses - MCP best practices:
isErrorflag on validation errors, server description, andasset://{symbol}resource template
Usage
Add this configuration to your Claude Desktop config file:
- MacOS:
~/Library/Application Support/Claude/claude_desktop_config.json - Windows:
%APPDATA%/Claude/claude_desktop_config.json
{
"mcpServers": {
"mcp-crypto-price": {
"command": "npx",
"args": ["-y", "mcp-crypto-price"],
"env": {
"COINCAP_API_KEY": "YOUR_API_KEY_HERE"
}
}
}
}
If your MCP client requires launching via cmd.exe on Windows:
{
"mcpServers": {
"mcp-crypto-price": {
"command": "cmd",
"args": ["/c", "npx", "-y", "mcp-crypto-price"],
"env": {
"COINCAP_API_KEY": "YOUR_API_KEY_HERE"
}
}
}
}
Development scripts
pnpm watch # Development: recompile on change (tsc --watch); pair with `node --watch dist/http.js` for HTTP hot reload
pnpm build # Compile TypeScript → dist/
pnpm format # Format source files with Prettier
pnpm lint # Check for lint errors (ESLint + typescript-eslint)
pnpm lint:fix # Auto-fix lint errors
pnpm types:check # TypeScript type-check without emitting files
pnpm test # Run all tests with Vitest
pnpm test:coverage # Run tests with coverage report (Vitest)
pnpm inspector # Open MCP inspector for interactive debugging
Run as Streamable HTTP server
You can run the server over HTTP for environments that support MCP over HTTP streaming.
설치
npx -y mcp-crypto-price설정
{
"mcpServers": {
"mcp-crypto-price": {
"command": "npx",
"args": ["-y", "mcp-crypto-price"],
"env": {
"COINCAP_API_KEY": "YOUR_API_KEY_HERE"
}
}
}
}