Pyramid Solver MCP
Pyramid Solver MCP
一个用于 4×4 滑动拼图的交互式求解器。它有两种工作模式:
作为 MCP App 在 ChatGPT 内渲染;
作为服务器根目录下的普通浏览器应用。
该项目使用 React 构建小部件,使用官方 Model Context Protocol SDK 构建服务器,并使用自包含的 Vite 构建,可将其作为 MCP UI 资源返回。
MCP 工具
工具 | 作用 |
| 打开空白交互式求解器。 |
| 逐行求解提供的 16 个方块位置。使用 |
求解器提供快速加权 A* 和最优 IDA* 两种模式。
Related MCP server: playwright-mcp-server
本地运行
要求:Node.js 20 或更高版本。
npm install
npm run build
npm start打开 http://localhost:8787 进入浏览器模式。Streamable HTTP MCP 端点为:
http://localhost:8787/mcp测试
npm test
npm run build
npm run smoke您可以使用以下命令检查 MCP 服务器:
npx @modelcontextprotocol/inspector@latest选择 Streamable HTTP 并连接到 http://localhost:8787/mcp。
部署到公共 URL
最快的路径是点击本 README 顶部的 Deploy to Render 按钮:
登录 Render 并允许其访问此 GitHub 仓库。
保留 Blueprint 设置并选择 Deploy Blueprint。
等待服务变为 Live 状态。
复制生成的 URL,例如
https://pyramid-solver-mcp.onrender.com。检查
<your-url>/health是否返回{"ok":true}。
包含的 render.yaml 构建 Dockerfile,检查 /health,并且仅在 GitHub CI 通过后部署更改。Render 的免费服务在空闲后可能需要更长时间才能响应。
连接到 ChatGPT
ChatGPT 需要公共 HTTPS MCP 端点。部署后:
在 ChatGPT 中,打开 设置 → 安全与登录 → 开发者模式 并启用它。
打开 插件 并选择 + 按钮。
输入名称,例如
Pyramid Solver和简短描述。将端点设置为完整的 Render URL,以
/mcp结尾,例如https://pyramid-solver-mcp.onrender.com/mcp。查看发现的工具并完成添加插件。
如果后续部署后工具定义发生变化,请刷新插件,以便 ChatGPT 加载新的元数据。有关当前界面,请参阅 OpenAI 的 Connect your MCP server to ChatGPT 指南。
连接后,尝试 Open the Pyramid Solver 或提供一张棋盘,例如:
1 2 3 4
5 6 7 8
9 10 11 12
13 14 0 15有用的检查:
Open the Pyramid Solver.Solve this board with A*: 1 2 3 4 / 5 6 7 8 / 9 10 11 12 / 13 14 0 15.Solve this board optimally with IDA*: 1 2 3 4 / 5 6 7 8 / 9 10 11 12 / 13 14 0 15.
Docker
docker build -t pyramid-solver-mcp .
docker run --rm -p 8787:8787 pyramid-solver-mcp项目结构
src/PyramidSolver.jsx React interface
src/solver.js A* and IDA* solver engine
src/mcpBridge.js MCP Apps UI bridge
server.js Streamable HTTP MCP server
test/solver.test.js Solver tests许可证
MIT
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- AlicenseAqualityDmaintenanceEnables AI agents to interactively explore PDDL planning problems by exposing a PDDL engine as MCP tools for initialization, action execution, state inspection, and goal checking.104Apache 2.0
- AlicenseNot gradedqualityDmaintenanceA fully local MCP server for browser automation using Playwright, providing 25 tools for navigation, content extraction, mouse, form, and keyboard interactions.1,251MIT
- FlicenseNot gradedqualityDmaintenanceA browser automation MCP server providing 30 tools for navigation, interaction, page information, state checks, tab management, and more, enabling natural language control of browsers via MCP-compatible clients.
- FlicenseNot gradedqualityBmaintenanceStandalone browser automation MCP server supporting both BrowserOS and standard Chrome. Enables 16 MCP tools for browser control including navigation, interaction, and content extraction.13
Related MCP Connectors
20 MCP tools + 17 widgets for SAT/ISEE/SSAT/GRE/GMAT/LSAT prep. Flashcards, quizzes & games. Hosted.
Educational MCP server with 17 math/stats tools, visualizations, and persistent workspace
Live browser debugging for AI assistants — DOM, console, network via MCP.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/finnestprogrammer111/pyramid-solver-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server