Skip to main content
Glama

MCP SNS Server

by baolongt

mcp-sns-server MCP 服务器

用于与互联网计算机上的 DAO 交互的模型上下文协议服务器

这是一个基于 TypeScript 的 MCP 服务器,实现了与服务神经系统 (SNS) DAO 的接口。它通过提供与去中心化自治组织 (DAO) 交互的工具来演示 MCP 的核心概念。

演示

设置

将您的种子短语添加到 env 文件中

cp .env.example .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 治理系统中登记投票

发展

安装依赖项:

npm install

构建服务器:

npm run build

对于使用自动重建的开发:

npm run watch

安装

要与 Claude Desktop 一起使用,请添加服务器配置:

在 MacOS 上: ~/Library/Application Support/Claude/claude_desktop_config.json在 Windows 上: %APPDATA%/Claude/claude_desktop_config.json

{ "mcpServers": { "mcp-sns-server": { "command": "/path/to/mcp-sns-server/build/index.js" } } }

调试

由于 MCP 服务器通过 stdio 进行通信,调试起来可能比较困难。我们推荐使用MCP Inspector ,它以包脚本的形式提供:

npm run inspector

检查器将提供一个 URL 来访问浏览器中的调试工具。

You must be authenticated.

A
security – no known vulnerabilities
F
license - not found
A
quality - confirmed to work

hybrid server

The server is able to function both locally and remotely, depending on the configuration or use case.

一个模型上下文协议服务器,可以与互联网计算机上的服务神经系统 (SNS) DAO 进行交互,允许用户列出提案、查看神经元、获取系统参数、管理钱包以及对提案进行投票。

  1. 设置
    1. 特征
      1. 工具
    2. 发展
      1. 安装
        1. 调试

      Related MCP Servers

      • A
        security
        A
        license
        A
        quality
        A Model Context Protocol server that enables LLMs to interact with Salesforce data through SOQL queries, SOSL searches, and various API operations including record management.
        Last updated -
        10
        77
        Python
        MIT License
      • A
        security
        A
        license
        A
        quality
        A Model Context Protocol server that gives LLMs the ability to interact with Ethereum networks, manage wallets, query blockchain data, and execute smart contract operations through a standardized interface.
        Last updated -
        31
        323
        2
        TypeScript
        MIT License
      • -
        security
        F
        license
        -
        quality
        A Model Context Protocol server that enables Claude and other LLMs to interact with Notion workspaces, providing capabilities like searching, retrieving, creating and updating pages, as well as managing databases.
        Last updated -
        275
        2
        TypeScript
      • A
        security
        A
        license
        A
        quality
        A Model Context Protocol server that allows AI agents to perform WHOIS lookups, enabling users to directly ask the AI about domain availability, ownership, registration details, and other domain information.
        Last updated -
        4
        10
        1
        JavaScript
        MIT License
        • Linux
        • Apple

      View all related MCP servers

      MCP directory API

      We provide all the information about MCP servers via our MCP API.

      curl -X GET 'https://glama.ai/api/mcp/v1/servers/baolongt/sns-mcp-server'

      If you have feedback or need assistance with the MCP directory API, please join our Discord server