Logo van LinkedIn帖子生成器

LinkedIn帖子生成器

Community
NvkAnirudh

A Model Context Protocol (MCP) server that automates generating LinkedIn post drafts from YouTube videos. This server provides high-quality, editable content drafts based on YouTube video transcripts.

UitgeverNvkAnirudh
RepositoryLinkedIn-Post-Generator
TaalJavaScript
Forks
9
Sterren
21
Beschikbare tools
0
Transporttypestdio
Categorieën
LicentieMIT
Links
  • Koppel tools aan AI-workflows

    LinkedIn帖子生成器 biedt MCP-functionaliteit die compatibele AI-clients en agenten kunnen gebruiken.

  • 0 beschikbare tools

    Bekijk hieronder de aanroepbare acties, inclusief namen en beschrijvingen als de server die beschikbaar stelt.

  • Configuratie om direct te kopiëren

    Gebruik de installatievoorbeelden om deze server in je favoriete MCP-client te configureren.

  • Indicatoren van opensource-interesse

    21 sterren en 9 forks in de gekoppelde repository.

MseeP.ai Security Assessment Badge

Verified on MseeP

LinkedIn Post Generator

smithery badge

A Model Context Protocol (MCP) server that automates generating professional LinkedIn post drafts from YouTube videos. This tool streamlines content repurposing by extracting transcripts from YouTube videos, summarizing the content, and generating engaging LinkedIn posts tailored to your preferences.

Table of Contents

Features

  • YouTube Transcript Extraction: Automatically extract transcripts from any YouTube video
  • Content Summarization: Generate concise summaries with customizable tone and target audience
  • LinkedIn Post Generation: Create professional LinkedIn posts with customizable style and tone
  • All-in-One Workflow: Go from YouTube URL to LinkedIn post in a single operation
  • Customization Options: Adjust tone, audience, word count, and more to match your personal brand
  • MCP Integration: Works seamlessly with AI assistants that support the Model Context Protocol

Installation

Local Development

  1. Clone the repository:

    bash
    git clone https://github.com/NvkAnirudh/LinkedIn-Post-Generator.git
    cd LinkedIn-Post-Generator
  2. Install dependencies:

    bash
    npm install
  3. Create a .env file based on the example:

    bash
    cp .env.example .env
  4. Add your API keys to the .env file:

    OPENAI_API_KEY=your_openai_api_key
    YOUTUBE_API_KEY=your_youtube_api_key
  5. Run the server:

    bash
    npm run dev
  6. Test with MCP Inspector:

    bash
    npm run inspect

Using with Claude Desktop

This MCP server is designed to work with Claude Desktop and other AI assistants that support the Model Context Protocol. To use it with Claude Desktop:

  1. Configure Claude Desktop by editing the configuration file at ~/Library/Application Support/Claude/claude_desktop_config.json (Mac) or %APPDATA%\Claude\claude_desktop_config.json (Windows):

    json
    {
      "mcpServers": {
        "linkedin-post-generator": {
          "command": "npx",
          "args": [
            "-y",
            "@smithery/cli@latest",
            "run",
            "@NvkAnirudh/linkedin-post-generator",
            "--key",
            "YOUR_SMITHERY_API_KEY",
            "--config",
            "{\"OPENAI_API_KEY\":\"YOUR_OPENAI_API_KEY\",\"YOUTUBE_API_KEY\":\"YOUR_YOUTUBE_API_KEY\"}",
            "--transport",
            "stdio"
          ]
        }
      }
    }

    Replace:

    • YOUR_SMITHERY_API_KEY with your Smithery API key
    • YOUR_OPENAI_API_KEY with your OpenAI API key
    • YOUR_YOUTUBE_API_KEY with your YouTube API key (optional)
  2. Restart Claude Desktop

  3. In Claude Desktop, you can now access the LinkedIn Post Generator tools without needing to set API keys again

Configuration

The application requires API keys to function properly:

  1. OpenAI API Key (required): Used for content summarization and post generation
  2. YouTube API Key (optional): Enhances YouTube metadata retrieval

You can provide these keys in three ways:

1. Via Claude Desktop Configuration (Recommended)

When using with Claude Desktop and Smithery, the best approach is to include your API keys in the Claude Desktop configuration file as shown in the Using with Claude Desktop section. This way, the keys are automatically passed to the MCP server, and you don't need to set them again.

2. As Environment Variables

When running locally, you can set API keys as environment variables in a .env file:

OPENAI_API_KEY=your_openai_api_key
YOUTUBE_API_KEY=your_youtube_api_key

3. Using the Set API Keys Tool

If you haven't provided API keys through the configuration or environment variables, you can set them directly through the MCP interface using the set_api_keys tool.

Usage

Available Tools

Set API Keys

  • Tool: set_api_keys
  • Purpose: Configure your API keys
  • Parameters:
    • openaiApiKey: Your OpenAI API key (required)
    • youtubeApiKey: Your YouTube API key (optional)

Check API Keys

  • Tool: check_api_keys
  • Purpose: Verify your API key configuration status

Extract Transcript

  • Tool: extract_transcript
  • Purpose: Get the transcript from a YouTube video
  • Parameters:
    • youtubeUrl: URL of the YouTube video

Summarize Transcript

  • Tool: summarize_transcript
  • Purpose: Create a concise summary of the video content
  • Parameters:
    • transcript: The video transcript text
    • tone: Educational, inspirational, professional, or conversational
    • audience: General, technical, business, or academic
    • wordCount: Approximate word count for the summary (100-300)

Generate LinkedIn Post

  • Tool: generate_linkedin_post
  • Purpose: Create a LinkedIn post from a summary
  • Parameters:
    • summary: Summary of the video content
    • videoTitle: Title of the YouTube video
    • speakerName: Name of the speaker (optional)
    • hashtags: Relevant hashtags (optional)
    • tone: First-person, third-person, or thought-leader
    • includeCallToAction: Whether to include a call to action

All-in-One: YouTube to LinkedIn Post

  • Tool: youtube_to_linkedin_post
  • Purpose: Complete workflow from YouTube URL to LinkedIn post
  • Parameters:
    • youtubeUrl: YouTube video URL
    • tone: Desired tone for the post
    • Plus additional customization options

Workflow Example

  1. Set your API keys using the set_api_keys tool
  2. Use the youtube_to_linkedin_post tool with a YouTube URL
  3. Receive a complete LinkedIn post draft ready to publish

Deployment

This server is deployed on Smithery, a platform for hosting and sharing MCP servers. The deployment configuration is defined in the smithery.yaml file.

To deploy your own instance:

  1. Create an account on Smithery
  2. Install the Smithery CLI:
    bash
    npm install -g @smithery/cli
  3. Deploy the server:
    bash
    smithery deploy

Contributing

Contributions are welcome and appreciated! Here's how you can contribute to the LinkedIn Post Generator:

Reporting Issues

  • Use the GitHub issue tracker to report bugs or suggest features
  • Please provide detailed information about the issue, including steps to reproduce, expected behavior, and actual behavior
  • Include your environment details (OS, Node.js version, etc.) when reporting bugs

Pull Requests

  1. Fork the repository
  2. Create a new branch (git checkout -b feature/your-feature-name)
  3. Make your changes
  4. Run tests to ensure your changes don't break existing functionality
  5. Commit your changes (git commit -m 'Add some feature')
  6. Push to the branch (git push origin feature/your-feature-name)
  7. Open a Pull Request

Development Guidelines

  • Follow the existing code style and conventions
  • Write clear, commented code
  • Include tests for new features
  • Update documentation to reflect your changes

Feature Suggestions

If you have ideas for new features or improvements:

  1. Check existing issues to see if your suggestion has already been proposed
  2. If not, open a new issue with the label 'enhancement'
  3. Clearly describe the feature and its potential benefits

Documentation

Improvements to documentation are always welcome:

  • Fix typos or clarify existing documentation
  • Add examples or use cases
  • Improve the structure or organization of the documentation

By contributing to this project, you agree that your contributions will be licensed under the project's MIT License.

License

MIT

Installatie

TypingMind
{
  "mcpServers": {
    "linkedin-post-generator": {
      "command": "npx",
      "args": [
        "-y",
        "@smithery/cli@latest",
        "run",
        "@NvkAnirudh/linkedin-post-generator",
        "--key",
        "{{config.SMITHERY_API_KEY}}",
        "--config",
        "{\"OPENAI_API_KEY\":\"{{config.OPENAI_API_KEY}}\",\"YOUTUBE_API_KEY\":\"{{config.YOUTUBE_API_KEY}}\"}",
        "--transport",
        "stdio"
      ],
      "env": {
        "SMITHERY_API_KEY": "<SMITHERY_API_KEY>",
        "OPENAI_API_KEY": "<OPENAI_API_KEY>"
      }
    }
  }
}

Gebruik LinkedIn帖子生成器 MCP met meerdere AI-modellen

TypingMind koppelt MCP-tools aan de werkruimte. Zodra LinkedIn帖子生成器 is verbonden, kun je deze dus met verschillende AI-modellen in TypingMind gebruiken, zonder de verbinding voor elk model apart in te stellen. Deze MCP-integratie draait lokaal via de TypingMind MCP-connector op je apparaat.

Installatiehandleiding voor de lokale connector

Gebruik dit als de MCP-server toegang nodig heeft tot lokale bestanden, apps of privébronnen op je computer.

1

Open de MCP-instellingen

Ga in TypingMind naar Instellingen, Geavanceerde instellingen en vervolgens Model Context Protocol. Kies daar Connector instellen.

  1. Open TypingMind in je browser.
  2. Klik op het pictogram Instellingen.
  3. Ga naar Geavanceerde instellingen.
  4. Open het gedeelte Model Context Protocol.
  5. Klik op Connector instellen en kies Dit apparaat.
Instelscherm voor de TypingMind MCP-connector met Dit apparaat geselecteerd
2

Voer de connectoropdracht uit

Kies Dit apparaat, kopieer de opdracht uit TypingMind en voer deze uit in Terminal. Laat het proces draaien zolang je MCP gebruikt.

  1. Kopieer de installatieopdracht die TypingMind toont.
  2. Open Terminal op macOS of Windows Terminal op Windows.
  3. Plak de opdracht en voer deze uit.
  4. Keur de pakketinstallatie goed als Terminal vraagt of je wilt doorgaan.
  5. Laat het proces in het Terminal-venster draaien zolang je MCP-tools gebruikt.
3

Voeg LinkedIn帖子生成器 toe als server

Klik op Servers bewerken zodra de connectorstatus Gereed is en plak de MCP-serverconfiguratie.

  1. Wacht tot de connectorstatus Gereed aangeeft.
  2. Klik op Servers bewerken.
  3. Plak de MCP-serverconfiguratie van LinkedIn帖子生成器.
  4. Sla de serverlijst op.
  5. Vernieuw om te controleren of de connector nog steeds klaar is voor gebruik.
MCP-instellingen van TypingMind met een actieve server en de knop Servers bewerken
{
  "mcpServers": {
    "linkedin-post-generator": {
      "command": "npx",
      "args": [
        "-y",
        "yt-to-linkedin-mcp"
      ]
    }
  }
}
4

Gebruik de verbinding met verschillende modellen

Sla de serverlijst op, open Plug-ins en schakel de MCP-tools van LinkedIn帖子生成器 in. Selecteer vervolgens een ondersteund AI-model in TypingMind en gebruik de tools in de chat of wijs ze toe aan een AI-agent.

  1. Open de pagina Plug-ins in TypingMind.
  2. Schakel de MCP-tools van LinkedIn帖子生成器 in.
  3. Start een chat en kies het AI-model dat je wilt gebruiken.
  4. Gebruik de MCP-tools in een chat of wijs ze toe aan een AI-agent.
  5. Schakel wanneer nodig over naar een ander AI-model zonder opnieuw verbinding te maken met MCP.
TypingMind-chat met ingeschakelde MCP-tools en een geselecteerd AI-model
Kun je LinkedIn帖子生成器 gebruiken om me hiermee te helpen?
LinkedIn帖子生成器
Zeker. Ik heb het gelezen.
Dit vond ik met LinkedIn帖子生成器.

Veelgestelde vragen

Waarvoor wordt de MCP-server LinkedIn帖子生成器 gebruikt?

LinkedIn帖子生成器 is een MCP-server waarmee compatibele AI-clients verbinding kunnen maken met externe tools en context. In TypingMind hoef je deze MCP-server maar één keer toe te voegen om de tools beschikbaar te maken in je AI-werkruimte.

Kan ik LinkedIn帖子生成器 MCP met meerdere AI-modellen in TypingMind gebruiken?

Ja. TypingMind verbindt MCP-tools op werkruimteniveau. Daardoor kun je LinkedIn帖子生成器 gebruiken met verschillende AI-modellen, zoals Claude, ChatGPT, Gemini of andere modellen die je in TypingMind hebt ingesteld, zonder de MCP-server voor elk model afzonderlijk in te stellen.

Waarom LinkedIn帖子生成器 MCP gebruiken met TypingMind?

TypingMind is een van de beste interfaces voor chats met LLM's, omdat het meerdere AI-modellen, prompts, plug-ins, AI-agenten, API-sleutels en MCP-tools samenbrengt in één werkruimte. Als LinkedIn帖子生成器 verbonden is, kun je de MCP-tools ervan gebruiken met je favoriete modellen en je chatworkflow overzichtelijk houden in TypingMind.

Hoe verbind ik LinkedIn帖子生成器 MCP met TypingMind?

LinkedIn帖子生成器 werkt via de lokale MCP-connector van TypingMind. Dit is de beste optie als de MCP-server toegang nodig heeft tot lokale bestanden, desktopapps, opdrachtregeltools of privébronnen op je computer.

Welke tools biedt LinkedIn帖子生成器 MCP in TypingMind?

LinkedIn帖子生成器 biedt MCP-functies die je kunt inschakelen via de pagina Plug-ins in TypingMind. Je kunt ze gebruiken in chats of toewijzen aan AI-agenten.

Moet ik mijn API-sleutels delen met TypingMind om LinkedIn帖子生成器 MCP te gebruiken?

Nee. TypingMind werkt in de eerste plaats lokaal en laat je de controle houden over je modelaanbieders, API-sleutels, prompts en MCP-configuratie. Als LinkedIn帖子生成器 authenticatie vereist, voeg je bij het maken van de verbinding de vereiste headers, OAuth-instellingen of lokale configuratie voor die MCP-server toe.

Maak nu je eigen AI-werkruimte

Schrijf je in voor onze nieuwsbrief en blijf op de hoogte van nieuwe functies en toekomstige weggeefacties 👇