MCP ExplorerExplorer

Mon Magma Mcp

@intellygentleon 9 months ago
1 MIT
FreeCommunity
AI Systems
mcp tools to stake and unstake on magmastaking.xyz on monad network

Overview

What is Mon Magma Mcp

mon-magma-mcp is a toolset designed for staking and unstaking on the magmastaking.xyz platform within the Monad network.

Use cases

Use cases include automating staking processes, managing user funds on magmastaking.xyz, and integrating with other blockchain applications for enhanced user experience.

How to use

To use mon-magma-mcp, clone the repository, install the necessary dependencies, configure the environment variables, and run the provided scripts to execute staking and unstaking operations.

Key features

Key features include easy setup through npm, support for environment variable configuration, and integration with the Model Context Protocol SDK for enhanced functionality.

Where to use

mon-magma-mcp is primarily used in the blockchain and cryptocurrency sectors, particularly for managing staking operations on the Monad network.

Content

Summary of Commands

Here’s a recap of the prerequisite commands to set up your MCP project:

git clone https://github.com/intellygentle/mon-magma-mcp.git
cd mon-magma-mcp

Install dependencies

npm i --save-dev @types/node
npm isntall
npm install @modelcontextprotocol/sdk zod viem
npm install dotenv

Run configure dotenv

go to dist folder

cd dist
  • create an env file in your dist folder
    image

    code .env # fill it with PRIVATE_KEY=0xYourPrivateKey
    
  • get the env directory

    pwd # add /env to the output to make your env path
    
  • edit the monad-magma-Tools.ts in the src folder with the path to your env. this is so that claude can load it

env

go back to the root directory

cd ..

Build Again

npm run build

run the script

node dist/monad-magma-Tools.js

Output will look like this

image

configure claude json file

  • copy the output of which node
which node  # it should look like this /home/yourUsername/.nvm/versions/node/v23.11.0/bin/node
  • copy the path to your js file
  • combine the two to make your claude json setup
  • { "mcpServers": {
      "monad-mcp": {
        "command": "wsl",
        "args": [
           "/home/yourUsername/.nvm/versions/node/v23.11.0/bin/node",
          "/home/yourUsername/monadMpcTask/dist/monad-magma-Tools.js"
        ]
      }
    

Install MCP inspector

npm install @modelcontextprotocol/[email protected]

Test with MCP Inspector

be sure to edit “username” use your directory

npx @modelcontextprotocol/inspector /home/username/.nvm/versions/node/v23.11.0/bin/node /home/username/monadMpcTask/dist/monad-magma-Tools.js
  • output will look like this
    image

MCP Inspector will look like this

image

Claude will look like this

Screenshot 2025-04-19 070802 stakemcp

Tools

No tools

Comments

Recommend MCP Servers

View All MCP Servers