
bonk-mcp 服务器为 LetsBonk 启动板实现了 Solana 区块链功能。
概览
bonk-mcp 服务器为 LetsBonk 启动板实现了 Solana 区块链功能。 - 代币启动:在 letsbonk.fun 上发布任意代币- 代币交易:在 letsbonk.fun 上买卖任何代币 bonk-mcp 服务器可以通过添加到 MCP 服务器配置中,在 Claude Desktop 中进行配置。你需要提供:- 通往 bonk-mcp 目录的路径 - 环境变量:- 密钥对:你的 Solana 密钥对 - RPC_URL:Solana RPC 端点(例如,https://api.mainnet-beta.solana.com) 在 MacOS 上:~/Library/Application\ support/Claude/claude_desktop_config.json 在 Windows 上:%APPDATA%/Claude/claude_desktop_config.json 开发/未发布服务器配置 准备分发套餐: 1. 同步依赖关系并更新锁文件: 这样会在 dist/Directory 中创建源和轮分发。
概述(AI 翻译)
bonk-mcp 服务器为 LetsBonk 启动板实现了 Solana 区块链功能。
特色
- 代币启动:在 letsbonk.fun 上启动任意代币
- 代币交易:在 letsbonk.fun 上买卖任何代币
配置
可以通过添加到MCP服务器配置中,在Claude Desktop中配置bonk-mcp服务器。你需要提供:
- 通往 bonk-mcp 目录的路径
- 环境变量:
KEYPAIR:你的Solana密钥对RPC_URL:Solana RPC 端点(例如,https://api.mainnet-beta.solana.com)
快速开始
安装
克劳德桌面
在MacOS上:~/Library/Application\ Support/Claude/claude_desktop_config.json
Windows版:%APPDATA%/Claude/claude_desktop_config.json
开发/未发布服务器配置
已发布服务器配置
发展
建设与出版
准备分发套餐:
-
同步依赖关系并更新锁文件:
-
构建包发行版:
这将在 dist/ 目录中创建源分发和轮分发。
- 发布到 PyPI:
注意:你需要通过环境变量或命令标志设置 PyPI 凭证:
- 令牌:
--token或UV_PUBLISH_TOKEN
本页由 AI 翻译,技术细节请以原文为准。
README
bonk-mcp MCP server
The bonk-mcp server implements Solana blockchain functionality for the LetsBonk launchpad.
Features
- Token launching: launch any token on letsbonk.fun
- Token trading: buy/sell any token on letsbonk.fun
Configuration
The bonk-mcp server can be configured in Claude Desktop by adding it to the MCP servers configuration. You’ll need to provide:
- Path to the bonk-mcp directory
- Environment variables:
KEYPAIR: Your Solana keypairRPC_URL: Solana RPC endpoint (e.g., https://api.mainnet-beta.solana.com)
Quickstart
Install
Claude Desktop
On MacOS: ~/Library/Application\ Support/Claude/claude_desktop_config.json
On Windows: %APPDATA%/Claude/claude_desktop_config.json
Development
Building and Publishing
To prepare the package for distribution:
- Sync dependencies and update lockfile:
uv sync
- Build package distributions:
uv build
This will create source and wheel distributions in the dist/ directory.
- Publish to PyPI:
uv publish
Note: You’ll need to set PyPI credentials via environment variables or command flags:
- Token:
--tokenorUV_PUBLISH_TOKEN - Or username/password:
--username/UV_PUBLISH_USERNAMEand--password/UV_PUBLISH_PASSWORD
Debugging
Since MCP servers run over stdio, debugging can be challenging. For the best debugging experience, we strongly recommend using the MCP Inspector.
You can launch the MCP Inspector via npm with this command:
npx @modelcontextprotocol/inspector uv --directory /bonk-mcp run bonk-mcp
Upon launching, the Inspector will display a URL that you can access in your browser to begin debugging.
Core contributor:
安装
uvx bonk-mcp配置
"mcpServers": {
"bonk-mcp": {
"command": "uv",
"args": [
"--directory",
"<PATH_TO_BONK_MCP_DIRECTORY>/bonk-mcp",
"run",
"bonk-mcp"
],
"env": {
"KEYPAIR": "<YOUR_SOLANA_KEYPAIR>",
"RPC_URL": "https://api.mainnet-beta.solana.com"
}
}
}