DeFi Quant Yield & Risk Engine
Quantitative DeFi carry ROE, borrow kink slippage & risk simulation across 6 protocols.
คำอธิบายจากผู้ทำ (ภาษาอังกฤษตามต้นฉบับ)
MCP server for Klever blockchain smart contract development.
สามเรื่องนี้ไม่รวมเป็นคะแนนเดียว เพราะความเห็น การวัด และความนิยม เป็นคนละเรื่องกัน
ตัวนี้ยังไม่ได้เรียบเรียงเป็นภาษาไทย ด้านล่างคือข้อเท็จจริงที่เราอ่านจาก registry
เลือกโปรแกรม AI ที่คุณใช้ แล้วคัดลอกค่าตั้งไปวาง
ต้องเตรียมก่อน
คุณใช้แอปไหน
เลือกแอปด้านบน เราจำไว้ให้ ครั้งหน้าปุ่มจะขึ้นว่า “ติดตั้งลง …”
ใช้ได้ทั้ง Claude บนเว็บ แอปคอมพิวเตอร์ และมือถือ:
https://mcp.klever.org/mcpเปิด Claude Desktop → Settings → Developer → Edit Config แล้ววางค่านี้ในไฟล์ claude_desktop_config.json
{
"mcpServers": {
"klever-vm": {
"command": "npx",
"args": [
"-y",
"@klever/mcp-server"
]
}
}
}พิมพ์คำสั่งนี้ใน Terminal
claude mcp add --transport http klever-vm https://mcp.klever.org/mcpclaude mcp add klever-vm -- npx -y @klever/mcp-serverวางในไฟล์ .cursor/mcp.json ของโปรเจกต์ หรือ ~/.cursor/mcp.json
{
"mcpServers": {
"klever-vm": {
"url": "https://mcp.klever.org/mcp"
}
}
}วางในไฟล์ .cursor/mcp.json ของโปรเจกต์ หรือ ~/.cursor/mcp.json
{
"mcpServers": {
"klever-vm": {
"command": "npx",
"args": [
"-y",
"@klever/mcp-server"
]
}
}
}เบราว์เซอร์จะถามก่อนเปิดแอป จากนั้นแอปแสดงค่าตั้งให้ตรวจแล้วกดยืนยัน ช่อง key เว้นว่างไว้ให้คุณใส่เอง
วางในไฟล์ .vscode/mcp.json ของโปรเจกต์
{
"servers": {
"klever-vm": {
"type": "http",
"url": "https://mcp.klever.org/mcp"
}
}
}วางในไฟล์ .vscode/mcp.json ของโปรเจกต์
{
"servers": {
"klever-vm": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@klever/mcp-server"
]
}
}
}เบราว์เซอร์จะถามก่อนเปิดแอป จากนั้นแอปแสดงค่าตั้งให้ตรวจแล้วกดยืนยัน ช่อง key เว้นว่างไว้ให้คุณใส่เอง
ChatGPT ต่อได้เฉพาะ server ที่อยู่บนอินเทอร์เน็ต:
https://mcp.klever.org/mcpชื่อเมนูอาจต่างกันเล็กน้อยตามแพ็กเกจและรุ่นของแอป
ตัวเลือกเก็บในคุกกี้บนเครื่องนี้ ไม่ต้องมีบัญชี
ค่าตั้งนี้สร้างจากข้อมูลใน registry ของผู้ทำ ถ้าไม่ตรงกับ README ให้เชื่อ README
ยังไม่ได้อ่านรายการเครื่องมือของตัวนี้ เราตรวจ endpoint ทีละชุดวนไป
เราตรวจจากข้อมูลที่ใครก็เปิดดูได้ ยังไม่ได้อ่านโค้ด ข้อที่ไม่เกี่ยวกับตัวนี้ไม่นับในตัวหาร · ตรวจเมื่อ 9 พ.ย. 2569
ชื่อใน registry ยืนยันด้วยบัญชี GitHub klever-io ซึ่งเป็นเจ้าของ repo
ยังไม่ได้อ่านข้อมูล repo จาก GitHub
ยังไม่ได้อ่านข้อมูล repo จาก GitHub
ยังไม่ได้ตรวจ เราตรวจ endpoint ทีละชุดวนไป
ยังไม่ได้ตรวจ เราตรวจ endpoint ทีละชุดวนไป
ยังไม่ได้ตรวจ เราอ่านรายการเครื่องมือตอนตรวจ endpoint
เทียบกับทุก server ที่ยังใช้งานในหมวดนี้ทั้งทะเบียน ดาวนับเฉพาะเมื่อผู้ลงทะเบียนเป็นเจ้าของ repo
จากการตรวจเบื้องต้นของเรา ผ่าน 1 จาก 1 ข้อที่ตรวจได้ เรายังไม่ได้อ่านโค้ด ก่อนใส่กุญแจหรือ token ให้ดูว่า server ขอสิทธิ์อะไร และเลือกกุญแจที่ทำได้เท่าที่จำเป็น
registry ไม่ได้ระบุว่าต้องใช้กุญแจ แต่บางตัวจะขอให้ล็อกอินตอนใช้ครั้งแรก
ได้ทั้งสองแบบ จะลงในเครื่องหรือต่อผ่านคลาวด์ก็ได้
repo บน GitHub มีการแก้โค้ดล่าสุด – และส่งรุ่นล่าสุด (1.3.0) เข้า registry 8 เดือนที่ผ่านมา
โปรแกรมที่รองรับ MCP เช่น Claude Desktop, Claude Code, Cursor และ VS Code ตัวนี้ต่อผ่าน URL จึงใช้กับโปรแกรมที่รับ remote MCP ได้ เช่น ChatGPT ที่เปิดโหมดนักพัฒนา
ในหมวดเดียวกันมี DeFi Quant Yield & Risk Engine, Research Lab · Đầu Tư Tài Sản Mã Hoá, BusCalc Business Calculators
server หมวดเดียวกันจากผู้ทำคนอื่น เรียงตามดาว
อ่านการ์ด:↓ ดาวน์โหลดต่อสัปดาห์i★ ดาว GitHubiสามเสา: รีวิว · ผลตรวจ · การใช้งานiอัปเดต = วันที่ส่งรุ่นล่าสุดเข้า registryi
Quantitative DeFi carry ROE, borrow kink slippage & risk simulation across 6 protocols.
Daily crypto market data (Vietnamese): market cap, stablecoins, open interest, funding, Fear&Greed
59 calculation and lookup tools including blockchain, plus SumTru AI Lab posting and voting.
ส่วนนี้คัดจาก repo ของผู้ทำตามต้นฉบับ PopNx MCP ไม่ได้ตรวจหรือรับรองเนื้อหา ตัด HTML รูปภาพ และสคริปต์ออกแล้ว ลิงก์จะพาออกนอกเว็บ
A Model Context Protocol (MCP) server tailored for Klever blockchain smart contract development. This server maintains and serves contextual knowledge including code patterns, best practices, and runtime behavior for developers working with the Klever VM SDK.
Install and run instantly via npx — no cloning required:
npx -y @klever/mcp-server
Or connect to the hosted public server:
claude mcp add -t http klever-vm https://mcp.klever.org/mcp
See MCP Client Integration for client-specific configuration.
mcp-klever-vm/
├── src/ │ ├── api/ # HTTP API routes with validation │ ├── context/ # Context management service layer │ ├── mcp/ # MCP protocol server implementation │ ├── parsers/ # Klever contract parser and validator │ ├── storage/ # Storage backends (memory/Redis) │ │ ├── memory.ts # In-memory storage with size limits │ │ └── redis.ts # Redis storage with optimized queries │ ├── types/ # TypeScript type definitions │ ├── utils/ # Utilities and ingestion tools │ └── knowledge/ # Modular knowledge base (95+ entries) │ ├── core/ # Core concepts and imports │ ├── storage/ # Storage patterns and mappers │ ├── events/ # Event handling and rules │ ├── tokens/ # Token operations and decimals │ ├── modules/ # Built-in modules (admin, pause) │ ├── tools/ # CLI tools (koperator, ksc) │ ├── scripts/ # Helper scripts │ ├── examples/ # Complete contract examples │ ├── errors/ # Error patterns │ ├── best-practices/ # Optimization and validation │ └── documentation/ # API reference ├── tests/ # Test files └── docs/ # Documentation
git clone https://github.com/klever-io/mcp-klever-vm.git
cd mcp-klever-vm
pnpm install
cp .env.example .env
chmod +x scripts/install-sdk.sh && ./scripts/install-sdk.sh
pnpm run build
Edit .env file to configure the server:
# Server Mode (http, mcp, or public)
MODE=http
PORT=3000
STORAGE_TYPE=memory
MEMORY_MAX_SIZE=10000
REDIS_URL=redis://localhost:6379
NODE_ENV=development
# Add via npx (recommended)
claude mcp add klever-vm -- npx -y @klever/mcp-server
claude mcp add -t http klever-vm https://mcp.klever.org/mcp
Add to your claude_desktop_config.json:
{
"mcpServers": { "klever-vm": { "command": "npx", "args": ["-y", "@klever/mcp-server"] } } }
For detailed setup, see the Claude Desktop Installation Guide.
Add to your Cursor MCP settings (.cursor/mcp.json):
{
"mcpServers": { "klever-vm": { "command": "npx", "args": ["-y", "@klever/mcp-server"] } } }
Add to .vscode/mcp.json in your project:
{
"servers": { "klever-vm": { "type": "stdio", "command": "npx", "args": ["-y", "@klever/mcp-server"] } } }
For detailed setup, see the VS Code Installation Guide.
The Klever MCP Server can be hosted as a public shared service, allowing any developer to connect without running it locally.
# Add permanently (user-level)
claude mcp add -t http klever-vm https://mcp.klever.org/mcp
claude mcp add -t http -s project klever-vm https://mcp.klever.org/mcp
The public server exposes a read-only subset of tools for security:
| Tool | Description |
|---|---|
query_context | Search the Klever VM knowledge base |
get_context | Retrieve a specific context by ID |
find_similar | Find contexts similar to a given context |
get_knowledge_stats | Get knowledge base statistics |
enhance_with_context | Enhance queries with relevant Klever VM context |
Write operations (add_context) and shell-based tools (init_klever_project, add_helper_scripts) are disabled in public mode.
# Build and run
docker build -t mcp-klever-vm . docker run -p 3000:3000 mcp-klever-vm
docker compose up -d
Then connect:
claude mcp add -t http klever-vm-local http://localhost:3000/mcp
pnpm install
pnpm run build pnpm run start:public
| Variable | Default | Description |
|---|---|---|
MODE | http | Set to public for hosted mode |
PORT | 3000 | Server port |
CORS_ORIGINS | _(unset)_ | Comma-separated allowed origins. Unset or * allows all origins |
RATE_LIMIT_MCP | 60 | MCP endpoint requests/min per IP |
RATE_LIMIT_API | 30 | API endpoint requests/min per IP |
BODY_SIZE_LIMIT | 1mb | Max request body size |
For production at mcp.klever.org:
mcp-session-id header and supports SSE (disable response buffering)The server automatically loads the Klever knowledge base based on your storage type:
pnpm run ingest separately# First, ingest the knowledge base (one time)
pnpm run ingest
pnpm run dev
- Knowledge persists in Redis database
This will load:
# Development mode
pnpm run dev
pnpm run build && pnpm start
The HTTP API will be available at http://localhost:3000/api
MODE=mcp pnpm start
Use with any MCP-compatible client.
/api/contextIngest new context into the system.
{
"type": "code_example", "content": "contract code here", "metadata": { "title": "Token Contract Example", "description": "ERC20-like token implementation", "tags": ["token", "fungible"], "contractType": "token" } }
/api/context/:idRetrieve specific context by ID.
/api/context/queryQuery contexts with filters.
{
"query": "transfer", "types": ["code_example", "best_practice"], "tags": ["token"], "contractType": "token", "limit": 10, "offset": 0 }
/api/context/:idUpdate existing context.
/api/context/:idDelete context.
/api/context/:id/similarFind similar contexts.
/api/context/batchBatch ingest multiple contexts.
When running as MCP server, the following tools are available:
query_context: Search for relevant Klever development contextadd_context: Add new context to the knowledge baseget_context: Retrieve specific context by IDfind_similar: Find contexts similar to a given contextget_knowledge_stats: Get statistics about the knowledge baseinit_klever_project: Initialize a new Klever smart contract project with helper scriptsenhance_with_context: Automatically enhance queries with relevant Klever VM contextcode_example: Working code snippets and examples (Rust smart contract code)best_practice: Recommended patterns and practicessecurity_tip: Security considerations and warningsoptimization: Performance optimization techniquesdocumentation: General documentation and guideserror_pattern: Common errors and solutionsdeployment_tool: Deployment scripts and utilities (bash scripts, tools)runtime_behavior: Runtime behavior explanationsThe MCP server includes a comprehensive knowledge base with 95+ entries organized into 11 categories:
Use the built-in ingestion utilities to parse and import Klever contracts:
import { StorageFactory } from './storage/index.js';
import { ContextService } from './context/service.js'; import { ContractIngester } from './ut
ตัดมาแค่ช่วงต้น อ่านต่อใน repo