mindcore-mcp
Click on "Deploy 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., "@mindcore-mcpSwap 1 ETH to USDC"
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.
Mindcore MCP Server
MCP (Model Context Protocol) server for onchain chat, DeFi operations, and AI model integration.
Overview
This library provides a framework for AI-powered chat and DeFi operations (swap, transfer) via MCP-compliant tools. It is designed for seamless integration with AI models and LLM tool providers.
Related MCP server: agenti
Features
AI Chat Agents: Analyst and Trader Copilot powered by OpenAI.
DeFi Operations: Swap tokens (Uniswap), transfer ETH/ERC20.
Intent Parsing: Natural language understanding for DeFi actions.
MCP Tool Manifest: Ready for LLM/AI tool integration.
Framework Agnostic: Use with Express, Fastify, h3, or any Node.js backend.
Installation
npm install mindcore-mcpUsage
Basic Example
import { createChatHandler, swapHandler, transferHandler } from 'mindcore-mcp';
// Example: Express.js
app.post('/api/chat', createChatHandler());
// Example: Direct function call
const chatResponse = await chatHandler({
messages: [{ role: 'user', content: 'Swap 1 ETH to USDC' }],
agentId: 2
});
const swapResponse = await swapHandler({
from: 'ETH',
to: 'USDC',
amount: '1',
userAddress: '0xYourAddress'
});Running the Server
You can run the Mindcore MCP Server as a standalone HTTP server:
npx mindcore-mcpThis will start the server on the default port (3000). You can set a custom port with the PORT environment variable.
MCP Tools
Tool | Description | Example Use Case |
| AI-powered chat with intent parsing | "What is the price of ETH?" |
| Swap tokens via Uniswap | "Swap 1 ETH to USDC" |
| Transfer ETH or ERC20 tokens | "Send 10 USDC to 0xabc..." |
Environment Variables
Variable | Description |
| Your OpenAI API key |
| Ethereum RPC URL |
| Uniswap router contract address |
| (Optional) WETH contract address |
Copy .env.example to .env and fill in your values.
Usage with LLM Tools
The Mindcore MCP Server exposes the following MCP-compliant tools for LLMs:
chat
Endpoint: POST /api/chat
Input:
{
"messages": [
{ "role": "user", "content": "Swap 1 ETH to USDC" }
],
"agentId": 2
}Output:
{
"reply": "swap_intent",
"swap": { "amount": "1", "from": "ETH", "to": "USDC" },
"message": "You want to swap 1 ETH to USDC. Please confirm the swap."
}swap
Endpoint: POST /api/swap
Input:
{
"from": "ETH",
"to": "USDC",
"amount": "1",
"userAddress": "0xYourAddress"
}Output: Returns transaction data for the swap.
transfer
Endpoint: POST /api/transfer
Input:
{
"token": "USDC",
"amount": "10",
"recipient": "0xRecipientAddress",
"userAddress": "0xYourAddress"
}Output: Returns transaction data for the transfer.
Registering Tools with LLMs
To use these tools with an LLM, add them to your tool manifest or configuration. Example (pseudo-config):
{
"mcpServers": {
"mindcore": {
"command": "npx",
"args": [
"mindcore-mcp"
],
"env": {
"OPENAI_API_KEY": "your_openai_api_key",
"RPC_URL": "your_rpc_url",
"UNISWAP_ROUTER_ADDRESS": "your_router_address"
}
}
}
}Prompting Tips:
Instruct the LLM to use the
chat,swap, andtransfertools for onchain actions.Provide the tool descriptions and example calls in your LLM's tool registry.
Development
# Build the package
npm run build
# Run tests (if implemented)
npm testLicense
MIT
This server cannot be deployed
Maintenance
Related MCP Connectors
OpenAI-compatible LLM MCP (7 tools); chat via balance key or x402 USDC on Base
Agent MCP for DeFi: cross-chain LINQ fan-out, AMM quotes/swaps, bridge, AI. Solana+EVM. Free+x402.
MCP server giving AI agents one-connection access to crypto & DeFi data: DeFi protocol TVL, stableco
Enable AI assistants to interact seamlessly with the DefiLlama API by translating MCP tool calls iā¦
Related MCP Servers
- AlicenseCqualityAmaintenanceSelf-hosted wallet MCP server for AI agents. Provides 42 tools for multi-chain crypto operations: transfers, token management, DeFi (swap, lend, stake, bridge, perp), NFT, smart contracts, and x402 payments. Supports EVM and Solana with policy engine, spending limits, and human approval.6030MIT
- AlicenseNot gradedqualityDmaintenanceEnables any MCP-compatible LLM client to autonomously hold, spend, earn, and receive cryptocurrency using native MCP tools, no code required.1 npm77ISC

Amper MCP Serverofficial
AlicenseNot gradedqualityDmaintenanceEnables natural language-driven DeFi operations including swaps, lending, bridging, and onchain transactions across multiple protocols via MCP-compatible clients.5 npm9MIT- AlicenseNot gradedqualityDmaintenanceAn MCP server that gives AI agents real-time access to DeFi across multiple chains, enabling non-custodial crypto trading, portfolio queries, and transaction execution.5 npm7MIT