Standalone MCP server that extracts and summarizes learning content, then provides summaries to Forest for enhanced task generation.
Configuration
View docs{
"mcpServers": {
"bretmeraki-learnmcp": {
"command": "node",
"args": [
"server.js"
],
"env": {
"FOREST_DATA_DIR": "<same as Forest>"
}
}
}
}LearnMCP Server is a standalone MCP server that extracts and summarizes learning content from diverse sources and makes those summaries available to Forest for smarter task generation. It operates independently or alongside Forest, processing YouTube transcripts, PDFs, and web articles to produce concise, relevant summaries you can reuse in your workflows.
You interact with LearnMCP through an MCP client. Add learning sources to a project, trigger background processing, and then retrieve summaries. When Forest is active, processed summaries can optionally be included in Forestβs HTA task prompts to inform generation with contextual learning content.
Basic workflow to leverage LearnMCP within a project:
Prerequisites: ensure Node.js and npm are installed on your system.
Navigate to the LearnMCP server directory you already have in your environment.
# Install dependencies for the LearnMCP server
cd learn-mcp-server
npm install
```
```
# Configure MCP to include LearnMCP as an MCP server
```
```json
{
"mcpServers": {
"learn_mcp": {
"command": "node",
"args": ["server.js"],
"cwd": "learn-mcp-server",
"env": {
"FOREST_DATA_DIR": "<same as Forest>"
}
}
}
}
```
```
# Start behavior
```
The LearnMCP server starts automatically when your MCP config is loaded by the client (no separate start command required in this flow).Environment variables you need to provide or mirror from Forest:
FOREST_DATA_DIR: Shared data directory with Forest (required). Use the same path Forest uses for data storage.
Add learning sources (URLs) to a project for content extraction.
Start background processing of pending learning sources.
List learning sources for a project, optionally filtered by status.
Get learning content summary for a project or a specific source.
Delete learning sources and their summaries.
Get current processing status for learning sources.