1. Conduid
  2. Developer Tools
  3. klever-io/mcp-klever-vm
MCP server · Developer Tools

klever-io/mcp-klever-vm

MCP server for Klever blockchain smart contract development

57Fair

Scored 22 hours ago · breakdown

About klever-io/mcp-klever-vm

klever-io/mcp-klever-vm is an MCP server published by klever-io in the Developer Tools category: mCP server for Klever blockchain smart contract development. Conduid read 21 tools from its source: add_context, analyze_contract, deploy_sc, enhance_with_context, find_similar, freeze_klv and 15 more. No package is published for it, so it installs from a source checkout.

The repository has 31 stars and 5 forks, is licensed MIT, and its last commit was on 19 May 2026. The latest release is v1.3.0 (19 Mar 2026). It follows v1.2.5 (20 Feb 2026), and the 5 most recent releases go back to v1.2.1 (12 Feb 2026). It passes 5 of the 6 static checks Conduid ran on the repository; it does not pass Scoped permissions. Its topics include blockchain, klever and smart-contracts.

Install

From source
git clone https://github.com/klever-io/mcp-klever-vm

Tools (21)

add_contextAdd new context to the knowledge base
ParameterTypeDescription
content *stringThe main content body — typically Rust source code, a CLI command, or a detailed explanation. For code, include the full working snippet.
metadata *objectEntry metadata including title, tags, and categorization. At minimum, provide a title.
type *stringThe category of this knowledge entry. Choose the most specific type: "code_example" for Rust snippets, "best_practice" for recommended patterns, "security_tip" for vulnerability guidance, "error_pattern" for known error solutions.
analyze_contractAnalyze 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.
ParameterTypeDescription
contractNamestringHuman-readable name for the contract (used in output labeling). Defaults to "contract" if omitted.
sourceCode *stringThe full Rust source code of the Klever smart contract to analyze. Must be valid Rust code using klever_sc imports.
deploy_scBuild an unsigned smart contract deployment transaction for the Klever blockchain. Provide either wasmPath (preferred — reads the file server-side) or wasmHex. Returns the unsigned transaction for client-side signing. The MCP server NEVER handles private keys.
ParameterTypeDescription
initArgsarrayOptional base64-encoded init arguments for the contract constructor.
networkstring
sender *stringDeployer address (klv1... bech32 format).
wasmHexstringSmart contract WASM bytecode as a hex-encoded string. Use wasmPath instead for large contracts.
wasmPathstringAbsolute path to the compiled WASM file (preferred over wasmHex to avoid loading large binaries into AI context).
enhance_with_contextEnhance queries with relevant Klever VM context
ParameterTypeDescription
autoIncludebooleanWhen true (default), automatically appends the most relevant knowledge base entries to the response. Set to false to only return metadata without injecting context.
query *stringThe user's natural-language question or prompt to enhance (e.g. "How do I handle KLV payments in my contract?").
find_similarFind contexts similar to a given context
ParameterTypeDescription
id *stringThe context ID to find similar entries for. Obtain from query_context or get_context results.
limitintegerMaximum number of similar entries to return. Typical range is 1-20; higher values may be slower. Default: 5.
freeze_klvBuild an unsigned Freeze KLV transaction on the Klever blockchain. Freezing KLV provides energy/bandwidth for network operations and enables staking rewards. Returns the unsigned transaction for client-side signing.
ParameterTypeDescription
amount *integerAmount of KLV to freeze in the smallest unit (1 KLV = 1,000,000 units).
networkstring
sender *stringAddress to freeze from (klv1... bech32 format).
get_accountGet 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.
ParameterTypeDescription
address *stringKlever address (klv1... bech32 format).
networkstring
get_asset_infoGet 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.
ParameterTypeDescription
assetId *stringAsset identifier (e.g. "KLV", "KFI", "USDT-A1B2", "MYNFT-XY78").
networkstring
get_balanceGet 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.
ParameterTypeDescription
address *stringKlever address (klv1... bech32 format).
assetIdstringOptional KDA token ID (e.g. "USDT-A1B2", "LPKLVKFI-3I0N"). Omit for KLV balance.
networkstring
get_blockGet 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.
ParameterTypeDescription
networkstring
nonceintegerBlock number (nonce). Omit to get the latest block.
get_contextRetrieve a specific context by ID
ParameterTypeDescription
id *stringThe unique context ID (UUID format). Obtain IDs from query_context or find_similar results.
get_klever_contextRetrieve relevant Klever VM development context for a given query. Searches the knowledge base and returns matching entries with code examples, best practices, and documentation. Designed as a drop-in tool for external MCP servers that need Klever context.
ParameterTypeDescription
includeTypesarrayFilter results to specific context types. Omit to include all types. Example: ["code_example", "best_practice"] for implementation guidance.
maxResultsintegerMaximum number of context entries to return (1-20). Default: 5.
query *stringNatural-language query or topic to find context for (e.g. "storage mapper patterns", "deploy contract to testnet", "handle KDA token payments").
get_knowledge_statsGet knowledge base statistics
get_transactionGet transaction details by hash from the Klever blockchain. Returns sender, receiver, status, block info, contracts, and receipts. Uses the API proxy for indexed data.
ParameterTypeDescription
hash *stringTransaction hash (hex string).
networkstring
init_klever_projectInitialize a new Klever smart contract project with helper scripts
invoke_scBuild an unsigned smart contract invocation transaction on the Klever blockchain. Calls a state-changing endpoint on a deployed contract. Returns the unsigned transaction for client-side signing. For read-only calls, use query_sc instead.
ParameterTypeDescription
argsarrayOptional base64-encoded arguments.
callValueobjectOptional token amounts to send with the call, as a map of token ID to amount (e.g. {"KLV": 1000000}). Required for payable endpoints.
funcName *stringEndpoint function name to invoke.
networkstring
scAddress *stringSmart contract address (klv1... bech32 format).
sender *stringCaller address (klv1... bech32 format).
list_validatorsList active validators on the Klever blockchain network. Returns validator addresses, names, commission rates, delegation info, and staking amounts.
ParameterTypeDescription
networkstring
query_contextSearch the Klever VM knowledge base
ParameterTypeDescription
contractTypestringFilter by contract type (e.g. "token", "nft", "defi", "dao"). Only returns entries tagged for this contract category.
limitintegerMaximum number of results to return (1-100). Default: 10.
offsetintegerNumber of results to skip for pagination. Use with limit to page through results. Default: 0.
querystringFree-text search query. Use Klever-specific terms for best results (e.g. "storage mapper SingleValueMapper", "payable endpoint KLV", "deploy contract testnet").
tagsarrayFilter by tags (e.g. ["storage", "mapper"], ["tokens", "KLV"], ["events"]). Tags are matched with OR logic — any matching tag includes the entry.
typesarrayFilter results by context type. Omit to search all types. Common combinations: ["code_example", "documentation"] for learning, ["error_pattern"] for debugging, ["security_tip", "best_practice"] for reviews.
query_scExecute 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.
ParameterTypeDescription
argsarrayOptional base64-encoded arguments. For addresses, encode the hex-decoded bech32 bytes. For numbers, use big-endian byte encoding.
callerstringOptional caller address (klv1... bech32 format). Some view functions use the caller to look up address-keyed storage mappers.
funcName *stringFunction name to call (must be a #[view] function on the contract).
networkstring
scAddress *stringSmart contract address (klv1... bech32 format).
search_documentationSearch Klever VM documentation and knowledge base. Returns human-readable markdown with titles, descriptions, and code snippets. Covers koperator CLI syntax (sc invoke, sc create, sc upgrade), --args type prefixes, --values payment flags, contract metadata flags, ABI decoding, and all smart contract development topics. ALWAYS use this tool first when you need to know the correct flags or argument syntax for koperator commands. Use this instead of query_context when you need formatted developer documentation.
ParameterTypeDescription
categorystringNarrow results to a specific knowledge category. Available: core, storage, events, tokens, modules, tools, scripts, examples, errors, best-practices, documentation.
query *stringSearch query in natural language (e.g. "how to use storage mappers", "koperator sc invoke payment values", "deploy contract to testnet", "--args type prefixes", "handle KDA token transfers").
send_transferBuild an unsigned KLV or KDA token transfer transaction on the Klever blockchain. Returns the unsigned transaction data and hash for client-side signing. The MCP server NEVER handles private keys — signing must be done externally.
ParameterTypeDescription
amount *integerAmount in the smallest unit. For KLV: 1 KLV = 1,000,000 units (6 decimals). Example: to send 10 KLV, use 10000000.
assetIdstringOptional KDA token ID for non-KLV transfers (e.g. "USDT-A1B2"). Omit for KLV.
networkstring
receiver *stringReceiver address (klv1... bech32 format).
sender *stringSender address (klv1... bech32 format).

Security checks

Static checks derived from the repository 10 days ago. Heuristics on the source, not an audit.

  • ✓README presentThe repository's README runs to about 2.4K words.
  • ✓License declaredThe repository declares the MIT license.
  • ✓Tests presentA test suite exists in the repository.
  • ✓Dependencies pinnedDependency versions are pinned by pnpm-lock.yaml.
  • ✓No dynamic code executionScanned 64 source files and found no eval, dynamic Function or shell execution.
  • !Scoped permissionsDoesn't declare a permission scope. Assume it can do anything its process can.

What the source scan found

Transport
stdio and Streamable HTTPsrc/mcp/server.ts:4, src/index.ts:119
Starts other programs
No calls that start other programs
Outbound network calls
9 callssrc/chain/client.ts:102, src/knowledge/documentation/network-endpoints.ts:129, src/knowledge/documentation/network-endpoints.ts:247
Writes or deletes files
No file writes or deletes
Lockfile
pnpm-lock.yaml

Pattern matches on the source text of 64 files: places to read, not proof of what the code does at run time.

Releases

v1.3.0v1.3.0 · 19 Mar 2026What's Changed chore: bump Klever SDK version from 0.45.0 to 0.45.1 by @fbsobreira in https://github.com/klever-io/mcp-klever-vm/pull/34 Release: SDK 0.45.1 bump and security fixes by @fbsobreira in…
v1.2.5v1.2.5 · 20 Feb 2026What's Changed fix: switch public MCP server to stateless transport by @fbsobreira in https://github.com/klever-io/mcp-klever-vm/pull/30 fix: patch ajv and minimatch security vulnerabilities by @fbsobreira in…
v1.2.4v1.2.4 · 19 Feb 2026What's Changed [KLC-2170/KLC-2171] Add on-chain tools for Klever blockchain interaction by @fbsobreira in https://github.com/klever-io/mcp-klever-vm/pull/28 [KLC-2172] Add SKILL.md with progressive disclosure sub-files by @fbsobreira in…
v1.2.3v1.2.3 · 12 Feb 2026Full Changelog: https://github.com/klever-io/mcp-klever-vm/compare/v1.2.1...v1.2.3
v1.2.1v1.2.1 · 12 Feb 2026Full Changelog: https://github.com/klever-io/mcp-klever-vm/compare/v1.2.0...v1.2.1

README

The repository's README runs to about 2.4K words, fetched a month ago. The original in the repository is authoritative.

Read full README
Questions

About klever-io/mcp-klever-vm

How do I install klever-io/mcp-klever-vm?

No package has been published for this server, so install it from source: clone the repository and follow its README.

Is klever-io/mcp-klever-vm safe to use with an AI agent?

Its trust score is 57 out of 100 (fair). It passes 5 of the 6 static checks Conduid ran on the repository; it does not pass Scoped permissions. Conduid's scan of 64 source files found that it serves MCP over stdio and Streamable HTTP and makes outbound network calls (9 calls). Its dependencies are pinned by pnpm-lock.yaml. It has no ConduID identity yet, so agent calls to it are not receipted.

Is klever-io/mcp-klever-vm still maintained?

The last commit was 6 months ago. That's long enough that you should check whether the maintainer is responding to issues before depending on it.

What tools does klever-io/mcp-klever-vm provide?

Conduid read 21 tools from the source: add_context, analyze_contract, deploy_sc, enhance_with_context, find_similar, freeze_klv, get_account, get_asset_info and 13 more. 19 of them publish their parameters, listed under Tools above.

What license is klever-io/mcp-klever-vm released under?

The repository declares the MIT license. That applies to the latest release, v1.3.0, as well.