Learning Hour MCP

Learning Hour MCP

An MCP server that generates comprehensive Learning Hour content for Technical Coaches, enabling teams to practice technical excellence through structured deliberate practice sessions.

Category
Visit Server

Tools

generate_session

Generate comprehensive Learning Hour content for Technical Coaches

generate_code_example

Generate detailed before/after code examples for a learning topic

create_miro_board

Create a Miro board from Learning Hour session content

get_miro_auth_url

Generate Miro OAuth authorization URL

test_miro_token

Test if a Miro access token is valid

README

Learning Hour MCP

An MCP server that generates comprehensive Learning Hour content for Technical Coaches, enabling teams to practice technical excellence through structured deliberate practice sessions. Works seamlessly with the Miro MCP for creating interactive boards.

Philosophy

Learning Hours are structured practice sessions where software teams develop technical excellence skills through deliberate practice. Just as athletes and pilots dedicate time to practice their craft, software developers need dedicated time to master fundamental programming practices that stand the test of time.

This MCP server supports the 4C Learning Model (Connect → Concept → Concrete → Conclusion) and focuses on technical practices that enhance agility:

  • Test Driven Development (TDD)
  • Refactoring techniques
  • Clean code principles
  • Evolutionary design
  • Pairing/ensemble programming

Features

  • Generate Session Content: Creates comprehensive Learning Hour materials for any coding topic
  • Generate Code Examples: Produces before/after code examples with explanations
  • Miro Integration: Direct integration with Miro API to create visual Learning Hour boards
  • OAuth Support: Complete OAuth flow for Miro authentication

Tools

generate_session

Generates comprehensive Learning Hour content including objectives, activities, and discussion prompts.

Input:

{
  "topic": "Feature Envy"
}

Output: Structured session data with miroContent section ready for Miro board creation.

generate_code_example

Creates detailed before/after code examples for learning topics.

Input:

{
  "topic": "Feature Envy",
  "language": "javascript"
}

get_miro_auth_url

Generates a Miro OAuth authorization URL for obtaining access tokens.

Input:

{
  "redirectUri": "http://localhost:3000/callback",
  "state": "optional-security-state"
}

test_miro_token

Tests if a Miro access token is valid and working.

Input:

{
  "accessToken": "your_miro_access_token"
}

create_miro_board

Creates a Miro board with Learning Hour content automatically laid out.

Input:

{
  "sessionContent": {}, // Output from generate_session
  "accessToken": "your_miro_access_token"
}

Setup

  1. Install dependencies:
npm install
  1. Configure environment variables:
cp .env.example .env
# Edit .env and add your Anthropic API key
  1. Get your API keys:

    Anthropic API Key:

    • Visit Anthropic Console
    • Create an account or sign in
    • Generate an API key
    • Add it to your .env file:
      ANTHROPIC_API_KEY=your_actual_api_key_here
      

    Miro Integration (Optional):

    • Visit Miro Developers
    • Create a new app to get Client ID and Client Secret
    • Add to your .env file:
      MIRO_CLIENT_ID=your_miro_client_id
      MIRO_CLIENT_SECRET=your_miro_client_secret
      
  2. Build and run:

npm run build && npm start

Testing

Run the integration tests to verify your API connection:

# Run all tests
npm test

# Run only integration tests
npm run test:integration

Note: Integration tests require a valid ANTHROPIC_API_KEY in your .env file and will make real API calls.

Miro Integration Workflow

Getting a Miro Access Token

To use Miro integration, you need a valid access token. Here are two ways:

Option A: Quick Personal Access Token (Easiest)

  1. Go to Miro Developer Portal
  2. Create a developer account
  3. Create a new app
  4. Generate a personal access token
  5. Test it: test_miro_token {"accessToken": "your_token"}

Option B: OAuth Flow (For Production)

  1. Get Authorization URL:
{
  "tool": "get_miro_auth_url",
  "arguments": {
    "redirectUri": "http://localhost:3000/callback"
  }
}
  1. Visit the URL, authorize, and exchange the code for a token

Using Miro Integration

  1. Test Your Token:
{
  "tool": "test_miro_token",
  "arguments": {
    "accessToken": "your_miro_access_token"
  }
}
  1. Generate Learning Session:
{
  "tool": "generate_session",
  "arguments": {
    "topic": "Feature Envy"
  }
}
  1. Create Miro Board:
{
  "tool": "create_miro_board",
  "arguments": {
    "sessionContent": {}, // Use output from step 2
    "accessToken": "your_miro_access_token"
  }
}

Option 2: Manual Miro Integration

You can also use the structured miroContent output from generate_session with other Miro tools or the Miro web interface.

Environment Variables

  • ANTHROPIC_API_KEY: Required - your Anthropic API key for generating Learning Hour content
  • MIRO_CLIENT_ID: Optional - your Miro app client ID for OAuth authentication
  • MIRO_CLIENT_SECRET: Optional - your Miro app client secret for OAuth authentication

Usage Examples

Generate a complete Learning Hour:

{
  "tool": "generate_session",
  "arguments": {
    "topic": "Single Responsibility Principle"
  }
}

Create code examples:

{
  "tool": "generate_code_example", 
  "arguments": {
    "topic": "Feature Envy",
    "language": "python"
  }
}

The output includes structured content perfect for Technical Coaches to run effective Learning Hours with hands-on exercises and group discussions.

Documentation

Learning Outcomes

Teams practicing Learning Hours experience:

  • Frequent deployments with minimal defects
  • Faster development velocity
  • Higher quality software delivery
  • Improved team morale and collaboration
  • Reduced technical debt

"Continuous attention to technical excellence and good design enhances agility" - The 9th principle of the Agile Manifesto

Recommended Servers

playwright-mcp

playwright-mcp

A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.

Official
Featured
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.

Official
Featured
Local
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.

Official
Featured
Local
TypeScript
VeyraX MCP

VeyraX MCP

Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.

Official
Featured
Local
graphlit-mcp-server

graphlit-mcp-server

The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.

Official
Featured
TypeScript
Kagi MCP Server

Kagi MCP Server

An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.

Official
Featured
Python
E2B

E2B

Using MCP to run code via e2b.

Official
Featured
Neon Database

Neon Database

MCP server for interacting with Neon Management API and databases

Official
Featured
Exa Search

Exa Search

A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.

Official
Featured
Qdrant Server

Qdrant Server

This repository is an example of how to create a MCP server for Qdrant, a vector search engine.

Official
Featured