@lweight/inblog-mcp
v1.0.1
Published
MCP server for the inblog.ai blogging platform API
Maintainers
Readme
@lweight/inblog-mcp
MCP (Model Context Protocol) server for the inblog.ai blogging platform API.
Manage your inblog blog directly from AI tools like Claude Code — list, create, update, publish, and delete posts and tags without leaving your workflow.
Quick Start
Add to your Claude Code MCP configuration:
{
"mcpServers": {
"inblog": {
"command": "npx",
"args": ["-y", "@lweight/inblog-mcp"],
"env": {
"INBLOG_API_KEY": "your-api-key-here"
}
}
}
}Get your API key from: inblog dashboard > Settings > API Keys
Tools (11)
Posts
| Tool | Description |
|------|-------------|
| inblog_list_posts | List posts with filtering (published/drafts), sorting, and pagination |
| inblog_get_post | Get a post by ID with full content and metadata |
| inblog_create_post | Create a new draft post |
| inblog_update_post | Update post fields (title, content, SEO metadata, etc.) |
| inblog_publish_post | Publish a draft post |
| inblog_delete_post | Delete a post permanently |
Tags
| Tool | Description |
|------|-------------|
| inblog_list_tags | List all tags with pagination |
| inblog_create_tag | Create a new tag |
| inblog_assign_tags | Assign tags to a post |
| inblog_delete_tag | Delete a tag permanently |
Blog
| Tool | Description |
|------|-------------|
| inblog_get_blog | Get blog settings (title, domain, GA, etc.) |
Features
- Two output formats:
markdown(human-readable) andjson(structured data) for all read tools - Pagination: Page-based pagination with
has_moreindicator - Error handling: Specific error messages with actionable suggestions for each HTTP status
- Input validation: Zod schemas with strict mode — rejects unknown fields, validates ID formats
- Response truncation: Large responses are automatically truncated with notice (25,000 char limit)
- Tool annotations:
readOnlyHint,destructiveHint,idempotentHintfor safe AI behavior
Configuration
Environment Variable (recommended)
Set INBLOG_API_KEY in your MCP server configuration's env field.
.env File (fallback)
The server also checks for a .env file in the working directory:
INBLOG_API_KEY=your-api-key-hereRequirements
- Node.js >= 18
- inblog.ai account with API access (Team plan or higher)
License
MIT
