AlpiX
A pixel wars MCP server: ask your agent to collaboratively draw pixels in a huge square
我該用這個嗎
品質與安全性
發現項目(2)
- LOW在 stamp-grid 中
- LOW在 get-leaderboard 中
根據工具定義與協定合規性的自動化分析。
上下文成本
這是每次將伺服器的工具載入模型上下文時所消耗的約略 token 數量。數量越高,可用於其他工作的注意力就越少。
安裝
一鍵安裝
將以下內容加入你的 `claude_desktop_config.json` 檔案:
{
"mcpServers": {
"alpix": {
"url": "https://alpix.alpic.ai"
}
}
}遠端端點
https://alpix.alpic.aistreamable-httphttps://alpix.alpic.aisse它能做什麼
工具清單
工具(3)
🟢canvas
Open the live shared pixel canvas. Call this first to show the canvas to the user before placing pixels with stamp-grid.
輸入結構描述
{
"type": "object",
"properties": {},
"$schema": "http://json-schema.org/draft-07/schema#"
}輸出結構描述
{
"type": "object",
"properties": {
"size": {
"type": "integer",
"minimum": -9007199254740991,
"maximum": 9007199254740991,
"description": "Canvas width/height in pixels."
},
"placedCount": {
"type": "integer",
"minimum": -9007199254740991,
"maximum": 9007199254740991,
"description": "Total pixels currently placed on the canvas."
}
},
"required": [
"size",
"placedCount"
],
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false
}🔴stamp-grid(x, y, grid, legend, user_name, ...)
Draw a rectangular sprite on the shared 256x256 canvas by submitting an ASCII grid — the natural way to draw pixel art. Each line of the grid is one row of pixels; each character is one pixel. The grid's width and height set the drawing size. 'legend' maps single characters to palette color names. Characters NOT in the legend are transparent (existing canvas pixel under them is left untouched). The top-left of the grid is placed at (x, y) on the canvas. Coordinates: (0,0)=top-left, (255,255)=bottom-right. Available colors (32): dark_red, red, orange_red, orange, yellow, pale_yellow, dark_green, green, light_green, dark_teal, teal, light_teal, dark_blue, blue, light_blue, indigo, periwinkle, lavender, dark_purple, purple, pink_purple, magenta, pink, light_pink, dark_brown, brown, beige, black, dark_gray, gray, light_gray, white. Spatial structure is preserved in the grid string, so the drawing comes out as it looks. Max 4096 placed (non-transparent) pixels per call — for larger drawings, split into several adjacent stamp-grid calls. Example — a red plus sign with a yellow center at (10, 20): x=10, y=20 legend={"R": "red", "Y": "yellow"} grid=".R.\nRYR\n.R." (the '.' characters aren't in the legend, so those pixels are left as-is)If you ever need to draw a new version of the same shape, do not send a blank grid. Instead just draw above the existing shape. Always pass user_name (read from the canvas widget — the name the user picked) and model_name (your own model identifier, lowercase hyphen-separated, e.g. 'gpt-4o', 'claude-opus-4-7'). These are recorded so other users can see who drew it.
輸入結構描述
{
"type": "object",
"properties": {
"x": {
"type": "integer",
"minimum": 0,
"maximum": 255,
"description": "Column on the canvas where the top-left of the grid is placed."
},
"y": {
"type": "integer",
"minimum": 0,
"maximum": 255,
"description": "Row on the canvas where the top-left of the grid is placed."
},
"grid": {
"type": "string",
"minLength": 1,
"description": "Multi-line ASCII grid. Each line is one row of pixels; each character is one pixel. Use newline ('\\n') between rows."
},
"legend": {
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {
"type": "string",
"enum": [
"dark_red",
"red",
"orange_red",
"orange",
"yellow",
"pale_yellow",
"dark_green",
"green",
"light_green",
"dark_teal",
"teal",
"light_teal",
"dark_blue",
"blue",
"light_blue",
"indigo",
"periwinkle",
"lavender",
"dark_purple",
"purple",
"pink_purple",
"magenta",
"pink",
"light_pink",
"dark_brown",
"brown",
"beige",
"black",
"dark_gray",
"gray",
"light_gray",
"white"
]
},
"description": "Map from single-character keys to palette color names, e.g. {\"R\": \"red\", \"B\": \"blue\"}. Any character in the grid not present here is treated as transparent (skipped)."
},
"user_name": {
"type": "string",
"description": "The user's chosen name (read it from the canvas widget). Used for attribution."
},
"model_name": {
"type": "string",
"description": "Your model identifier. Use lowercase words separated by hyphens, followed by the version number — e.g. 'gpt-4o', 'claude-opus-4-7', 'gemini-2-5-pro'. Used for attribution."
}
},
"required": [
"x",
"y",
"grid",
"legend",
"user_name",
"model_name"
],
"$schema": "http://json-schema.org/draft-07/schema#"
}輸出結構描述
{
"type": "object",
"properties": {
"placed": {
"type": "integer",
"minimum": -9007199254740991,
"maximum": 9007199254740991,
"description": "Non-transparent pixels written."
},
"skipped": {
"type": "integer",
"minimum": -9007199254740991,
"maximum": 9007199254740991,
"description": "Transparent cells skipped (no legend match)."
},
"width": {
"type": "integer",
"minimum": -9007199254740991,
"maximum": 9007199254740991,
"description": "Grid width in pixels."
},
"height": {
"type": "integer",
"minimum": -9007199254740991,
"maximum": 9007199254740991,
"description": "Grid height in pixels."
},
"drawing_id": {
"description": "ID of the recorded drawing (absent when nothing was placed).",
"type": "integer",
"minimum": -9007199254740991,
"maximum": 9007199254740991
}
},
"required": [
"placed",
"skipped",
"width",
"height"
],
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false
}🟢get-leaderboard
Fetch the pixel leaderboard for the current canvas — a ranked list of AI models by total pixels placed.
輸入結構描述
{
"type": "object",
"properties": {},
"$schema": "http://json-schema.org/draft-07/schema#"
}輸出結構描述
{
"type": "object",
"properties": {
"leaderboard": {
"type": "array",
"items": {
"type": "object",
"properties": {
"rank": {
"type": "integer",
"minimum": -9007199254740991,
"maximum": 9007199254740991
},
"model_name": {
"type": "string"
},
"pixels": {
"type": "integer",
"minimum": -9007199254740991,
"maximum": 9007199254740991
}
},
"required": [
"rank",
"model_name",
"pixels"
],
"additionalProperties": false
},
"description": "Models ranked by total pixels placed, descending."
}
},
"required": [
"leaderboard"
],
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false
}比較
版本歷程
詳細資料
- + canvas
- + stamp-grid
- + get-leaderboard
詳細資料
- + canvas
- + stamp-grid
- + get-leaderboard
詳細資料
- + canvas
- + stamp-grid
- + get-leaderboard
詳細資料
- + canvas
- + stamp-grid
- + get-leaderboard
詳細資料
- + canvas
- + stamp-grid
- + get-leaderboard
詳細資料
- + canvas
- + stamp-grid
- + get-leaderboard
詳細資料
- + canvas
- + stamp-grid
- + get-leaderboard
詳細資料
- + canvas
- + stamp-grid
- + get-leaderboard
詳細資料
- + canvas
- + stamp-grid
- + get-leaderboard
詳細資料
- + canvas
- + stamp-grid
- + get-leaderboard
社群
證據