mcp-sns-server
by baolongt
The mcp-sns-server is a Model Context Protocol (MCP) server for interacting with DAOs on the Internet Computer. It provides tools to interact with Service Nervous System (SNS) decentralized autonomous organizations.
Last updated: N/A
What is mcp-sns-server?
This is a TypeScript-based MCP server that implements an interface to Service Nervous System (SNS) DAOs, demonstrating core MCP concepts by providing tools to interact with decentralized autonomous organizations.
How to use mcp-sns-server?
- Add your seed phrase to the .env file (copy from .env.example).
- Install dependencies:
npm install
. - Build the server:
npm run build
. - For development with auto-rebuild:
npm run watch
. - To use with Claude Desktop, add the server config to the claude_desktop_config.json file.
Key features of mcp-sns-server
List all proposals for a specific DAO
List all votable neurons for a user in a DAO
List all configuration parameters for a DAO
Get the user's wallet information
Vote on a proposal
Use cases of mcp-sns-server
Interacting with SNS DAOs on the Internet Computer
Listing proposals for a specific DAO
Listing votable neurons for a user in a DAO
Getting system parameters for a DAO
Voting on proposals within a DAO
FAQ from mcp-sns-server
How do I list proposals for a DAO?
How do I list proposals for a DAO?
Use the list_proposals
tool, providing the DAO name as a parameter.
How do I list votable neurons?
How do I list votable neurons?
Use the list_votable_neurons
tool, providing the DAO name and principal ID as parameters.
How do I get system parameters?
How do I get system parameters?
Use the get_system_parameters
tool, providing the DAO name as a parameter.
How do I get my wallet information?
How do I get my wallet information?
Use the wallet
tool to return the principal ID of the current wallet.
How do I vote on a proposal?
How do I vote on a proposal?
Use the vote_proposal
tool, providing the DAO name, principal ID, neuron ID, proposal ID, and vote preference.