xsolana
MCP server by XGamesFun Community
Designs, checks, simulates and launches Solana game economies such as loot boxes, shops, lotteries and NFT staking. It is for game developers and communities that want no custom smart contract.
Install xsolana
Built from the published package, never by AI.
claude mcp add xsolana -- npx -y @xgamesfun/solanaRun in your terminal. Add --scope user to use it in every project.
{
"mcpServers": {
"xsolana": {
"args": [
"-y",
"@xgamesfun/solana"
],
"command": "npx"
}
}
}Settings, Developer, Edit config. Paste into claude_desktop_config.json and restart.
{
"mcpServers": {
"xsolana": {
"args": [
"-y",
"@xgamesfun/solana"
],
"command": "npx"
}
}
}Add to ~/.cursor/mcp.json (all projects) or .cursor/mcp.json (this project).
{
"servers": {
"xsolana": {
"args": [
"-y",
"@xgamesfun/solana"
],
"command": "npx"
}
}
}Add to .vscode/mcp.json. VS Code uses "servers", not "mcpServers".
codex mcp add xsolana -- npx -y @xgamesfun/solana{
"mcpServers": {
"xsolana": {
"args": [
"-y",
"@xgamesfun/solana"
],
"command": "npx"
}
}
}Add to ~/.gemini/config/mcp_config.json (all projects) or .agents/mcp_config.json (this project).
gemini mcp add xsolana npx -y @xgamesfun/solanaGemini CLI was replaced by Antigravity CLI in June 2026 and remains only for enterprise licences and paid API keys.
MCP servers run with your permissions and can read what you give them access to. Some need an API key: check the README and add it under env in the xsolana block.
About
xsolana lets you describe a game or community economy in a small JSON file and build it on Solana without writing a smart contract. Shops, loot boxes, lotteries, auctions, NFT staking, crafting and rewards all run on loot, one Solana program shared by every project, so there is no Anchor or Rust to write or deploy. The tools check the spec, simulate where the money goes, price the launch and show what a cheater could get.
Going live uses a two-step approve flow. The first run lists every transaction and returns a code without sending anything, and the second run with that code sends exactly what was listed. A project key file on your own computer signs the transactions, and random rolls use MagicBlock's verifiable randomness. The program is not independently audited and economies default to devnet, so the source recommends trying everything there first. It suits developers and communities building game economies on Solana.
Written from the project's README and checked against it.
Tools it gives your assistant
checkRefuses any spec the program would refuse, before anything goes live.simulateShows where the money goes, day by day, for an economy spec.costPrices going live and each player action.explainDescribes the whole economy in plain words.reviewShows what a cheater could get on each route.approveLists every transaction it would send and returns a code, sending nothing until run again with that code.keygenCreates a key file for the project and prints only its address.examplesFinds a worked example close to a described idea.tokenReads an existing coin from the chain into the spec's tokens entry.
What you need
- Node.js 22 or later for the npm package and in-app module
- A project key file created with keygen
- SOL to fund fees and rent when going live
- An AI assistant or MCP client such as Claude Code, Codex, Cursor or Claude Desktop
Try asking
- Make a fishing game where each cast costs 0.02 SOL and a rare golden fish is possible
- Check and simulate my loot box spec xsolana.json and show where the money goes
- Use review to show what a cheater could get from my staking setup
Good to know
- Not independently audited, and the tools are provided as is.
- Economies run on devnet unless the spec says mainnet, where real money is used.
- No program version so far has carried accounts over, so upgrades may mean setting up again.
- The chain cannot see game results, so the project's server must vouch for wins and scores.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: README.md, package.json. This looks for known risky patterns and is not a full audit. How grades work
Alternatives to xsolana
All alternatives →Turns GitHub repositories into architecture diagrams, written explanations, Mermaid source and narrated explainer videos. Built for developers who want to understand a codebase, and for AI agents that need to read one.
Mocks, records, and chaos-tests HTTP(S) dependencies for development and testing. One port serves many protocols, including gRPC, WebSockets, and LLM chat APIs. Built for developers and testers who need stand-in services during tests.
Provides MCP server and CLI tools that let AI coding agents build, test and manage iOS and macOS projects with Xcode and simulators. It is aimed at developers working on Apple platform apps.
Creates editable draw.io diagrams in AI chat from Mermaid, PlantUML, CSV or draw.io XML. Built for people who want diagrams from text prompts that stay editable in draw.io.
Indexes your code, git history, tests and decisions on your machine so AI coding agents can query the index instead of re-reading files. Built for developers who want fewer files opened and clearer answers about change risk and code health.
Gives your AI assistant hosted codebase intelligence for repos indexed on repowise.dev. Use it to ask how code works, what a change may break, and which tests to run.
Compare with GitDiagram, mockserver or XcodeBuildMCP
xsolana: common questions
Can I make a loot box on Solana without writing a smart contract?
Yes. You describe the box with its price and outcomes in a JSON spec, run check and simulate, then approve it with the project key file.
Does xsolana run on mainnet by default?
No. An economy runs on devnet unless its file says "network": "mainnet", where everything uses real money.
Who signs the transactions?
A key file made for the project on your own computer signs each transaction after you have read what will be sent. The source says nothing asks for a seed phrase or a wallet you already have.
How do I install xsolana?
In Claude Code run claude mcp add xsolana -- npx -y @xgamesfun/solana. For Claude Desktop, Cursor and VS Code, paste the config shown above and restart. See the install guides.
Is xsolana the official server?
xsolana is a community project by XGamesFun, not verified by a company domain.
Is xsolana free?
The code is published under the Apache-2.0 licence. The service it connects to may have its own pricing.
Is xsolana safe to use?
It scores 85 of 100. Grades: maintenance A, licence A, quality C. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to xsolana?
Similar MCP servers: GitDiagram, mockserver, XcodeBuildMCP, draw.io.
Does xsolana work with ChatGPT?
Yes. Add its server URL in ChatGPT as a custom connector. See MCP in ChatGPT.
