mcp-klever-vm
by klever-io·★ 31·综合分 44
为 Klever 区块链智能合约开发提供的 MCP 服务器,包含模式提取和验证工具。
概述
mcp-klever-vm 是专为 Klever 区块链开发者设计的全面工具,维护着丰富的智能合约模式、最佳实践和代码示例知识库。该服务器支持多种运行模式,包括 HTTP API、MCP stdio 和公共托管服务。其架构包含优化的存储后端(内存和 Redis)、自动合约模式提取和相关性排名功能,帮助开发者高效检索上下文信息。
试试问 AI
装完之后,这里有 5 个你可以让 AI 做的事:
什么时候选它
当在 Klever 区块链上开发并需要访问全面的合约模式、最佳实践和验证工具知识库时,选择此 MCP 服务器。
什么时候不要选它
如果您在其他区块链平台上工作,请避免使用,因为此服务器专门针对 Klever 生态系统,在其他地方应用有限。
此 server 暴露的工具
从 README 抽取出 7 个工具query_contextSearch the Klever VM knowledge base for relevant information
add_contextAdd new context to the Klever VM knowledge base
get_contextRetrieve a specific context item by ID from the knowledge base
find_similarFind contexts similar to a given context ID or content
get_knowledge_statsGet statistics about the Klever VM knowledge base
init_klever_projectInitialize a new Klever smart contract project with helper scripts
enhance_with_contextEnhance queries with relevant Klever VM context
可对比工具
安装
安装
快速开始
通过 npx 直接安装和运行,无需克隆仓库:
npx -y @klever/mcp-server从源码安装
- 克隆仓库:
git clone https://github.com/klever-io/mcp-klever-vm.git
cd mcp-klever-vm- 安装依赖:
pnpm install- 复制环境配置:
cp .env.example .env- 构建项目:
pnpm run buildClaude Desktop
添加到您的 claude_desktop_config.json:
{
"mcpServers": {
"klever-vm": {
"command": "npx",
"args": ["-y", "@klever/mcp-server"]
}
}
}FAQ
- Klever MCP 服务器支持哪些类型的上下文?
- 该服务器支持多种上下文类型,包括代码示例、最佳实践、安全提示、优化技巧、文档、错误模式、部署工具和运行时行为说明。
- 我可以在不运行本地服务器的情况下使用这个服务器吗?
- 是的,您可以连接到公共托管服务器 https://mcp.klever.org/mcp,以只读方式访问知识库,无需本地安装。
mcp-klever-vm 对比
最后更新于 · 由 README + GitHub 公开数据自动生成。