
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 分
请在仓库或注册中心条目中声明许可证。