dev-context

ZephyrDeng/dev-context

3.3

If you are the rightful owner of dev-context and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to henry@mcphub.com.

The Frontend News MCP is a production-ready Model Context Protocol server designed to provide real-time aggregation and analysis of frontend development news.

Tools
3
Resources
0
Prompts
0

Frontend News MCP - Real-time Query System

GitHub Issues License: MIT Go Version MCP SDK

A production-ready MCP (Model Context Protocol) server providing real-time frontend development news aggregation and analysis.

Built using Claude Code PM system for spec-driven development with complete GitHub Issues traceability from requirements to production code.

MCP Server Architecture

šŸš€ Features

Core MCP Tools

  • šŸ“° Weekly Frontend News - Curated weekly reports of frontend development news from multiple sources
  • ⭐ Trending Repositories - GitHub trending analysis for frontend technologies and frameworks
  • šŸ” Technical Topic Search - Intelligent search and analysis of specific frontend technologies

Enterprise Architecture

  • šŸ—ļø Multi-layer Caching - High-performance Redis-backed caching with TTL and concurrency safety
  • šŸ“Š Concurrent Data Collection - Multi-source parallel data gathering (RSS/API/HTML)
  • šŸ”„ Smart Data Processing - Intelligent scoring, deduplication, and content formatting
  • 🐳 Production Deployment - Docker containerization with CI/CD and monitoring

šŸ“‹ Table of Contents

šŸ Quick Start

Using Docker (Recommended)

# Clone the repository
git clone https://github.com/ZephyrDeng/dev-context.git
cd dev-context

# Start with Docker Compose
docker-compose up -d

# Check status
docker-compose ps

Local Development

# Navigate to the MCP server code
cd /Users/zephyr/mcp-servers/epic-mvp

# Install dependencies
go mod tidy

# Run locally
make run-dev

# Or build and run
make build
./bin/github.com/ZephyrDeng/dev-context

šŸ›  MCP Tools

1. Weekly Frontend News (weekly_news)

Aggregates and curates frontend development news from multiple sources.

Parameters:

  • startDate - Start date for news collection (optional, defaults to 7 days ago)
  • endDate - End date (optional, defaults to today)
  • category - Filter by technology (react, vue, angular, etc.)
  • minQuality - Minimum quality score (0.0-1.0, default 0.5)
  • maxResults - Maximum results (default 50, max 200)

Example Usage:

{
  "name": "weekly_news",
  "arguments": {
    "category": "react",
    "minQuality": 0.7,
    "maxResults": 30
  }
}

2. Trending Repositories (trending_repos)

Analyzes GitHub trending repositories for frontend technologies.

Parameters:

  • language - Programming language filter (javascript, typescript, etc.)
  • timeRange - Time range (daily, weekly, monthly)
  • minStars - Minimum star count (default 10)
  • maxResults - Maximum results (default 30, max 100)

Example Usage:

{
  "name": "trending_repos",
  "arguments": {
    "language": "typescript",
    "timeRange": "weekly",
    "minStars": 100
  }
}

3. Technical Topic Search (topic_search)

Intelligent search and analysis of specific frontend technologies.

Parameters:

  • topic - Technology or topic to search
  • sources - Comma-separated list of sources
  • depth - Search depth (shallow, moderate, deep)
  • maxResults - Maximum results (default 20, max 100)

Example Usage:

{
  "name": "topic_search",
  "arguments": {
    "topic": "Next.js 15",
    "depth": "moderate",
    "maxResults": 25
  }
}

šŸ— Architecture

System Components

Frontend News MCP Server
ā”œā”€ā”€ 🌐 MCP Protocol Layer (Go SDK v0.4.0)
ā”œā”€ā”€ šŸ› ļø Core Tools
│   ā”œā”€ā”€ weekly_news      # Frontend news aggregation
│   ā”œā”€ā”€ trending_repos   # GitHub trending analysis
│   └── topic_search     # Technical topic search
ā”œā”€ā”€ šŸ“Š Data Processing
│   ā”œā”€ā”€ Multi-source collection (RSS/API/HTML)
│   ā”œā”€ā”€ Content processing & scoring
│   └── Format conversion (JSON/Markdown/Text)
ā”œā”€ā”€ šŸ’¾ Caching Layer
│   ā”œā”€ā”€ Redis backend
│   ā”œā”€ā”€ TTL management
│   └── Concurrency safety
└── šŸš€ Deployment
    ā”œā”€ā”€ Docker containers
    ā”œā”€ā”€ CI/CD pipeline
    └── Monitoring & logs

Data Sources

  • GitHub API - Repository trends and statistics
  • Dev.to API - Developer community articles
  • RSS Feeds - CSS-Tricks, Hacker News, etc.
  • Web Scraping - Additional frontend resources

šŸ’» Development

Prerequisites

  • Go 1.21+
  • Docker & Docker Compose
  • GitHub CLI (for project management)

Build Commands

# Development build
make build-dev

# Production build
make build-prod

# Cross-platform builds
make build-all

# Run tests
make test

# Test coverage
make test-coverage

# Docker build
make docker-build

Testing

The project includes comprehensive testing with >80% coverage:

# Run all tests
make test

# Integration tests
make test-integration

# MCP protocol tests
make test-mcp

# View coverage report
open coverage/coverage.html

šŸš€ Deployment

Production Deployment

# Build production image
make docker-build

# Deploy with monitoring
docker-compose -f docker-compose.prod.yml up -d

# Check health
curl http://localhost:8080/health

Environment Configuration

Key environment variables:

# Server Configuration
MCP_SERVER_HOST=0.0.0.0
MCP_SERVER_PORT=8080

# Cache Configuration  
REDIS_URL=redis://localhost:6379

# API Keys (store securely)
GITHUB_TOKEN=your_github_token
DEV_TO_API_KEY=your_dev_to_key

See for detailed deployment instructions.

šŸ“š API Documentation

  • - Complete MCP tools documentation
  • - Step-by-step setup instructions
  • - Common issues and solutions

šŸ“‹ Project Management

This project was built using the Claude Code PM system for spec-driven development:

Development Workflow

  • āœ… PRD Creation - Comprehensive product requirements
  • āœ… Epic Planning - Technical architecture and approach
  • āœ… Task Decomposition - Granular implementation tasks
  • āœ… GitHub Integration - Full issue tracking and traceability
  • āœ… Parallel Execution - Multiple concurrent development streams

Project Status

  • šŸŽ‰ Epic MVP Completed - 100% (8/8 tasks)
  • āœ… MCP SDK Integration
  • āœ… Multi-source Data Collection
  • āœ… Cache Management System
  • āœ… Core MCP Tools Implementation
  • āœ… Data Processing & Formatting
  • āœ… Complete Test Suite (>80% coverage)
  • āœ… Production Deployment & Documentation

Project Management Commands

# View project status
/pm:status

# Sync with GitHub Issues
/pm:sync

# View all completed work
/pm:epic-show mvp

šŸ¤ Contributing

  1. Fork the repository
  2. Create a feature branch: git checkout -b feature/amazing-feature
  3. Make your changes
  4. Run tests: make test
  5. Commit changes: git commit -m 'Add amazing feature'
  6. Push to branch: git push origin feature/amazing-feature
  7. Open a Pull Request

šŸ“Š Project Metrics

  • Lines of Code: 15,000+
  • Test Coverage: >80%
  • Build Time: <2 minutes
  • Docker Image: <50MB (Alpine-based)
  • Startup Time: <5 seconds

šŸ“ License

This project is licensed under the MIT License - see the file for details.

šŸŽÆ Roadmap

  • Additional data sources integration
  • Advanced filtering and personalization
  • GraphQL API support
  • WebSocket real-time updates
  • Mobile-optimized responses

Built with Claude Code using spec-driven development and GitHub Issues project management.

⭐ Star History

If this project helps you, please consider giving it a star!

Star History Chart