Koskamo

xsolana MCP

An MCP server for the xsolana toolkit that allows AI agents to design, check, simulate, price, and review Solana game economies like loot boxes, shops, and lotteries via a JSON spec without writing smart contracts.

Endpoint and access

No sign-in to connect and list tools. Individual tools may still need a vendor account, credentials, or permissions; check the documented prerequisites.

xsolana MCP logo, by XGamesFunCommunity listingStreamable HTTPNo sign-inEndpoint checked 2026-11-23Published by XGamesFun
You need:Install: - Claude Code: `/plugin marketplace add XGamesFun/solana-kit`, then `/plugin install xsolana@xgamesfun`Any MCP client: `npx -y --package=@xgamesfun/solana@0.28.5 xsolana mcp`
MCP endpoint (Streamable HTTP)
https://xgames.fun/mcp
Vendor documentation

What its tools do

11 tools, grouped by the hints the server advertises. Hints are self-declared, not verified behavior.

11 of 11 have a description · 11 of 11 declare behavior hints · 10 of 10 with parameters document them all

Checks and signals

Each line is separate evidence, not a trust score.

  • Passed Endpoint answered the live check ·
  • Uptime 100% over 90 days
  • Availability 3 of 3 checks passed in 30 days

What you can do with it

  • Design Solana game economies like loot boxes and shops
  • Check and simulate economy mechanics and costs
  • Review economic models for potential exploits
  • Generate JSON specs for on-chain game logic

Source and maintenance

Community listingRegistry 0.28.17
Maintenance checked

Protocol and capabilities

Server
xsolana 0.29.10
MCP protocol negotiated in check
2025-11-25
Tools
11 advertised
Resources
Not advertised
Resource templates
Not advertised
Prompts
Not advertised
Server-advertised capabilities
{
  "tools": {}
}

Server-provided instructions

Untrusted server output shown for inspection. It is not Koskamo guidance and is excluded from knowledge search.

loot is one shared Solana program for game and community economies (shops, loot boxes, lotteries, auctions, staking, crafting, contests, schedules, holder perks, capped rewards). An economy is a JSON spec, not a new smart contract: never write Anchor or Rust for what loot covers, since unaudited code holding people’s money is the risk loot removes. Order: xsolana_guide is a short index, so fetch the part you need from it; xsolana_examples with the person’s own words; write the spec. Challenge before you build: name the simplest version, what it gives up and what the asked-for one costs, and recommend one. xsolana_check after every change, and on one draft before you describe how value moves. xsolana_design when the person’s wants pull against each other: the choice is theirs, so put it and end your turn before saving even a draft spec. Quote xsolana_simulate, xsolana_cost and xsolana_explain for every number. xsolana_review before going live. xsolana_token reads a coin made elsewhere; xsolana_client gives an app the program and its calls; xsolana_status reads what is live. Using what the tools return: tell the person every warning xsolana_check gives, quote its counts of approvals, and before describing how value moves (a burn, a free token, a swap, a refund, a payment held or not) check one draft with that mechanism once and read what it says. Quote the numbers of xsolana_simulate, xsolana_cost and xsolana_explain, never your own arithmetic; from xsolana_explain, tell the essentials in a few lines. When xsolana_examples finds part of an ask impossible, call it again with that part’s words: the answer is a nearest version to offer, not a dead end. From xsolana_review, fix every high finding, declare "trust" honestly on every voucher grant, and tell the person in plain words which level each signed route uses and what a cheater gets, so they choose the trade-off. From xsolana_design, read the requirements back to the person, put the choice to them with your pick, then build the one they choose and run xsolana_check on it. Use xsolana_token rather than asking the person to look a mint up, and xsolana_client rather than writing chain code from memory. This hosted server reads no files: write the spec and pass it whole as "spec" to every tool. To go live, the spec goes in a file named xsolana.json on the person’s own computer and is signed there by a key file. In that folder: npx -y @xgamesfun/solana@0.29.10 keygen ~/.config/xsolana/<name>.json makes the key file (it prints the address, never the key; the person sends that address SOL: devnet SOL for an economy on devnet, real SOL for one whose file says "network": "mainnet"), then npx -y @xgamesfun/solana@0.29.10 approve xsolana.json --keypair <that file> prints everything that would be sent and sends nothing. When the person has read that and said yes, the same command with --yes <the code it printed> sends it. Run them yourself if you have a terminal there; otherwise hand them to the person. Never ask for, read or print a key. Say once what the key file is: the project’s owner for good (whoever can read it controls the project; they back it up themselves; nothing restores a lost one) and, unless the spec names a treasury, where what the economy earns lands. A change to an economy that is already live is signed by the key that owns it: never make a new key for it. A browser wallet’s signing page (the same approve command with --browser in place of --keypair), which the person runs themselves, only if they ask for one or a browser wallet owns the project. (xsolana_save and xsolana_publish, which tool texts may name, run only in the local server.) loot 0.29.0 runs on devnet (program xgamesVsZBpCVgJuatfYAFJRmQoccfQf5qtUFNp2Eet) and on mainnet (program xgames8C758PyweWB9sDw8evvwsTVwyA2fGRUeAXVPy). An economy is on devnet, where nothing is real money, unless its file says "network": "mainnet", where everything is. Build and try an economy on devnet first. loot has not been independently audited.

Tools

11 advertised

xsolana_guide — What an economy can be made of
Advertised by the server during the last successful anonymous check.
Advertised read-only

What an economy on loot can be made of: shops, loot boxes and packs, gacha, lotteries and raffles, auctions (the highest bid wins, the outbid refunded at once), staking and farms, crafting and merging, seasons and emissions, contests players back a side in, quests and airdrops, holder-gated drops, and NFTs of other collections used in a game. loot is one shared Solana program (on devnet, and on mainnet when the spec says "network": "mainnet"; not independently audited): an economy is a JSON spec, not a new smart contract. With no `part`, returns a short index of every part and topic. With a part, returns its fields from the schema, who acts at play time and its nested shapes; with a topic (writing, cheating, asks, cannot), how to write a spec, designing against bots, asks that look impossible, or what loot cannot do and the nearest versions it can.

xsolana_guide input schema
{
  "type": "object",
  "properties": {
    "part": {
      "enum": [
        "tokens",
        "currency",
        "collection",
        "items",
        "pools",
        "stashes",
        "boxes",
        "payments",
        "recipes",
        "schedules",
        "lotteries",
        "farms",
        "contests",
        "auctions",
        "holds",
        "grants",
        "decisions",
        "keys",
        "scenario",
        "writing",
        "cheating",
        "asks",
        "cannot"
      ],
      "type": "string",
      "description": "One part, with its fields and nested shapes, or one topic (writing, cheating, asks, cannot)."
    }
  },
  "additionalProperties": false
}
xsolana_guide annotations
{
  "title": "What an economy can be made of",
  "readOnlyHint": true,
  "openWorldHint": false,
  "idempotentHint": true,
  "destructiveHint": false
}
xsolana_examples — Find a worked economy to start from
Advertised by the server during the last successful anonymous check.
Advertised read-only

Worked economies to start from. With `query` (a request in its own words), returns the closest worked examples (whole specs that check and go live in the tests), the closest of 112 real or trending economies rated against loot (great / some / a-lot / cannot, with what carries each or what is missing), and what loot can’t do exactly in the request, each with the nearest versions it can. With `name`, returns that example’s whole spec. With neither, lists every example.

xsolana_examples input schema
{
  "type": "object",
  "properties": {
    "fit": {
      "enum": [
        "great",
        "some",
        "a-lot",
        "cannot"
      ],
      "type": "string",
      "description": "Only ideas with this fit."
    },
    "name": {
      "type": "string",
      "description": "An example’s name, to get its whole spec."
    },
    "limit": {
      "type": "integer",
      "maximum": 50,
      "minimum": 1,
      "description": "How many of each kind (default 6)."
    },
    "query": {
      "type": "string",
      "description": "What the person wants, in a few words."
    }
  },
  "additionalProperties": false
}
xsolana_examples annotations
{
  "title": "Find a worked economy to start from",
  "readOnlyHint": true,
  "openWorldHint": false,
  "idempotentHint": true,
  "destructiveHint": false
}
xsolana_check — Check an economy spec
Advertised by the server during the last successful anonymous check.
Advertised read-only

Checks an economy spec. Returns its refusals, each with a code, what it means and its fix, which keep a spec from going live; and its warnings, what the person behind the economy needs to know: chance that pays money, revenue paid to stakers, an unfunded prize, a grant without limits, a mint’s powers, a time far off (with its date in words), a token a player can hold a payment up in, a box longer than one answer of the oracle’s holds. The program refuses only what it must, so much of what a project sets up is accepted with a warning. Also returns how many wallet approvals each action takes. Takes the spec inline (`spec`) or a worked example by name.

xsolana_check input schema
{
  "type": "object",
  "properties": {
    "spec": {
      "type": "object",
      "description": "An economy spec (version 2) given inline. Takes precedence over file and example."
    },
    "example": {
      "type": "string",
      "description": "A worked example by name (stud-farm, nft-raffle, …)."
    }
  },
  "additionalProperties": false
}
xsolana_check annotations
{
  "title": "Check an economy spec",
  "readOnlyHint": true,
  "openWorldHint": false,
  "idempotentHint": true,
  "destructiveHint": false
}
xsolana_simulate — Simulate where the money goes
Advertised by the server during the last successful anonymous check.
Advertised read-only

The quick simulation: expected values from the spec, computed at once. Returns what each box, ticket and craft gives back against its price, what the game keeps, each pool’s money in and out per day and whether it runs dry, settles or grows, farm rewards per unit staked, and what players, the treasury and the platform get each day, at the fees of the economy’s own network; a box’s chances with its odds rules at their most, what a box that gives nothing for a miss misses as its outcomes run out, what a ticket weighs in a lottery weighed by time, and what places get from a pool that starts short. `scenario` overrides the spec’s own ({"perDay": {"box:flip": 1000}, "days": 30, "staked": {"<farm>": 1000}}).

xsolana_simulate input schema
{
  "type": "object",
  "properties": {
    "json": {
      "type": "boolean",
      "description": "Also return every row."
    },
    "spec": {
      "type": "object",
      "description": "An economy spec (version 2) given inline. Takes precedence over file and example."
    },
    "example": {
      "type": "string",
      "description": "A worked example by name (stud-farm, nft-raffle, …)."
    },
    "scenario": {
      "type": "object",
      "description": "What to assume in place of the spec’s scenario."
    }
  },
  "additionalProperties": false
}
xsolana_simulate annotations
{
  "title": "Simulate where the money goes",
  "readOnlyHint": true,
  "openWorldHint": false,
  "idempotentHint": true,
  "destructiveHint": false
}
xsolana_cost — Price going live and each action
Advertised by the server during the last successful anonymous check.
Advertised read-only

What going live costs (each account’s rent, the program’s fees, network fees, the seeds, the transactions it takes) and what each action costs whoever signs it while it runs, at the fees of the economy’s own network. It prices only: nothing is sent.

xsolana_cost input schema
{
  "type": "object",
  "properties": {
    "spec": {
      "type": "object",
      "description": "An economy spec (version 2) given inline. Takes precedence over file and example."
    },
    "example": {
      "type": "string",
      "description": "A worked example by name (stud-farm, nft-raffle, …)."
    }
  },
  "additionalProperties": false
}
xsolana_cost annotations
{
  "title": "Price going live and each action",
  "readOnlyHint": true,
  "openWorldHint": false,
  "idempotentHint": true,
  "destructiveHint": false
}
xsolana_explain — Explain an economy in plain words
Advertised by the server during the last successful anonymous check.
Advertised read-only

The economy in plain words: what players do and what it costs and is worth, how the pools fill and drain, what runs by itself, what the authority must sign, what going live costs, and what is flagged for the law.

xsolana_explain input schema
{
  "type": "object",
  "properties": {
    "spec": {
      "type": "object",
      "description": "An economy spec (version 2) given inline. Takes precedence over file and example."
    },
    "example": {
      "type": "string",
      "description": "A worked example by name (stud-farm, nft-raffle, …)."
    }
  },
  "additionalProperties": false
}
xsolana_explain annotations
{
  "title": "Explain an economy in plain words",
  "readOnlyHint": true,
  "openWorldHint": false,
  "idempotentHint": true,
  "destructiveHint": false
}
xsolana_review — Review an economy as a cheater would
Advertised by the server during the last successful anonymous check.
Advertised read-only

Reviews an economy the way a cheater reads it, before it goes live (a review, not a validity check). For every route that pays or gives value it says who can trigger it, what the program enforces, what it trusts off the chain, and the most one cheater gets; then findings with stable ids and a severity; then, for each grant paid on vouchers, whether its server decides, replays or only bounds the result (its "trust"), what a cheater gets at that level, and what the next level costs to build. Takes the spec inline (`spec`) or a worked example by name. Answers { ok (false when a finding is high, or the spec does not check: then `refusals`), routes: [{ kind ("grant", "farm", "item", "box", "payment", "recipe", "lottery", "contest", "auction", "schedule", "hold", "decision"), key, name, trigger, enforced: [words], trusts: [words], trust ("decides" | "replays" | "bounds" | null), ceiling (words), feeds: ["farm:<key>", …: what its prize is staked in, crafted into or buys] }], findings: [{ id (R-…), severity ("high" | "medium" | "low" | "info"), route ("grant:<key>", "farm:<key>", … or "economy"), message, fix }] }; the trade-offs are in its text.

xsolana_review input schema
{
  "type": "object",
  "properties": {
    "spec": {
      "type": "object",
      "description": "An economy spec (version 2) given inline. Takes precedence over file and example."
    },
    "example": {
      "type": "string",
      "description": "A worked example by name (stud-farm, nft-raffle, …)."
    }
  },
  "additionalProperties": false
}
xsolana_review annotations
{
  "title": "Review an economy as a cheater would",
  "readOnlyHint": true,
  "openWorldHint": false,
  "idempotentHint": true,
  "destructiveHint": false
}
xsolana_design — From what a person wants to the specs that do it
Advertised by the server during the last successful anonymous check.
Advertised read-only

From what a person wants to the specs that do it, when no single part does it all or the wants pull against each other. Each want is a requirement naming its route (the key of the lottery, item, grant, farm or contest it is about; its family follows from that): a draw ("pay-in" {currencies: [{token, amount}]}, "burn", "refund-as-paid", "free-entry" {grant, perPerson, spendable}, "one-approval", "one-draw", "one-token", "first-reward-no-sol"); a sale of an item ("pay-in", "fixed-price", "instant", "fair-scarce" {perPerson, list}, "one-approval"); a reward, a grant ("per-person" {claims}, "no-server", "bot-proof", "bounded" {total}, "first-reward-no-sol"; a server’s voucher keys as "serverKeys" on any of them); staking, a farm ("emission-cap" {total}, "predictable", "no-lock", "whale-fair"; "perDay" and "days" on any of them); a contest ("no-owner-trust", "equal-stakes" {amount}, "refund-if-no-result"; decider keys as "serverKeys"). Takes the spec as it stands, with each route’s skeleton. For each route it builds every combination of known bridges (an entry token each currency buys, crafted in the purchase; a payment held to the draw; a fixed-price listing in each currency; an allowlist; a deciding voucher server; a fixed or shared rate, minted or from a vault, with an end or a halving; a decider key), checks each, tests every requirement on it, and answers the designs best first (what the person asked for, then how it plays, then how clean, then how secure), with what each keeps (✓), keeps in part (~) and gives up (✗), a sentence for the person and what each needs from them; when none keeps them all, what has to give. Each design’s spec is in `designs`.

xsolana_design input schema
{
  "type": "object",
  "required": [
    "requirements"
  ],
  "properties": {
    "top": {
      "type": "integer",
      "maximum": 10,
      "minimum": 1,
      "description": "How many designs to answer (3 by default)."
    },
    "spec": {
      "type": "object",
      "description": "An economy spec (version 2) given inline. Takes precedence over file and example."
    },
    "example": {
      "type": "string",
      "description": "A worked example by name (stud-farm, nft-raffle, …)."
    },
    "requirements": {
      "type": "array",
      "items": {
        "type": "object",
        "required": [
          "kind"
        ],
        "properties": {
          "kind": {
            "enum": [
              "pay-in",
              "burn",
              "refund-as-paid",
              "free-entry",
              "one-approval",
              "one-token",
              "first-reward-no-sol",
              "one-draw",
              "fixed-price",
              "instant",
              "fair-scarce",
              "per-person",
              "no-server",
              "bot-proof",
              "bounded",
              "emission-cap",
              "predictable",
              "no-lock",
              "whale-fair",
              "no-owner-trust",
              "equal-stakes",
              "refund-if-no-result"
            ]
          }
        }
      },
      "minItems": 1,
      "description": "What the person wants, each a requirement the tools can test."
    }
  },
  "additionalProperties": false
}
xsolana_design annotations
{
  "title": "From what a person wants to the specs that do it",
  "readOnlyHint": true,
  "openWorldHint": false,
  "idempotentHint": true,
  "destructiveHint": false
}
xsolana_status — Read a live economy from the chain
Advertised by the server during the last successful anonymous check.
Advertised read-onlyOpen-world

A live economy as it is on chain: the project, every pool’s balance, every record the spec names (found or missing). Reads the economy’s own network.

xsolana_status input schema
{
  "type": "object",
  "properties": {
    "spec": {
      "type": "object",
      "description": "An economy spec (version 2) given inline. Takes precedence over file and example."
    }
  },
  "additionalProperties": false
}
xsolana_status annotations
{
  "title": "Read a live economy from the chain",
  "readOnlyHint": true,
  "openWorldHint": true,
  "idempotentHint": true,
  "destructiveHint": false
}
xsolana_token — Read a token made elsewhere
Advertised by the server during the last successful anonymous check.
Advertised read-onlyOpen-world

A token made elsewhere, as the chain has it: given its mint’s address, returns its ready `tokens` entry (`source: "existing"`) with its name, ticker, decimals and token program, and `powers`: what the mint’s own keys can do (mint more, freeze, a transfer fee, a transfer hook, a permanent delegate, a pause…), in words too. Reads devnet: the mint and its name record only, not the link the record names.

xsolana_token input schema
{
  "type": "object",
  "required": [
    "mint"
  ],
  "properties": {
    "key": {
      "type": "string",
      "pattern": "^[a-z][a-z0-9-]{0,31}$",
      "description": "What the spec will call it (default: its ticker, in the letters a key takes)."
    },
    "mint": {
      "type": "string",
      "description": "The token’s mint address."
    },
    "project": {
      "type": "string",
      "description": "The loot project’s address, when the token is one the project is to mint on a mint of its own: its mint authority then reads as the project’s, or as not handed over yet."
    }
  },
  "additionalProperties": false
}
xsolana_token annotations
{
  "title": "Read a token made elsewhere",
  "readOnlyHint": true,
  "openWorldHint": true,
  "idempotentHint": true,
  "destructiveHint": false
}
xsolana_client — The program and its calls, for an app
Advertised by the server during the last successful anonymous check.
Advertised read-only

How an app (a game, a site, a bot) uses a live economy: the program’s address and cluster, the npm package and IDL, and the calls a page makes with the player’s own wallet (open a box, buy, stake, craft, enter, claim).

xsolana_client input schema
{
  "type": "object",
  "properties": {},
  "additionalProperties": false
}
xsolana_client annotations
{
  "title": "The program and its calls, for an app",
  "readOnlyHint": true,
  "openWorldHint": false,
  "idempotentHint": true,
  "destructiveHint": false
}

Prompts

Not advertised

No prompt definitions available.

Resources

Not advertised

No resource definitions available.

90-day uptime

A lightweight connection check about every six hours, sampled on hosts with many listings. It shows the server answered, not that its tools work.

100% (38 of 38 checks answered)

  1. 2026-11-14: 1 of 1 checks answered
  2. 2026-11-15: 2 of 2 checks answered
  3. 2026-11-16: 4 of 4 checks answered
  4. 2026-11-17: 5 of 5 checks answered
  5. 2026-11-18: 5 of 5 checks answered
  6. 2026-11-19: 4 of 4 checks answered
  7. 2026-11-20: 3 of 3 checks answered
  8. 2026-11-21: 4 of 4 checks answered
  9. 2026-11-22: 4 of 4 checks answered
  10. 2026-11-23: 3 of 3 checks answered
  11. 2026-11-24: 3 of 3 checks answered

30-day availability

Aggregated from read-only remote checks; this is not a tool-execution or security guarantee.

Successful checks
3 of 3 (100%)
Average latency
1084 ms
95th percentile latency
1522 ms

Maintenance history

Public check and source-refresh events. Editorial and ownership records remain private.

  • · probe · passed · 1223 ms · metadata changed · 11 tool(s)
  • · probe · passed · 1555 ms · 10 tool(s)
  • · probe · passed · 475 ms · metadata changed · 10 tool(s)

Connect from your client

Each snippet registers the same endpoint; pick the client you use.

This server is operated by the named third party. Listing and endpoint checks are not an endorsement or a security audit. Review the operator's permissions, terms, and data handling before connecting. How listings are checked and corrected.

Claude Code

Run this once in a terminal. It registers the remote server. Use --scope project to write .mcp.json for the repo.
Claude Code configuration
claude mcp add --transport http xsolana-mcp-xgames https://xgames.fun/mcp

Codex

Run this once. Codex stores MCP servers in ~/.codex/config.toml (or .codex/config.toml in a trusted project).
Codex configuration
codex mcp add xsolana-mcp-xgames --url https://xgames.fun/mcp

Cursor

Merge this server into .cursor/mcp.json in your project, then enable xsolana-mcp-xgames in your MCP settings.
Cursor configuration
{
  "mcpServers": {
    "xsolana-mcp-xgames": {
      "url": "https://xgames.fun/mcp"
    }
  }
}

Cline

Merge this into cline_mcp_settings.json (Cline → MCP Servers → Configure).
Cline configuration
{
  "mcpServers": {
    "xsolana-mcp-xgames": {
      "type": "streamableHttp",
      "url": "https://xgames.fun/mcp",
      "disabled": false
    }
  }
}

VS Code

Merge this server into .vscode/mcp.json. Use MCP: List Servers to start xsolana-mcp-xgames and inspect its tools.
VS Code configuration
{
  "servers": {
    "xsolana-mcp-xgames": {
      "type": "http",
      "url": "https://xgames.fun/mcp"
    }
  }
}

Gemini CLI

Run this once. It writes .gemini/settings.json in the current project; pass --scope user for ~/.gemini/settings.json.
Gemini CLI configuration
gemini mcp add --transport http xsolana-mcp-xgames https://xgames.fun/mcp

Claude Desktop

Open Claude Settings > Connectors > Add custom connector, enter this server URL and enable it for the conversation. This is a manual remote-connector handoff, not a desktop JSON configuration.
Claude Desktop configuration
https://xgames.fun/mcp

Windsurf

Merge this into ~/.codeium/windsurf/mcp_config.json, then refresh MCP in Cascade. Windsurf remote servers use serverUrl, not url.
Windsurf configuration
{
  "mcpServers": {
    "xsolana-mcp-xgames": {
      "serverUrl": "https://xgames.fun/mcp"
    }
  }
}

Let your agent find its tools

Find servers like xsolana MCP from your agent. Add Koskamo once to search the index for endpoints, access requirements, and client setup. Public discovery needs no key.