What are the prerequisites to run the server?
Node.js v16+, npm or yarn, and access to Linea RPC endpoints (mainnet or testnet).
@qvkare
Basic information
A Model Context Protocol (MCP) server that provides on-chain tools for AI applications to interact with the Linea blockchain.
Add this server to your MCP-compatible client using the configuration below.
{
"mcpServers": {
"linea-mcp": {
"command": "node",
"args": [
"dist/index.js",
"#",
"Using",
"Node",
"directly",
"is",
"more",
"reliable",
"than",
"npm",
"start"
]
}
}
}Address management, balance checking, fund transfers
ERC20 transfers, balance checking, token information
Deployment and interaction
Listing and transfers
Asset bridging between Ethereum and Linea
Liquidity pools, token swaps, yield farming
Name resolution and record management
Identity verification
Linea MCP Server is a Model Context Protocol (MCP) server that provides on-chain tools for AI applications to interact with the Linea blockchain, an Ethereum Layer 2 scaling solution using zero-knowledge proof technology. It enables AI assistants like Claude, Cursor, and other MCP-compatible clients to perform blockchain operations through natural language requests.
Install globally via npm install -g linea-mcp or from source by cloning the repository and running npm install. Configure environment variables (RPC URLs, wallet private key, Infura API key) in a .env file. Integrate with any MCP-compatible client by editing the client’s MCP configuration file (e.g., mcp.json for Cursor or claude_desktop_config.json for Claude Desktop) and adding a linea server entry using either the global npx approach or a local Node.js path.
Node.js v16+, npm or yarn, and access to Linea RPC endpoints (mainnet or testnet).
Install globally with `npm install -g linea-mcp`, create a `.env` file with your RPC URLs, wallet private key, and Infura API key, then run `linea-mcp`. Alternatively, clone the repo, install dependencies, build, and run `node dist/index.js`.
Find your client’s MCP configuration file (e.g., for Cursor: `mcp.json`, for Claude Desktop: `claude_desktop_config.json`) and add a `linea` server entry with the appropriate command, args, and environment variables. Use `npx linea-mcp@latest` for simple setups or a local path to the built `index.js` for development.
Use direct Node.js execution (`"command": "node"`, `"args": ["/path/to/dist/index.js"]`) instead of npm scripts, ensure all environment variables are set correctly, and restart the client after configuration changes.
For Cursor: `%APPDATA%\Cursor\mcp.json` (Windows), `~/Library/Application Support/Cursor/mcp.json` (macOS), `~/.config/Cursor/mcp.json` (Linux). For Claude Desktop: `%APPDATA%\Claude\claude_desktop_config.json` (Windows), `~/Library/Application Support/Claude/claude_desktop_config.json` (macOS), `~/.config/Claude/claude_desktop_config.json` (Linux). For other clients, refer to their documentation.
Painless E2E Automation for Mobile and Web

A good sequence diagram can solve almost any communication problem in engineering. Volley lets your agent write them as plain text, with the real request and response payloads on every arrow. It checks its own syntax wi

Couples therapist Figs O'Sullivan (LMFT, 17 years, endorsed by Sue Johnson, creator of EFT) inside your AI. Ask relationship questions answered from his clinical writing, name the pattern in a fight, get a three-step rep

A free remote MCP server for The Living Bread. Bible passages read word for word from a stored public domain text with an evidence label, keyword search and cross references, real churches, gatherings and prayer groups w

Request dedicated senior developers to work on your project, write job descriptions, and prep technical interviews — all without leaving your Claude chat. Just describe what you need, and Lemon.io MCP does the rest. 1–3
Comments