Linea MCP
Linea MCP is a server that provides tools for AI applications to interact with the Linea blockchain. It supports functions such as wallet management, token operations, and smart contract interactions, and is compatible with multiple MCP clients.
2.5 points
4.3K

What is Linea MCP Server?

Linea MCP Server is a protocol server that serves as a bridge between AI assistants and the Linea blockchain. Through this service, AI assistants like Claude and Cursor can help you manage cryptocurrency wallets, transfer tokens, interact with smart contracts, and perform other blockchain operations using natural language.

How to use Linea MCP Server?

Simply install and configure it, and your AI assistant will gain the ability to perform blockchain operations. It supports global installation for a quick experience and local installation for in - depth customization by developers.

Applicable scenarios

Suitable for users who need to interact with the blockchain through natural language, including scenarios such as cryptocurrency asset management, DeFi operations, NFT trading, and cross - chain transfers.

Main features

Wallet management
View wallet addresses, query balances, and manage multiple wallets
Token operations
Transfer ERC20 tokens, query token balances, and obtain token information
Smart contract
Deploy and call smart contracts, and interact with dApps
NFT management
View NFT collections and transfer NFT assets
Cross - chain bridge
Transfer assets between Ethereum and Linea
DeFi integration
Interact with DeFi protocols on Linea, such as liquidity pools and token exchanges
Advantages
Natural language interaction: Operate the blockchain using daily language without learning complex commands
One - stop service: Integrate multiple functions such as wallets, tokens, NFTs, and DeFi
Strong compatibility: Support multiple AI assistant clients
Developer - friendly: Provide detailed APIs and development documentation
Limitations
Requires configuring wallet private keys, posing security risks
Relies on third - party RPC nodes, and performance is affected by the network
Some advanced functions require a technical background to use correctly

How to use

Install the service
Choose between global installation or local installation
Configure the environment
Set necessary parameters such as the RPC node URL and wallet private key
Start the service
Run the service and keep it running in the background
Configure the AI client
Add the MCP server configuration to clients such as Cursor and Claude

Usage examples

Query balance
Ask the AI assistant to tell you how much ETH is in your wallet
Transfer USDC
Transfer stablecoins through natural language instructions
View NFTs
Query the NFT assets in the wallet

Frequently Asked Questions

Is it safe to use this service?
Which AI clients are supported?
What should I do if the transaction fails?
Do I need to pay for using this service?

Related resources

Official GitHub repository
Source code and the latest version
Linea official documentation
Technical documentation for the Linea blockchain
MCP protocol description
Official description of the Model Context Protocol
Installation tutorial video
A video guide for step - by - step configuration of Linea MCP Server

Installation

Copy the following command to your Client for configuration
{
  "mcpServers": {
    "linea": {
      "command": "npx",
      "args": ["linea-mcp@latest"],
      "env": {
        "PORT": "3000",
        "LINEA_MAINNET_RPC_URL": "https://rpc.linea.build",
        "LINEA_TESTNET_RPC_URL": "https://rpc.sepolia.linea.build",
        "INFURA_API_KEY": "your_infura_key",
        "ALCHEMY_API_KEY": "your_alchemy_key",
        "PRIVATE_KEY_ENCRYPTION_KEY": "your_encryption_key_please_change",
        "WALLET_PRIVATE_KEY": "your_wallet_private_key_or_mnemonic",
        "NODE_ENV": "development",
        "ETHEREUM_RPC_URL": "https://mainnet.infura.io/v3/your_infura_key",
        "ETHEREUM_TESTNET_RPC_URL": "https://sepolia.infura.io/v3/your_infura_key"
      }
    }
  }
}

{
  "mcpServers": {
    "linea": {
      "command": "node",
      "args": ["/absolute/path/to/linea-mcp/dist/index.js"],
      "cwd": "/absolute/path/to/linea-mcp",
      "env": {
        // Same environment variables as Option 1
        "PORT": "3000",
        "LINEA_MAINNET_RPC_URL": "https://rpc.linea.build",
        // ... other variables from Option 1
      }
    }
  }
}
Note: Your key is sensitive information, do not share it with anyone.

Alternatives

K
Klavis
Klavis AI is an open-source project that provides a simple and easy-to-use MCP (Model Context Protocol) service on Slack, Discord, and Web platforms. It includes various functions such as report generation, YouTube tools, and document conversion, supporting non-technical users and developers to use AI workflows.
TypeScript
10.1K
5 points
D
Devtools Debugger MCP
The Node.js Debugger MCP server provides complete debugging capabilities based on the Chrome DevTools protocol, including breakpoint setting, stepping execution, variable inspection, and expression evaluation.
TypeScript
6.9K
4 points
M
Mcpjungle
MCPJungle is a self-hosted MCP gateway used to centrally manage and proxy multiple MCP servers, providing a unified tool access interface for AI agents.
Go
0
4.5 points
N
Nexus
Nexus is an AI tool aggregation gateway that supports connecting multiple MCP servers and LLM providers, providing tool search, execution, and model routing functions through a unified endpoint, and supporting security authentication and rate limiting.
Rust
0
4 points
C
Contracts Wizard
OpenZeppelin Contracts Wizard is an interactive smart contract building tool that allows users to generate contract code based on OpenZeppelin components by selecting contract types, parameters, and functions. It supports multiple programming languages and provides API and embedding functions.
TypeScript
9.4K
4 points
Z
Zen MCP Server
Zen MCP is a multi-model AI collaborative development server that provides enhanced workflow tools and cross-model context management for AI coding assistants such as Claude and Gemini CLI. It supports seamless collaboration of multiple AI models to complete development tasks such as code review, debugging, and refactoring, and can maintain the continuation of conversation context between different workflows.
Python
15.9K
5 points
O
Opendia
OpenDia is an open - source browser extension tool that allows AI models to directly control the user's browser, perform automated operations using existing login status, bookmarks and other data, support multiple browsers and AI models, and focus on privacy protection.
JavaScript
14.4K
5 points
N
Notte Browser
Certified
Notte is an open-source full-stack network AI agent framework that provides browser sessions, automated LLM-driven agents, web page observation and operation, credential management, etc. It aims to transform the Internet into an agent-friendly environment and reduce the cognitive burden of LLMs by describing website structures in natural language.
17.6K
4.5 points
N
Notion Api MCP
Certified
A Python-based MCP Server that provides advanced to-do list management and content organization functions through the Notion API, enabling seamless integration between AI models and Notion.
Python
15.2K
4.5 points
G
Gitlab MCP Server
Certified
The GitLab MCP server is a project based on the Model Context Protocol that provides a comprehensive toolset for interacting with GitLab accounts, including code review, merge request management, CI/CD configuration, and other functions.
TypeScript
16.6K
4.3 points
M
Markdownify MCP
Markdownify is a multi-functional file conversion service that supports converting multiple formats such as PDFs, images, audio, and web page content into Markdown format.
TypeScript
24.9K
5 points
D
Duckduckgo MCP Server
Certified
The DuckDuckGo Search MCP Server provides web search and content scraping services for LLMs such as Claude.
Python
47.3K
4.3 points
U
Unity
Certified
UnityMCP is a Unity editor plugin that implements the Model Context Protocol (MCP), providing seamless integration between Unity and AI assistants, including real - time state monitoring, remote command execution, and log functions.
C#
21.2K
5 points
F
Figma Context MCP
Framelink Figma MCP Server is a server that provides access to Figma design data for AI programming tools (such as Cursor). By simplifying the Figma API response, it helps AI more accurately achieve one - click conversion from design to code.
TypeScript
46.5K
4.5 points
G
Gmail MCP Server
A Gmail automatic authentication MCP server designed for Claude Desktop, supporting Gmail management through natural language interaction, including complete functions such as sending emails, label management, and batch operations.
TypeScript
15.6K
4.5 points
C
Context7
Context7 MCP is a service that provides real-time, version-specific documentation and code examples for AI programming assistants. It is directly integrated into prompts through the Model Context Protocol to solve the problem of LLMs using outdated information.
TypeScript
67.5K
4.7 points
AIBase
Zhiqi Future, Your AI Solution Think Tank
© 2025AIBase