Navigation
MCP-SNS-Server: Scalable & 24/7 Reliable Social Infrastructure - MCP Implementation

MCP-SNS-Server: Scalable & 24/7 Reliable Social Infrastructure

Unleash social media potential with MCP-SNS-Server! Effortlessly handle surges, scale seamlessly, and keep your community connected 24/7—reliability that never drops. 🌟" )

Developer Tools
4.1(117 reviews)
175 saves
81 comments

Users create an average of 39 projects per month with this tool

About MCP-SNS-Server

What is MCP-SNS-Server: Scalable & 24/7 Reliable Social Infrastructure?

MCP-SNS-Server is a TypeScript-based Model Context Protocol (MCP) implementation enabling interaction with decentralized autonomous organizations (DAOs) on the Internet Computer (IC). It provides a robust interface for accessing Service Nervous System (SNS) DAOs, emphasizing scalability and continuous uptime. This server acts as a bridge between users and DAO governance systems, facilitating core operations like proposal management, neuron voting, and system parameter inspection.

How to use MCP-SNS-Server: Scalable & 24/7 Reliable Social Infrastructure?

Start by configuring your environment: copy the .env.example file to .env and add your seed phrase. Install dependencies via npm install, then build the server with npm run build. For active development, use npm run watch to enable auto-rebuilding. Integrate with applications like Claude Desktop by specifying the server path in configuration files, adjusting OS-specific locations for macOS or Windows.

MCP-SNS-Server Features

Key Features of MCP-SNS-Server: Scalable & 24/7 Reliable Social Infrastructure?

Core functionalities include:

  • Proposal Management: Retrieve all proposals for a DAO using list_proposals.
  • Neuron Voting: Identify eligible neurons for voting via list_votable_neurons, requiring DAO name and principal ID.
  • System Configuration: Access DAO parameters with get_system_parameters.
  • Voting Execution: Cast votes using vote_proposal, specifying proposal ID, neuron ID, and vote preference (yes/no/unspecified).
  • Wallet Integration: Fetch user wallet details through the wallet endpoint to retrieve principal IDs.

Use cases of MCP-SNS-Server: Scalable & 24/7 Reliable Social Infrastructure?

Practical applications span:

  • Governance participation in SNS DAOs for voting or proposal creation.
  • Automating neuron management workflows via API integrations.
  • Real-time monitoring of DAO system parameters for compliance or auditing.
  • Building custom dashboards to visualize proposal statuses and voting trends.

MCP-SNS-Server FAQ

FAQ from MCP-SNS-Server: Scalable & 24/7 Reliable Social Infrastructure?

Q: How do I troubleshoot communication issues?
Use the MCP Inspector tool via npm run inspector to debug stdio-based interactions.

Q: Does it support Windows/macOS?
Yes, but configuration paths differ (e.g., macOS uses ~/Library/Application Support/Claude).

Q: What’s required to run the server?
Node.js 18+, npm dependencies, and valid Internet Computer access credentials.

Q: Can I extend its functionality?
Absolutely—MCP’s modular design allows adding custom endpoints or integrating with third-party tools.

Content

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.

Related MCP Servers & Clients