# src/chuk_mcp_linkedin/posts/components/base.py
"""
Base component class for all LinkedIn post components.
"""
from abc import ABC, abstractmethod
from typing import Any, Optional
class PostComponent(ABC):
"""Base class for all post subcomponents"""
@abstractmethod
def render(self, theme: Optional[Any] = None) -> str:
"""Render component to text"""
pass
@abstractmethod
def validate(self) -> bool:
"""Validate component configuration"""
pass
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/chrishayuk/chuk-mcp-linkedin'
If you have feedback or need assistance with the MCP directory API, please join our Discord server