Linea MCP Server
About
A Model Context Protocol (MCP) server that provides on-chain tools for AI applications to interact with the Linea blockchain.
Details
- Author
- qvkare
- GitHub stars
- 2
- Downloads
- 208
- Categories
- Other
Jump to
- Wallet management: retrieve addresses and check balances
- Token operations: transfer ERC20 tokens, check balances, list tokens
- Smart contract interactions: deploy and call contracts
- NFT management: list and transfer NFTs
- Bridge operations: bridge assets between Ethereum and Linea
- DeFi integrations: interact with liquidity pools, swaps, yield farming
- Verax integration: verify identity with Linea Verax attestations
- Linea ENS: resolve and manage Linea ENS names
Setting up with Highlight
This MCP is not yet compatible with Highlight’s one-click setup. However, you can still use it with Highlight by following these steps:
- Download and install Highlight from highlightai.com/download
- Navigate to the plugins tab and select "Add Custom Plugin"
-
Configure the plugin with the settings below
Plugin Name
Linea MCP ServerCommand (node, npx, python, etc.)Please refer to the README for specific instructions on how to obtain API keys or other required environment variables.
- Enable "Start Automatically" if you want the plugin to start when Highlight launches
From the repository
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.
Claude Desktop / Cursor
Paste into your MCP client config file to install this server.
{
"mcpServers": {
"linea mcp server": {
"linea-mcp": {
"command": "node",
"args": [
"dist/index.js",
"#",
"Using",
"Node",
"directly",
"is",
"more",
"reliable",
"than",
"npm",
"start"
]
}
}
}
}
McpServers
{
"linea-mcp": {
"command": "node",
"args": [
"dist/index.js",
"#",
"Using",
"Node",
"directly",
"is",
"more",
"reliable",
"than",
"npm",
"start"
]
}
}
Linea MCP Server
<div align="center">

</div>
A Model Context Protocol (MCP) server that provides on-chain tools for AI applications to interact with the Linea blockchain.
Overview
Linea-MCP extends any MCP client's capabilities by providing tools to interact with the Linea blockchain, an Ethereum Layer 2 scaling solution using zero-knowledge proof technology. This server enables AI assistants like Claude, Cursor, and other MCP-compatible clients to perform blockchain operations through natural language requests.
Key Features
- Wallet Management: Retrieve addresses and check balances
- Token Operations: Transfer ERC20 tokens, check balances, list tokens
- Smart Contract Interactions: Deploy and call contracts
- NFT Management: List and transfer NFTs
- Bridge Operations: Bridge assets between Ethereum and Linea
- DeFi Integrations: Interact with DeFi protocols
- Verax Integration: Verify identity with Linea Verax attestations
- Linea ENS: Resolve and manage Linea ENS names
See examples.md for detailed usage examples.
Quick Start
Prerequisites
- Node.js (v16+)
- npm or yarn
- Access to Linea RPC endpoints
Installation Options
Option 1: Quick Install (Global Package)
```bash
Sign in to leave a review
Use Google, GitHub, or an email account so ratings stay tied to real people.
No reviews posted yet.



