blog_publisher_mcp_server logo

blog_publisher_mcp_server

by Carrie-L

This MCP server automates the process of publishing blog posts from Obsidian notes to a specified directory and GitHub repository. It handles file copying, image processing, and pushing changes to GitHub upon receiving the 'blog+文章名' command.

View on GitHub

Last updated: N/A

What is blog_publisher_mcp_server?

This is an MCP (Model Context Protocol) server designed to automate the process of publishing blog posts written in Obsidian. It listens for a specific command ('blog+文章名'), then copies the corresponding Markdown file, processes image links, and pushes the changes to a GitHub repository.

How to use blog_publisher_mcp_server?

To use this server, send the command 'blog+文章名'. Ensure the server is running and configured with the correct file paths for your Obsidian notes directory, target blog directory, and image assets directory. The server will then automatically copy the specified Markdown file, update image links, and push the changes to GitHub.

Key features of blog_publisher_mcp_server

  • Triggers on 'blog+文章名' command

  • Copies Markdown files from Obsidian directory

  • Processes image links and copies images to assets folder

  • Updates Markdown file with new image paths

  • Automatically commits and pushes changes to GitHub

Use cases of blog_publisher_mcp_server

  • Automating blog post publishing from Obsidian

  • Simplifying the process of updating a blog with new content

  • Managing image assets for blog posts

  • Integrating Obsidian with a GitHub-based blog workflow

FAQ from blog_publisher_mcp_server

What is the trigger command?

The trigger command is 'blog+文章名'.

Where does the server copy the Markdown files from?

The server copies Markdown files from the specified Obsidian local directory.

Where does the server copy the images to?

The server copies the images to I:\B-MioBlogSites\assets\images.

What happens after the files are copied and images are processed?

The server commits and pushes the changes to GitHub.

What is the default target directory for the blog posts?

The default target directory is I:\B-MioBlogSites_Android.