Quick Start
Get a Pelagora node running in under 2 minutes.
Prerequisites
- Node.js 18 or later
- npm 9 or later
Install with the CLI installer
The fastest way to get started:
bash
npx pelagora-cli-installerThe installer will:
- Create a project directory
- Install the
pelagorapackage - Generate a starter configuration
- Optionally install the MCP server for AI assistant integration
Or install manually
bash
mkdir my-node && cd my-node
npm init -y
npm install pelagoraCreate a start script:
js
// start.js
const { createApp } = require('pelagora')
const app = createApp({
port: 3737,
enableDht: true,
})
app.listen(3737, () => {
console.log('Pelagora node running at http://localhost:3737')
})bash
node start.jsVerify it's working
Open http://localhost:3737 in your browser to see the web UI.
Or check the API:
bash
curl http://localhost:3737/healthConnect an AI assistant
If you installed the MCP server, add this to your Claude Desktop config (claude_desktop_config.json):
json
{
"mcpServers": {
"pelagora": {
"command": "npx",
"args": ["@pelagora/mcp"]
}
}
}Now you can manage your inventory and search the network through natural language.
Next steps
- Architecture → — How the pieces fit together
- Web UI Guide → — Using the built-in interface
- API Reference → — Full REST API documentation
- MCP Tools → — All available AI assistant commands