
Ask262
io.github.bendtherules由 GitHub 帳號 bendtherules 發布v0.0.13更新於 Oct 24, 2026
MCP server for understanding Javascript internals from ECMAScript specification.
概覽
Ask262 讓助理檢索 ECMAScript 規格、讀取規格章節,並在 engine262 中執行 JavaScript 以查看執行了哪些規格部分。
- 可以做什麼
- 依語意查詢檢索 ECMAScript 規格,並取得相符章節的完整內容。在 engine262 中執行 JavaScript,擷取所執行的規格章節,並可標記程式碼中的關鍵部分。使用將規格章節對應到實作函式的知識圖譜。程式碼執行受一秒逾時限制。
- 適用情境
- 適合需要理解 JavaScript 語言內部機制、把行為追溯到 ECMAScript 規格原文,或查看某段程式碼在忠於規格的引擎中如何執行時使用。
- 執行需求
- 提供遠端端點,無需本機安裝;README 也說明本機安裝需要 Bun 1.0.0 或更高版本,以及帶 qwen3-embedding:8b 模型的 Ollama,或透過 FIREWORKS_API_KEY 設定的 Fireworks 雲端嵌入方案。
安裝
在 SourceWeft 中
- 開啟 儀表板中的 Ask262,將其新增到工作區。
- 為需要使用其工具的對話啟用該服務。
Web executable,透過 Streamable HTTP。 遠端服務在工作區中設定後即可從網頁執行環境執行。
交給代理程式安裝
把這段提示詞貼上到 Claude Code、Codex、Cursor 等代理程式,或 SourceWeft 對話中。代理程式會讀取該伺服器的安裝指南,先向你展示發布者、端點和登入方式,經你同意後再把它新增到你的客戶端。金鑰不會寫進任何命令。
閱讀 https://sourceweft.com/mcp/io.github.bendtherules%2Fask262/install.md,並按其中說明把這個 MCP 伺服器接入我的客戶端。修改任何設定之前,先告訴我它的發布者、端點和登入方式,等我確認。不要把 API 金鑰寫進命令或我會提交的檔案;問我金鑰應從哪裡取得。其他 MCP 客戶端
把它新增到你客戶端的 mcpServers 設定中。
{
"mcpServers": {
"ask262": {
"type": "http",
"url": "https://ask262.mcp.bendtherules.io/mcp"
}
}
}README
Ask262
MCP server for exploring the ECMAScript specification and its implementation in engine262.
🎮 Try it now
The fastest way to tinker with JavaScript internals:
- Ask262 Chat — Ask questions in natural language (register new account)
- MCP Inspector — Direct access to all mcp tools, no signup needed
npx add-mcp "https://ask262.bendtherules.in/mcp"
Features
- Vector search ECMAScript specification sections using semantic queries
- Execute JavaScript in engine262 and capture spec sections, with
ask262Debug.startImportant()to mark the key parts of your code - Knowledge graph mapping spec sections to implementation functions
- 1-second timeout on code execution for safety
Available Tools
Quick Start (Hosted Instance)
Use the hosted MCP server without any local setup:
Preferred Method: npx add-mcp
Install ask262 MCP server to your client with one command:
Manual Configuration
If you prefer to configure manually:
Claude Desktop (claude_desktop_config.json):
OpenCode (~/.config/opencode/opencode.json):
Local Installation
Prerequisites
- Bun: Version 1.0.0 or higher (install)
- Ollama: Installed with
qwen3-embedding:8b
(ollama pull qwen3-embedding:8b)
Setup
Environment Configuration
Copy .env.example and configure:
Key variables:
ASK262_EMBEDDING_PROVIDER: Chooseollama(local) orfireworks(cloud). Default:ollamaOLLAMA_HOST: Ollama server URL. Default:http://localhost:11434FIREWORKS_API_KEY: Required if using Fireworks. Get from https://app.fireworks.aiASK262_PORT: HTTP server port. Default:8081
Example .env:
Local MCP Configuration
Claude Desktop (claude_desktop_config.json):
stdio (no server needed)
http (requires server)
⬇️ Required for HTTP config above:
OpenCode (~/.config/opencode/opencode.json):
stdio (no server needed)
http (requires server)
⬇️ Required for HTTP config above:
HTTP Server Endpoints:
Note: /mcp is defined before the inspector's catch-all / route to ensure proper request handling.
Testing
Development
For development or using a custom ECMAScript specification:
-
Clone and setup:
-
Ensure spec is present:
./spec-built/multipage/- Built ECMAScript spec HTML files
Steps -
git clone https://github.com/tc39/ecma262npm i && npm run build- copy
out/from ecma262 tospec-built/in this repo
-
Build vectors (lancedb)
-
Release to npm (maintainers only):
This will:
- Check for uncommitted git changes
- Bump patch version (e.g., 0.0.1 → 0.0.2)
- Fix any hard links in
storage/ - Run checks and release
Other options:
bun run release -- --minor,bun run release -- --major, orbun run release -- --no-bump
License
ISC
來源:Readme.md,提交 1715462
工具
0版本歷史
1- v0.0.13最新Sep 16, 2026
評分
已滿足適用檢查項的 40%
該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。
- 近 30 天內可連通必需25 分
請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。
- 已宣告認證方式必需10 分
請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。
- 已列出工具15 分
請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。
- 描述必需15 分
- 圖示10 分
- 文件15 分
- 授權條款10 分
請在儲存庫或註冊中心條目中宣告授權條款。