mcell-mcp-server
OfficialSupports uploading local files to S3-compatible object storage such as MinIO, with configurable bucket, object key, region, endpoint, path-style access, content type, and metadata.
Sends task-completion notifications to WeCom (WeChat Work) webhook targets, alongside system notifications and custom webhooks, with aggregated per-target results and timeout controls.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@mcell-mcp-server search the blog for recent MCP server posts"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
mcell-mcp-server
mcell-mcp-server 是一个基于 stdio 的 MCP Server,定位为 mcell 常用工具合集。当前内置:
内容工具(博客):最新、列表、读取、搜索
图片处理:压缩(可选 resize)、格式转换
S3 对象存储上传
任务完成通知:系统通知 + webhook(飞书/企微/自定义)
代码结构
src/tools/*.ts: 每个工具文件包含工具定义(schema/description)和工具实现(handler)。src/index.ts: 创建 MCP server、集中注册工具并作为 stdio 入口。
Related MCP server: Astro Blog MCP Server
工具列表
1) content_latest
读取最新博客列表(按时间倒序)。
count(1-20, optional, default: 1): 返回条数
2) content_list
博客分页列表(按时间倒序)。
count(1-100, optional, default: 20): 每页条数offset(0-10000, optional, default: 0): 偏移量
3) content_read
读取某篇博客正文(仅 blog)。
id(string, optional): 博客 IDslug(string, optional): 博客 slugmax_chars(200-50000, optional, default: 12000): 最大正文字符数
约束:id 和 slug 至少传一个;如果都传,优先 id。
4) content_search
搜索博客(title / slug / description)。
query(string, required): 搜索词count(1-30, optional, default: 10): 最大返回数量
5) image_compress
压缩图片,可选调整尺寸。
input_path(string, required): 源图片路径output_path(string, optional): 输出路径quality(1-100, optional, default: 80): 压缩质量format(jpeg|png|webp|avif|tiff|heif|gif, optional): 输出格式width/height(int, optional): resize 尺寸fit(cover|contain|fill|inside|outside, optional): resize 策略
6) image_convert
图片格式转换。
input_path(string, required): 源图片路径output_format(jpeg|png|webp|avif|tiff|heif|gif, required): 目标格式output_path(string, optional): 输出路径quality(1-100, optional, default: 85): 编码质量
7) s3_upload
上传本地文件到 S3 或兼容 S3 的对象存储。
file_path(string, required): 本地文件路径bucket(string, required): 桶名key(string, required): 对象 keyregion(string, optional): 默认AWS_REGION或us-east-1endpoint(url, optional): S3 兼容存储 endpoint(如 MinIO/R2)force_path_style(boolean, optional): 是否使用 path-stylecontent_type(string, optional): 显式 Content-Typemetadata(record<string,string>, optional): 对象元数据
8) notify_task_complete
在任务结束时发送通知,可同时发系统通知和多个 webhook 目标。
task_name(string, required): 任务名status(success|failed|cancelled, optional, default:success): 任务状态summary(string, optional): 任务摘要duration_sec(number >= 0, optional): 耗时(秒)target(string[], optional, default:["system"]): 通知目标,如["system", "feishu", "wecom"]webhook_payloads(record<string, unknown>, optional): webhook 的按目标 payload 覆盖webhook_timeout_ms(positive int, optional): webhook 超时(毫秒)
返回特性:
采用
Promise.allSettled聚合所有目标结果只要有一个目标失败,工具返回
isError=true即使失败,也会返回完整逐目标结果数组
本地开发
npm install
npm run lint
npm run format:check
npm run check
npm test
npm run build
npm startnpm start 后服务监听 stdio,供 MCP Client 拉起。
说明:
npm run build会使用esbuild直接产出单一 bundle:dist/index.js(已压缩)。npm run ci会执行lint + format:check + check + coverage + build,与 CI 保持一致。
用户安装与运行(推荐)
发布 npm 后,用户可直接:
npx -y @mcell/mcell-mcp-serverMCP 集成示例
不同 agent 的配置文件格式不同,但核心都是配置 command + args。
Codex(TOML 示例)
[mcp_servers.mcell]
command = "npx"
args = ["-y", "@mcell/mcell-mcp-server"]
[mcp_servers.mcell.env]
AWS_REGION = "us-east-1"
MCELL_NOTIFY_WEBHOOK_FEISHU = "https://open.feishu.cn/open-apis/bot/v2/hook/xxx"
MCELL_NOTIFY_WEBHOOK_WECOM = "https://qyapi.weixin.qq.com/cgi-bin/webhook/send?key=xxx"Claude 系(JSON 片段示例)
{
"mcpServers": {
"mcell": {
"command": "npx",
"args": ["-y", "@mcell/mcell-mcp-server"],
"env": {
"AWS_REGION": "us-east-1"
}
}
}
}memo code / 其他 agent
填写同样的进程启动参数即可:
command:npxargs:["-y", "@mcell/mcell-mcp-server"]
S3 凭证
使用 AWS SDK 默认凭证链,建议通过环境变量注入:
AWS_ACCESS_KEY_IDAWS_SECRET_ACCESS_KEYAWS_SESSION_TOKEN(可选)AWS_REGION(可选)
内容数据源配置(博客)
内容工具采用“远端优先 + 本地缓存兜底”,并且只处理 blog 类型条目。
MCELL_CONTENT_INDEX_URL默认:
https://stack.mcell.top/mcp/index.json
MCELL_CONTENT_CACHE_DIR默认:
~/.cache/mcell-mcp/content
MCELL_CONTENT_CACHE_TTL_SECONDS默认:
1800
MCELL_CONTENT_REQUEST_TIMEOUT_SECONDS默认:
20
通知配置(系统通知 + webhook)
MCELL_NOTIFY_WEBHOOK_<ALIAS>webhook 地址配置,
<ALIAS>不区分大小写示例:
MCELL_NOTIFY_WEBHOOK_FEISHU、MCELL_NOTIFY_WEBHOOK_WECOM内置别名:
feishu、wecom;wechat会自动映射到wecom
MCELL_NOTIFY_WEBHOOK_TIMEOUT_MS默认:
10000webhook 请求超时(毫秒)
调用示例:
{
"name": "notify_task_complete",
"arguments": {
"task_name": "Long analysis",
"status": "success",
"summary": "report generated",
"duration_sec": 132,
"target": ["system", "feishu", "wecom"]
}
}发布建议
手动发布
更新
package.json的version确认
bin指向dist/index.jsnpm run cinpm publish --access public --provenance
自动发布(GitHub Actions)
仓库包含两个 workflow:
.github/workflows/ci.ymlpush/pull_request触发运行
npm ci、npm run check、npm run test:coverage、npm run build
.github/workflows/publish.ymlmain分支package.json变化时触发只有当
version与上一个 commit 不同时才会发布若 npm 上已存在该版本则跳过发布
需要在 GitHub 仓库 Secrets 中配置:
NPM_TOKEN: npm publish token
发布后用户端基本只需 npx -y @mcell/mcell-mcp-server 即可接入。
Available Tools
8 toolscontent_latestLatest blog entriesCIdempotent
Read latest blog entries.
Inputs: count.
content_listList blog entriesCIdempotent
List blog entries with pagination.
Inputs: count, offset.
content_readRead one blog articleBIdempotent
Read one blog article by id or slug.
Inputs: id, slug, max_chars.
content_searchSearch blog entriesAIdempotent
Search blog entries by title, slug, and description.
Inputs: query (required), count.
image_compressCompress imageCIdempotent
Compress an image file and optionally resize it.
Inputs: input_path (required), fit, width, format, +3 more.
image_convertConvert image formatCIdempotent
Convert an image to a target format.
Inputs: input_path (required), output_format (required), quality, output_path.
notify_task_completeSend task completion notificationC
Send task completion notifications to system and configured webhook targets.
Inputs: task_name (required), status, target, summary, +3 more.
s3_uploadUpload file to S3C
Upload a local file to S3 or S3-compatible object storage.
Inputs: key (required), bucket (required), file_path (required), region, +4 more.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 8 tools
Most tools target clearly distinct actions: image_compress (resize/compress) vs image_convert (format change), and content_read (single article) vs content_search (query). The only mild overlap is content_latest versus content_list, since 'latest entries' could be perceived as a sorted variant of listing, but pagination wording helps separate them.
Seven of eight tools follow a consistent domain-prefix_verb pattern (image_*, content_*, s3_upload). notify_task_complete breaks the pattern with a verb-first, three-word name, but it is still readable and unambiguous.
Eight tools is well within a reasonable scope, and each maps to a concrete operation across the three small domains (images, blog content, storage/notifications). Nothing feels padded or missing at the count level.
The content side is read-only (list/read/search/latest) with no create or update operations, which may be intentional for a blog reader. The image and storage areas are notably thin: no image metadata/inspection tool and only s3_upload with no download, list, or delete, forcing agents to work around gaps.
Maintenance
Related MCP Connectors
AI-native digital asset management: semantic search, generative image edits, and CDN delivery.
Manage WordPress blogs and WooCommerce shops from Claude, ChatGPT, Cursor and other MCP apps.
Upload, generate, organize, search, and transform images, videos, and files with AI-powered tools.
Upload, generate, organize, search, and transform images, videos, and files with AI-powered tools.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceEnables comprehensive content management through Markdown processing, HTML rendering, intelligent fuzzy search, and document analysis. Supports frontmatter parsing, tag-based filtering, table of contents generation, and directory statistics for efficient content organization and discovery.4MIT
- AlicenseNot gradedqualityDmaintenanceEnables automated blog post creation and management for Astro blogs deployed on Vercel through GitHub integration. Supports secure API-based operations with automatic deployment triggers and integration with automation tools like n8n.MIT
- AlicenseBqualityDmaintenanceEnables comprehensive automation and management of Ghost CMS blogs through AI assistants, supporting full CRUD operations for posts, pages, members, media uploads, and bulk content management with enterprise-grade security and performance features.10195 npm2MIT
- FlicenseNot gradedqualityBmaintenanceEnables automated content creation pipeline: topic research, article writing, image sourcing, and GitHub PR submission for blogs.1,033-