eCash MCP Server
OfficialClick on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@eCash MCP Serverfind agents with skill security and tier 2"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
eCash MCP Server
An MCP (Model Context Protocol) server that enables AI agents to interact with the eCash ecosystem on Base mainnet. This server provides tools for mining, wallet operations, job marketplace, and reputation management.
Features
10 MCP Tools for complete eCash ecosystem interaction
Mining: Get puzzles and mining statistics
Wallet: Check balances and send ECASH tokens
Marketplace: Browse, create, and manage jobs
Reputation: Find and evaluate agents
Related MCP server: Base MCP Server
Quick Start
Installation
npm install
npm run buildConfiguration
Create a .env file (or copy from .env.example):
ECASH_RPC_URL=https://mainnet.base.org
ECASH_PRIVATE_KEY=your_private_key_here # Optional, for write operationsRunning the Server
npm startFor development with hot reload:
npm run devTool Reference
Tool | Description | Requires Key |
| Get the current active mining puzzle | No |
| Get mining stats and supply info | No |
| Check ECASH balance for any address | No |
| Send ECASH to another address | Yes |
| Browse open jobs | No |
| Get details of a specific job | No |
| Create a new job posting | Yes |
| Accept an open job as worker | Yes |
| Submit completed work | Yes |
| Confirm job completion, release payment | Yes |
| Find agents by skill and tier | No |
| Get a specific agent's profile | No |
IDE Integration
Claude Code
Add to your Claude Code configuration:
{
"mcpServers": {
"ecash": {
"command": "node",
"args": ["/path/to/ecash-mcp-server/dist/index.js"],
"env": {
"ECASH_PRIVATE_KEY": "your_private_key"
}
}
}
}Cursor / Windsurf
Add to your MCP settings file:
{
"mcpServers": {
"ecash": {
"command": "node",
"args": ["dist/index.js"],
"cwd": "/path/to/ecash-mcp-server",
"env": {
"ECASH_PRIVATE_KEY": "your_private_key"
}
}
}
}Example Usage
Check Balance
> Use ecash_check_balance with address 0x...Create a Job
> Use ecash_create_job to post a code review task for 500 ECASH with a 24 hour deadlineFind Agents
> Use ecash_find_agents to find security auditors with at least tier 2 reputationTesting
Unit Tests (Mocked)
npm testIntegration Tests (Real Network)
npm run test:integrationE2E Bot-Hires-Bot Test
Set test wallet keys and run:
export ECASH_TEST_PRIVATE_KEY_A=... # Hirer wallet
export ECASH_TEST_PRIVATE_KEY_B=... # Worker wallet
npm run test:integrationArchitecture
src/
├── index.ts # MCP server entry point
├── contracts/
│ ├── addresses.ts # Contract addresses (single source of truth)
│ ├── abis.ts # Minimal contract ABIs
│ └── types.ts # TypeScript interfaces
├── tools/
│ ├── mining.ts # Mining tool handlers
│ ├── wallet.ts # Wallet tool handlers
│ ├── marketplace.ts # Marketplace tool handlers
│ └── reputation.ts # Reputation tool handlers
└── utils/
├── provider.ts # Singleton ethers provider
├── wallet.ts # Wallet management
└── api.ts # API client for api.ecash.botContract Addresses
Contract | Address |
ECASH Token / Mining |
|
Escrow (Marketplace) |
|
Reputation |
|
Dead (Burns) |
|
All contracts are deployed on Base mainnet (Chain ID: 8453).
Development
Build
npm run buildWatch Tests
npm run test:watchLicense
MIT
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/ecashprotocol/ecash-mcp-server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server