Skip to main content
Glama

LinkedIn Content Creation MCP Server

by chrishayuk
hook.pyβ€’956 B
# src/chuk_mcp_linkedin/posts/components/content/hook.py """ Opening hook component for LinkedIn posts. Use for question, stat, story, controversy, list, or curiosity hooks. """ from typing import Any, Optional from ..base import PostComponent class Hook(PostComponent): """Opening hook component""" def __init__(self, hook_type: str, content: str, theme: Optional[Any] = None): self.hook_type = hook_type self.content = content self.theme = theme def render(self, theme: Optional[Any] = None) -> str: theme = theme or self.theme # Apply theme-specific emphasis if needed rendered = self.content if theme and theme.controversy_level in ["bold", "provocative"]: if self.hook_type == "controversy": rendered = f"🚨 {rendered}" return rendered def validate(self) -> bool: return len(self.content) > 0 and len(self.content) <= 200

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