MCP cover image
See in Github
2025-04-05

SNS的MCP服务器

1

Github Watches

1

Github Forks

4

Github Stars

mcp-sns-server MCP Server

A Model Context Protocol server for interacting with DAOs on the Internet Computer

This is a TypeScript-based MCP server that implements an interface to Service Nervous System (SNS) DAOs. It demonstrates core MCP concepts by providing tools to interact with decentralized autonomous organizations.

Demo

Setup

add your seed phrase to env file

cp .env.example .env

Features

Tools

  • list_proposals - List all proposals for a specific DAO

    • Takes DAO name as parameter
    • Returns list of proposals from the specified DAO
  • list_votable_neurons - List all votable neurons for a user in a DAO

    • Takes DAO name and principal ID as parameters
    • Returns neurons that can vote on proposals
  • get_system_parameters - List all configuration parameters for a DAO

    • Takes DAO name as parameter
    • Returns system parameters for the specified DAO
  • wallet - Get the user's wallet information

    • Returns the principal ID of the current wallet
  • vote_proposal - Vote on a proposal

    • Takes DAO name, principal ID, neuron ID, proposal ID, and vote preference
    • Allows voting yes, no, or unspecified on proposals
    • Registers vote with the DAO governance system

Development

Install dependencies:

npm install

Build the server:

npm run build

For development with auto-rebuild:

npm run watch

Installation

To use with Claude Desktop, add the server config:

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

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

Debugging

Since MCP servers communicate over stdio, debugging can be challenging. We recommend using the MCP Inspector, which is available as a package script:

npm run inspector

The Inspector will provide a URL to access debugging tools in your browser.

相关推荐

  • NiKole Maxwell
  • I craft unique cereal names, stories, and ridiculously cute Cereal Baby images.

  • Bora Yalcin
  • Evaluator for marketplace product descriptions, checks for relevancy and keyword stuffing.

  • https://suefel.com
  • Latest advice and best practices for custom GPT development.

  • Yusuf Emre Yeşilyurt
  • I find academic articles and books for research and literature reviews.

  • https://maiplestudio.com
  • Find Exhibitors, Speakers and more

  • Carlos Ferrin
  • Encuentra películas y series en plataformas de streaming.

  • Joshua Armstrong
  • Confidential guide on numerology and astrology, based of GG33 Public information

  • Emmet Halm
  • Converts Figma frames into front-end code for various mobile frameworks.

  • Alexandru Strujac
  • Efficient thumbnail creator for YouTube videos

  • Elijah Ng Shi Yi
  • Advanced software engineer GPT that excels through nailing the basics.

  • lumpenspace
  • Take an adjectivised noun, and create images making it progressively more adjective!

  • apappascs
  • 发现市场上最全面,最新的MCP服务器集合。该存储库充当集中式枢纽,提供了广泛的开源和专有MCP服务器目录,并提供功能,文档链接和贡献者。

  • ShrimpingIt
  • MCP系列GPIO Expander的基于Micropython I2C的操作,源自ADAFRUIT_MCP230XX

  • huahuayu
  • 统一的API网关,用于将多个Etherscan样区块链Explorer API与对AI助手的模型上下文协议(MCP)支持。

  • modelcontextprotocol
  • 模型上下文协议服务器

    Reviews

    2 (1)
    Avatar
    user_IV9G0EzD
    2025-04-15

    I've been using unplugin-mcp from situ2001, and it's fantastic! The integration with MCP is seamless, and it offers incredible functionality for my projects. The documentation is clear, making it easy to get started. This tool has definitely streamlined my workflow and enhanced my productivity. Highly recommend checking it out at https://mcp.so/server/unplugin-mcp/situ2001.