klever-io/mcp-klever-vm

View on GitHub ↗

MCP server for Klever blockchain smart contract development

31 ★5 forksTypeScriptUpdated 3mo ago

What you need to know

MCP server tailored for Klever blockchain smart contract development, serving contextual knowledge (code patterns, best practices, runtime behavior) for the Klever VM SDK.

Install

npx -y @klever/mcp-server
Or connect to the public hosted server: claude mcp add -t http klever-vm https://mcp.klever.org/mcp
Self-host via Docker or pnpm run build && pnpm run start

Usage

  • Query the Klever VM knowledge base with query_context, get_context, find_similar
  • Initialize projects with init_klever_project (generates build/deploy/upgrade/query scripts)
  • Add context with add_context, auto-enhance queries with enhance_with_context

Key features

  • 7 MCP tools plus a REST API and public hosted server
  • Pre-loaded knowledge base of 95+ entries across 11 categories
  • Smart context retrieval with type/tag/contract-type filters and relevance ranking
  • Automatic pattern extraction from Klever contracts
  • Contract validation for common issues and anti-patterns
  • In-memory or Redis storage; TypeScript with Zod validation
  • MIT license

Best for

Klever blockchain smart contract development assistance.

Clients: Claude Code · Claude Desktop · Cursor · VS Code

Reviewed 2026-08-11

Topics

blockchainklevermcpmcp-servermodel-context-protocolsmart-contracts
Stars
31★
Forks
5
Language
TypeScript
License
MIT
Created
2025-06-12
Last push
2026-05-19