MCP Directory

Klever MCP Server

Context-aware knowledge base for Klever blockchain smart-contract development on the Klever VM SDK.

Unverified
stdio (local)
No auth
TypeScript

Add to your client

Copy the config for your MCP client and paste it into its config file.

Install / run
npx -y @klever/mcp-server

Paste into ~/Library/Application Support/Claude/claude_desktop_config.json

{
  "mcpServers": {
    "klever-mcp-server": {
      "command": "npx",
      "args": [
        "-y",
        "@klever/mcp-server"
      ]
    }
  }
}

Step-by-step guides: Add to Claude Desktop · Add to Cursor · Add to Windsurf

Before you start

  • Node.js with npx (for the npx-based install)
  • Optional: Klever SDK tools installed locally (required for transaction/deployment scripts)
  • Optional: Redis (only if using STORAGE_TYPE=redis instead of in-memory storage)

About Klever MCP Server

An MCP server that gives AI assistants a curated, queryable knowledge base for Klever VM smart-contract development. It pre-loads 95+ entries covering contract patterns, storage mappers, token operations, events, CLI tools (koperator, ksc), deployment scripts, common errors, and best practices, and exposes tools to query and enhance prompts with this context. It can also scaffold new Klever projects with helper scripts and validate contracts against known anti-patterns. Runs as a local stdio server, a local HTTP API, or via the official hosted endpoint at mcp.klever.org.

Tools & capabilities (7)

query_context

Search the Klever VM knowledge base for relevant development context, filterable by type, tags, and contract type.

add_context

Add new context entries to the knowledge base (disabled in public hosted mode).

get_context

Retrieve a specific context entry by its ID.

find_similar

Find contexts similar to a given context.

get_knowledge_stats

Get statistics about the knowledge base.

init_klever_project

Initialize a new Klever smart-contract project with helper scripts (build/deploy/upgrade/query/test/interact); disabled in public mode.

enhance_with_context

Automatically enhance a query with relevant Klever VM context by extracting keywords and searching the knowledge base.

When to use it

  • Provide context-aware suggestions for Klever smart-contract development inside an IDE or AI assistant
  • Automatically check contracts against Klever best practices and security patterns (code review)
  • Serve as a learning platform with examples and explanations for developers new to Klever
  • Scaffold new Klever projects and generate deployment/query/upgrade helper scripts

Security notes

The public hosted server at https://mcp.klever.org/mcp exposes only a read-only subset of tools; write operations (add_context) and shell-based tools (init_klever_project, add_helper_scripts) are disabled in public mode. Self-hosted public mode supports CORS allow-list, per-IP rate limiting (RATE_LIMIT_MCP / RATE_LIMIT_API), and a configurable request body size limit. The local stdio server's init_klever_project tool runs shell scripts that create project files on disk.

Klever MCP Server FAQ

Do I need to run the server myself?

No. You can connect to the official hosted public server with `claude mcp add -t http klever-vm https://mcp.klever.org/mcp`, or run it locally via `npx -y @klever/mcp-server`.

What is the difference between local and public mode?

The public hosted mode exposes a read-only subset of tools (query_context, get_context, find_similar, get_knowledge_stats, enhance_with_context). Write operations and shell-based tools like init_klever_project are only available when self-hosting.

What storage backends are supported?

In-memory (default; auto-loads the knowledge base on startup) or Redis (persistent, requires running `pnpm run ingest` once before starting).

Which clients are supported?

The README documents config for Claude Code, Claude Desktop, Cursor, and VS Code (GitHub Copilot), all using the stdio transport via npx, plus an HTTP transport for the hosted/self-hosted server.

Alternatives to Klever MCP Server

Compare all alternatives →

Microsoft's official browser-automation MCP using Playwright's accessibility tree (no vision model).

Featured
Verified
stdio (local)
No auth
TypeScript
12 tools
Updated 21 days agoRepo

Up-to-date, version-specific library documentation injected into your coding agent.

Verified
stdio (local)
API key
TypeScript
2 tools
Updated 25 days agoRepo

Code intelligence engine that indexes repos into a persistent knowledge graph for AI coding agents.

Unverified
stdio (local)
No auth
C
14 tools
Updated 11 hours agoRepo