mcp-sns-server MCP 服务器
用于与互联网计算机上的 DAO 交互的模型上下文协议服务器
这是一个基于 TypeScript 的 MCP 服务器,实现了与服务神经系统 (SNS) DAO 的接口。它通过提供与去中心化自治组织 (DAO) 交互的工具来演示 MCP 的核心概念。
设置
将您的种子短语添加到 env 文件中
特征
工具
list_proposals
- 列出特定 DAO 的所有提案- 以 DAO 名称作为参数
- 返回指定 DAO 的提案列表
list_votable_neurons
- 列出 DAO 中用户的所有可投票神经元- 以 DAO 名称和主体 ID 作为参数
- 返回可以对提案进行投票的神经元
get_system_parameters
- 列出 DAO 的所有配置参数- 以 DAO 名称作为参数
- 返回指定 DAO 的系统参数
wallet
获取用户的钱包信息- 返回当前钱包的主体ID
vote_proposal
- 对提案进行投票- 获取 DAO 名称、委托人 ID、神经元 ID、提案 ID 和投票偏好
- 允许对提案投赞成、反对或未指定票
- 在 DAO 治理系统中登记投票
发展
安装依赖项:
构建服务器:
对于使用自动重建的开发:
安装
要与 Claude Desktop 一起使用,请添加服务器配置:
在 MacOS 上: ~/Library/Application Support/Claude/claude_desktop_config.json
在 Windows 上: %APPDATA%/Claude/claude_desktop_config.json
调试
由于 MCP 服务器通过 stdio 进行通信,调试起来可能比较困难。我们推荐使用MCP Inspector ,它以包脚本的形式提供:
检查器将提供一个 URL 来访问浏览器中的调试工具。
hybrid server
The server is able to function both locally and remotely, depending on the configuration or use case.
一个模型上下文协议服务器,可以与互联网计算机上的服务神经系统 (SNS) DAO 进行交互,允许用户列出提案、查看神经元、获取系统参数、管理钱包以及对提案进行投票。
Related MCP Servers
- -securityAlicense-qualityA Model Context Protocol server that allows AI assistants to interact with the Neuro-Symbolic Autonomy Framework, enabling capabilities like running NSAF evolution with customizable parameters and comparing different agent architectures.Last updated -1PythonMIT License
- -securityAlicense-qualityA Model Context Protocol server that provides a standardized interface for AI models to access, query, and modify content in Notion workspaces.Last updated -7064TypeScriptMIT License
- -securityAlicense-qualityA Model Context Protocol server that provides programmatic access to ONOS SDN controller's network management capabilities, enabling device control, topology management, and analytics through ONOS's REST API.Last updated -4PythonGPL 3.0
- -securityAlicense-qualityA Model Context Protocol server that enables users to query, retrieve details, and manage reviews/ratings for NetMind AI servers through simple endpoints.Last updated -PythonMIT License