mcp-klever-vm
Server Details
MCP server for Klever blockchain smart contract development.
- Status
- Healthy
- Uptime
- 100.0% over the last 24 hours
- Last Tested
- Transport
- Streamable HTTP · MCP 2025-11-25
- URL
- Repository
- klever-io/mcp-klever-vm
- GitHub Stars
- 31
- Server Listing
- Klever MCP Server
- ChatGPT
- –
- Claude
- –
TDQS
Scored across 16 tools
Most tools have distinct purposes, but the knowledge base is reachable through four tools (query_context, search_documentation, find_similar, get_context) and balance/account reads overlap. Descriptions explicitly differentiate them (e.g. 'use search_documentation instead of query_context'), which keeps selection manageable.
Every tool follows a clean snake_case verb_noun pattern (get_*, query_*, search_*, list_*, find_*, add_*, init_*, analyze_*, enhance_*). The convention is applied uniformly across all 16 tools with no deviations.
16 tools span three domains (project scaffolding, blockchain reads, knowledge base), so the count is justified rather than bloated. It sits at the upper edge of comfortable, but each tool maps to a distinct operation.
Read paths are well covered (account, balance, asset, block, transaction, validators) plus project scaffolding and a rich KB surface. However, there is no direct contract deploy/upgrade/instantiate or transaction-submission tool—these are only reachable via generated bash scripts, a minor gap.
Available Tools
16 toolsadd_helper_scriptsARead-onlyIdempotentInspect
Add build, deploy, upgrade, query, test, and interact automation scripts to an existing Klever smart contract project. Creates a scripts/ directory with bash scripts and updates .gitignore. Run this from the project root directory (where Cargo.toml is located). NOTE: In public profile, this tool returns a project template JSON and does not perform any filesystem changes.
Inputs: contractName.
analyze_contractARead-onlyIdempotentInspect
Analyze Klever smart contract Rust source code for common issues. Checks for missing imports, missing #[klever_sc::contract] macro, missing endpoint annotations, payable handlers without call_value usage, storage mappers without #[storage_mapper], and missing event definitions. Returns findings with severity (error/warning/info) and links to relevant knowledge base entries.
Inputs: sourceCode (required), contractName.
enhance_with_contextARead-onlyIdempotentInspect
Augment a natural-language query with relevant Klever VM knowledge base context. Extracts Klever-specific keywords, finds matching entries, and returns the original query combined with relevant code examples and documentation in markdown. Use this to enrich a user prompt before answering Klever development questions.
Inputs: query (required), autoInclude.
find_similarARead-onlyIdempotentInspect
Find knowledge base entries similar to a given entry by comparing tags and content. Returns related contexts ranked by similarity score. Useful for discovering related patterns, examples, or documentation after finding one relevant entry.
Inputs: id (required), limit.
get_accountARead-onlyIdempotentInspect
Get full account details for a Klever blockchain address including nonce, balance, frozen balance, allowance, and permissions. Use this when you need comprehensive account state beyond just the balance.
Inputs: address (required), network.
get_asset_infoARead-onlyIdempotentInspect
Get complete properties and configuration for any asset on the Klever blockchain (KLV, KFI, KDA tokens, NFT collections). Returns supply info, permissions (CanMint, CanBurn, etc.), roles, precision, and metadata. Note: string fields like ID, Name, Ticker are base64-encoded in the raw response.
Inputs: assetId (required), network.
get_balanceARead-onlyIdempotentInspect
Get the KLV or KDA token balance for a Klever blockchain address. Returns the balance in the smallest unit (for KLV: 1 KLV = 1,000,000 units with 6 decimal places). Optionally specify an asset ID to query a specific KDA token balance instead of KLV.
Inputs: address (required), assetId, network.
get_blockARead-onlyIdempotentInspect
Get block information from the Klever blockchain by nonce (block number). If no nonce is provided, returns the latest block. Returns hash, timestamp, proposer, number of transactions, and other block metadata.
Inputs: nonce, network.
get_contextARead-onlyIdempotentInspect
Retrieve a single knowledge base entry by its unique ID. Returns the full entry including content, metadata, tags, and related context IDs. Use this after query_context or find_similar to get complete details for a specific entry.
Inputs: id (required).
get_knowledge_statsARead-onlyIdempotentInspect
Get summary statistics of the Klever VM knowledge base. Returns total entry count, counts broken down by context type (code_example, best_practice, security_tip, etc.), and a sample entry title for each type. Useful for understanding what knowledge is available before querying.
Inputs: no named parameters.
get_transactionARead-onlyIdempotentInspect
Get transaction details by hash from the Klever blockchain. Returns sender, receiver, status, block info, contracts, and receipts. Uses the API proxy for indexed data.
Inputs: hash (required), network.
init_klever_projectARead-onlyIdempotentInspect
Scaffold a new Klever smart contract project using the SDK. Creates the Rust project structure via ksc new and generates automation scripts (build, deploy, upgrade, query, test, interact). Requires Klever SDK installed at ~/klever-sdk/. Run check_sdk_status first to verify. NOTE: In public profile, this tool returns a project template JSON and does not perform any filesystem changes.
Inputs: name (required), noMove, template.
list_validatorsARead-onlyIdempotentInspect
List active validators on the Klever blockchain network. Returns validator addresses, names, commission rates, delegation info, and staking amounts.
Inputs: network.
query_contextARead-onlyIdempotentInspect
Search the Klever VM knowledge base for smart contract development context. Returns structured JSON with matching entries, scores, and pagination. Use this for precise filtering by type or tags; use search_documentation for human-readable "how do I..." answers.
Inputs: tags, limit, query, types, +2 more.
query_scARead-onlyIdempotentInspect
Execute a read-only query against a Klever smart contract (VM view call). Returns the contract function result as base64-encoded return data. Arguments must be base64-encoded. Use this to read contract state without modifying it.
Inputs: funcName (required), scAddress (required), args, caller, +1 more.
search_documentationARead-onlyIdempotentInspect
Search Klever VM documentation and knowledge base. Returns human-readable markdown with titles, descriptions, and code snippets. Optimized for "how do I..." questions. Use this instead of query_context when you need formatted developer documentation.
Inputs: query (required), category.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
Related MCP Connectors
MCP server for progressive tool usage at any scale (see https://klavis.ai)
Self-hosted MCP server: 26 deterministic dev, security, and EVM tools.
MCP server for Appcircle mobile CI/CD platform.
Related MCP Servers
- AlicenseAqualityDmaintenanceA comprehensive MCP server for MetaApp development, offering tools for project initialization, protocol exploration, and blockchain interaction.15MIT
- AlicenseNot gradedqualityDmaintenanceA lightweight, fast MCP server that provides onchain capabilities for the LLMs and Agents.42 npm254MIT
- AlicenseNot gradedqualityDmaintenanceModel Context Protocol server for Kaspa operations using WASM SDK. Enables LLMs to interact with the Kaspa network through standardized MCP tools.11MIT
- AlicenseAqualityDmaintenanceA MCP server do create and deploy backend applications using https://heim.dev623 npm3MIT
Glama MCP Gateway
Add one secure layer between your agents and this server.