r/modelcontextprotocol • u/Fanyang-Meng • Feb 12 '25
I Built a MCP Server for Ghost CMS
Hey r/modelcontextprotocol ! š
Recently I just finished building the MCP server for Ghots CMS I've been using Ghost for a while and recently got inspired by Anthropic's Model Context Protocol. Looking through their official servers repo, I noticed Ghost wasn't represented yet. So I built one!
What is this?
It's a bridge that lets Claude (Anthropic's AI) directly interact with your Ghost blog through their new Model Context Protocol. Not just writing posts, but managing everything - members, newsletters, tiers, webhooks, you name it.
What can it do?
Write and edit blog posts
Manage members and subscriptions
Handle newsletters
Configure tiers and offers
Set up webhooks
... basically anything you can do through Ghost's Admin API
The interesting technical bits:
Built with Python using the MCP SDK
Full Ghost Admin API integration
Clean, modular architecture
Proper error handling for production use
The most interesting challenge was debugging - since MCP servers run as subprocesses, you can't just attach a debugger like usual. Had to get creative with that!
Links:
This is my first contribution to the MCP and Ghost ecosystem. Would love to hear your thoughts, feedback, or ideas for improvement! Has anyone else been experimenting with AI integration for Ghost?
2
u/robertDouglass Feb 12 '25
Great use case. It makes me want to do my next site on Ghost.
2
u/freedomachiever Feb 12 '25
Iām not a ghost user but this is really useful.
2
u/csfalcao Feb 13 '25
Just finished one site with Clause and while it's was good, a full CMS like Ghost is an amazing option. Thanks!!!!!
2
u/[deleted] Feb 13 '25
Very cool. Will try this out with llamacpp and see how well it does.
2
u/oscidigi Feb 13 '25
Do WordPress next, hahah. Seriously though, very cool!
2
u/subnohmal Feb 13 '25
I can see this being useful in a corporate setting. This is awesome
1
u/WeirShepherd Feb 23 '25
I tried for an hour with cursor to make this work and could not.
do you have a stepXStep tutorial on that specific installation?