
LetsBonk启动平台
STDIO索拉纳区块链代币发行交易平台
索拉纳区块链代币发行交易平台
The bonk-mcp server implements Solana blockchain functionality for the LetsBonk launchpad.
The bonk-mcp server can be configured in Claude Desktop by adding it to the MCP servers configuration. You'll need to provide:
KEYPAIR
: Your Solana keypairRPC_URL
: Solana RPC endpoint (e.g., https://api.mainnet-beta.solana.com)On MacOS: ~/Library/Application\ Support/Claude/claude_desktop_config.json
On Windows: %APPDATA%/Claude/claude_desktop_config.json
"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" } } }
"mcpServers": { "bonk-mcp": { "command": "uvx", "args": [ "bonk-mcp" ], "env": { "KEYPAIR": "<YOUR_SOLANA_KEYPAIR>", "RPC_URL": "https://api.mainnet-beta.solana.com" } } }
To prepare the package for distribution:
uv sync
uv build
This will create source and wheel distributions in the dist/
directory.
uv publish
Note: You'll need to set PyPI credentials via environment variables or command flags:
--token
or UV_PUBLISH_TOKEN
--username
/UV_PUBLISH_USERNAME
and --password
/UV_PUBLISH_PASSWORD
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 <PATH_TO_BONK_MCP_DIRECTORY>/bonk-mcp run bonk-mcp
Upon launching, the Inspector will display a URL that you can access in your browser to begin debugging.