概览
What is Mcp Server?
Mcp Server is a Model Context Protocol server for interacting with IPOR vaults on the Base mainnet (Ethereum). It requires an Ethereum private key for a credits NFT to operate. It is intended for developers using MCP-compatible clients to manage deposits into IPOR vaults.
How to use Mcp Server?
Clone the repository, copy .env.example to .env, and add your ETH_CREDITS_NFT_PRIVATE_KEY. Then install dependencies with npm install, build with npm run build, and start the MCP inspector with npm run inspector. Open http://127.0.0.1:6274/ to connect and list tools. Example: use the IPOR-VAULT tool with parameters Amount to deposit, vault, and rcpUrl.
Key features of Mcp Server?
- Deposits into IPOR vaults via the
IPOR-VAULTtool - Requires an Ethereum private key for credits NFT authentication
- Runs locally via MCP inspector on port 6274
- Connects to the Base mainnet (default RPC URL provided)
- Simple setup with Node.js and npm
Use cases of Mcp Server?
- Depositing funds into IPOR vaults programmatically
- Testing IPOR vault interactions in a local MCP environment
- Automating DeFi operations with MCP-compatible clients
FAQ from Mcp Server
What dependencies are required?
Node.js and npm. Follow the clone, install, and build steps.
How do I configure the server?
Copy .env.example to .env and set ETH_CREDITS_NFT_PRIVATE_KEY to your Ethereum private key.
What transport does the server use?
The server runs via MCP inspector, which typically uses stdio or HTTP. The inspector provides a web UI at http://127.0.0.1:6274/.
Which blockchain network does it support?
It connects to the Base mainnet as shown by the example RPC URL https://mainnet.base.org/.
Is there any authentication or key requirement?
Yes, you must provide a valid Ethereum private key for a credits NFT in the .env file.