@erlcjs/core ships an MCP server with the full erlc.js documentation bundled into the package. Agents can search guides and API pages, read full Markdown pages, and browse the docs without making network requests.
#Requirements
- Node.js 20 or newer
@erlcjs/coreinstalled globally, or available throughnpx
#Commands
erlcjs version
erlcjs mcperlcjs version prints the installed core version. erlcjs mcp starts the MCP server over stdio. The command stays quiet on stdout so the MCP client can use the stream for protocol messages.
#Client configuration
Add the server to any MCP client:
{
"mcpServers": {
"erlcjs": {
"command": "erlcjs",
"args": ["mcp"]
}
}
}If @erlcjs/core is not installed globally, launch it with npx:
{
"mcpServers": {
"erlcjs": {
"command": "npx",
"args": ["-y", "@erlcjs/core", "mcp"]
}
}
}#Tools
search_docsfinds pages by topic, symbol, event, error, or configuration name.get_docreads a page as Markdown. It accepts/docs/...paths, slugs, full URLs, anderlcjs://docs/...URIs.list_docslists every page grouped by section, with an optionaloverview,guides, orapifilter.
#Resources
erlcjs://docsis a JSON index of every page.erlcjs://docs/<slug>is a Markdown page, for exampleerlcjs://docs/guides/getting-started.
#Prompt
The answer-from-docs prompt gives an agent a simple workflow: search the docs, read the relevant pages, then answer with the paths it used.