PostMCP
БесплатноНе проверенAn MCP server for managing AI-generated social news posts in Firebase Firestore, enabling CRUD operations on posts with categories and tags.
Описание
An MCP server for managing AI-generated social news posts in Firebase Firestore, enabling CRUD operations on posts with categories and tags.
README
An MCP (Model Context Protocol) server for managing AI-generated social news
posts in Firebase Firestore (AiPosts collection).
Quick Start
# Install dependencies
python3 -m venv .venv && .venv/bin/pip install -e ".[dev]"
# Configure environment
cp .env.example .env
# Edit .env with your Firebase project details
# Run the server
python -m postmcp
.envis optional. If you only launch PostMCP through an MCP client (Claude Desktop, Hermes Agent), pass the env vars in the client config instead..envis only needed when runningpython -m postmcpdirectly in the terminal (e.g., for testing).
Configuration
| Variable | Description |
|---|---|
FIREBASE_CLIENT_EMAIL |
Firebase service account email |
FIREBASE_PRIVATE_KEY |
Firebase service account private key |
FIREBASE_PROJECT_ID |
Firebase project ID |
POSTS_COLLECTION |
Firestore collection name (default: AiPosts) |
LOG_LEVEL |
Logging level (default: INFO) |
Connect from Claude Desktop
Add to your claude_desktop_config.json (see examples/claude_desktop_config.json):
{
"mcpServers": {
"postmcp": {
"command": "/ABSOLUTE/PATH/TO/PostMCP/.venv/bin/python",
"args": ["-m", "postmcp"],
"env": {
"FIREBASE_CLIENT_EMAIL": "[email protected]",
"FIREBASE_PRIVATE_KEY": "-----BEGIN PRIVATE KEY-----\n...\n-----END PRIVATE KEY-----",
"FIREBASE_PROJECT_ID": "your-project-id"
}
}
}
}
Connect from Hermes Agent
Add to your ~/.hermes/config.yaml (see examples/hermes_config.yaml):
mcp_servers:
postmcp:
command: "/ABSOLUTE/PATH/TO/PostMCP/.venv/bin/python"
args: ["-m", "postmcp"]
env:
FIREBASE_CLIENT_EMAIL: "your-service-account@..."
FIREBASE_PRIVATE_KEY: "-----BEGIN PRIVATE KEY-----\n..."
FIREBASE_PROJECT_ID: "your-project-id"
Tools
create_post_tool— Create a new post with title, content, description, slug, images, categories, tagsget_post_tool— Get a post by IDlist_posts_tool— List posts filtered by category or tagupdate_post_tool— Update any field on a postdelete_post_tool— Delete a post by ID
Firestore Document Schema
AiPosts/{doc_id}
├── title: string
├── content: string (HTML)
├── description: string
├── slug: string
├── main_img: string (URL)
├── main_img_path: string (storage path)
├── category_ids: string[]
├── tags: string[]
├── views30: number
├── published: boolean
└── created_at: string (ISO 8601)
See AGENTS.md for full tool documentation for AI agents using this server.
See CLAUDE.md for development conventions.
Project Structure
src/postmcp/
├── server.py Entry point and MCP registration
├── config.py Configuration from env vars
├── types.py Pydantic models
├── tools/ MCP tool implementations
├── resources/ MCP resource providers
├── prompts/ MCP prompt templates
├── services/ Business logic layer
└── utils/ Logging, errors
Установка PostMCP
У этого сервера нет опубликованного пакета — он собирается из исходников. Открой репозиторий и следуй инструкции в README.
▸ github.com/vaxosv/FirabasePostMCPFAQ
PostMCP MCP бесплатный?
Да, PostMCP MCP бесплатный — установка в пару кликов через Unyly без оплаты.
Нужен ли API-ключ для PostMCP?
Нет, PostMCP работает без API-ключей и переменных окружения.
PostMCP — hosted или self-hosted?
Доступен hosted-вариант: Unyly запускает сервер в облаке, локальная установка не обязательна.
Как установить PostMCP в Claude Desktop, Claude Code или Cursor?
Открой PostMCP на unyly.org, выбери вкладку своего клиента (Claude Desktop, Claude Code, Cursor) и нажми Install — конфиг сгенерируется автоматически, без правки JSON.
Похожие MCP
Fetch
Web content fetching and conversion for efficient LLM usage.
AWS KB Retrieval
Retrieval from AWS Knowledge Base using Bedrock Agent Runtime.
автор: modelcontextprotocolSpring AI MCP Server
Provides auto-configuration for setting up an MCP server in Spring Boot applications.
llm-analysis-assistant
A very streamlined mcp client that supports calling and monitoring stdio/sse/streamableHttp, and can also view request responses through the /logs page. It also
автор: xuzexin-hzCompare PostMCP with
Не уверен что выбрать?
Найди свой стек за 60 секунд
Автор?
Embed-бейдж для README
Похожее
Все в категории ai
