- Home
- MCP servers
- LearnMCP Server
LearnMCP Server
- javascript
0
GitHub Stars
javascript
Language
5 months ago
First Indexed
2 months ago
Catalog Refreshed
Documentation & install
Readme and setup notes from the catalogue, plus a client-ready config you can copy for your MCP host.
Installation
Add the following to your MCP client configuration file.
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.
How to use
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:
-
- Add sources to a project using the LearnMCP client: add_learning_sources with a project_id and a list of URLs.
-
- Start background processing of pending sources using process_learning_sources for the same project.
-
- Monitor progress with get_processing_status for the project.
-
- Retrieve a summarized view of the learning content with get_learning_summary for the project (or a specific source_id).
How to install
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
{
"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).
## Configuration and notes
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.
## Available tools
### add\_learning\_sources
Add learning sources (URLs) to a project for content extraction.
### process\_learning\_sources
Start background processing of pending learning sources.
### list\_learning\_sources
List learning sources for a project, optionally filtered by status.
### get\_learning\_summary
Get learning content summary for a project or a specific source.
### delete\_learning\_sources
Delete learning sources and their summaries.
### get\_processing\_status
Get current processing status for learning sources.