Solana Agent Kit MCP Server
Solana-MCP is a fully on-chain operation platform designed specifically for the Solana blockchain. By using natural language commands, Solana-MCP simplifies user interactions with the Solana ecosystem, improving efficiency and user experience.
- Natural Language Command Support: Execute complex on-chain operations by parsing user input with LLM technology.
- DApp Integration: Seamlessly connect with major DApps in the Solana ecosystem.
- Digital Asset Management: Support real-time management and trading of major Solana-based assets.
- DeFi Operations: Perform staking, lending, and other DeFi activities with one-click solutions.
- Open API: Developer-friendly APIs for integrating on-chain operations.
- LLM (Large Language Model):
- Multi-language support for global users.
- Intent recognition for accurate operations.
- Context understanding for handling complex commands.
- Dynamic learning for continuous optimization.
- Solana Blockchain:
- High throughput for fast operations.
- Low fees to reduce user costs.
- Strong security based on robust consensus mechanisms.
- High scalability to meet growing user demands.
- Smart Contracts:
- Automated execution of on-chain operations.
- Transparent and secure code logic.
- Programmable and extensible for diverse use cases.
- Users input natural language commands on the Solana-MCP platform.
- LLM parses the commands to identify intent and parameters.
- Solana-MCP maps the parsed results to corresponding on-chain operations.
- Smart contracts are invoked to execute the operations.
- Users sign transactions with their Solana wallet.
- Transactions are executed on the Solana blockchain.
- Results are returned to the platform and displayed to the user.
- Clone the repository:
git clone https://github.com/solanamcp/solana-mcp.git cd solana-mcp
- Install dependencies:
npm install
- Start the development server:
npm run dev
Request:
POST /api/execute
Content-Type: application/json
{
"command": "Buy 10 SOL"
}
Response:
{
"status": "success",
"transactionId": "5G9s...kL2"
}
Request:
GET /api/assets
Authorization: Bearer <token>
Response:
{
"assets": [
{ "name": "SOL", "balance": 10.5 },
{ "name": "USDC", "balance": 200.0 }
]
}
We welcome contributions! Please follow these steps:
- Fork this repository.
- Create a new branch:
git checkout -b feature/your-feature
- Commit your changes:
git commit -m "Add your feature"
- Push the branch:
git push origin feature/your-feature
- Submit a Pull Request.
This project is open-sourced under the MIT License.