什么是 Hello?
按姓名生成友好且个性化的问候语,为 onboarding、演示或简短自我介绍增添温度,让互动更亲切自然、易于建立好感。
README
Character Counter MCP Server - Python Quickstart
A simple example of creating an MCP server using FastMCP and Python, designed to work with Smithery.
What This Does
This server provides a character counter tool called count_character that counts how many times a specific character appears in a given text. You'll test it using the Smithery Playground for interactive development.
Prerequisites
- Python 3.12 or higher
- A Python package manager (uv recommended, but pip, poetry, etc. also work)
- Node.js and npx (optional, for Smithery Playground)
Quick Start
-
Clone the repository:
bashgit clone https://github.com/smithery-ai/smithery-cookbook.git cd smithery-cookbook/servers/python/quickstart -
Install dependencies:
With uv (recommended):
bashuv syncWith poetry:
bashpoetry installWith pip:
bashpip install -r requirements.txt -
Run the server:
You have two options:
Option A: Just run the server
bash# With uv uv run smithery dev # or use the shorter script alias: uv run dev # With poetry poetry run smithery dev # or use the shorter script alias: poetry run dev # With pip (after installing dependencies) smithery devThis starts the MCP server on
http://localhost:8081and keeps it running.Option B: Run server + open playground (recommended for testing)
bash# With uv uv run smithery playground # or use the shorter script alias: uv run playground # With poetry poetry run smithery playground # or use the shorter script alias: poetry run playground # With pip (after installing dependencies) smithery playgroundThis starts the MCP server AND automatically opens the Smithery Playground in your browser where you can:
- Interact with your MCP server in real-time
- Test the
count_charactertool with different text and characters - See the complete request/response flow
- Debug and iterate on your MCP tools quickly
Testing the Character Counter
Try asking: "How many r's are in strawberry?"
- Deploy to Smithery:
To deploy your MCP server:
- Push your code to GitHub (make sure to include the
smithery.yaml) - Connect your repository at https://smithery.ai/new
- Push your code to GitHub (make sure to include the
Your server will be available over HTTP and ready to use with any MCP-compatible client!
Stopping the Server
Press Ctrl+C in the terminal to stop the server.
常见问题
Hello 是什么?
按姓名生成友好且个性化的问候语,为 onboarding、演示或简短自我介绍增添温度,让互动更亲切自然、易于建立好感。
相关 Skills
主题工厂
by anthropics
给幻灯片、文档、报告和 HTML 落地页快速套用专业配色与字体主题,内置 10 套预设风格并支持现场生成新主题,适合统一品牌或内容视觉。
✎ 主题工厂能帮你把幻灯片、文档到落地页快速统一视觉风格,内置 10 套主题,还能按需即时生成新主题。
平面设计
by anthropics
先生成视觉哲学,再落地成原创海报、艺术画面或其他静态设计,输出 .png/.pdf,强调构图、色彩与空间表达,适合需要高完成度视觉成品的场景。
✎ 做海报、插画或静态视觉稿时,用它能快速产出兼顾美感与版式的PNG/PDF成品,原创设计更省心,也更适合规避版权风险。
内部沟通
by anthropics
按公司常用模板和语气快速起草内部沟通内容,覆盖 3P 更新、状态报告、领导汇报、项目进展、事故复盘、FAQ 与 newsletter,适合需要统一格式的团队沟通场景。
✎ 按公司偏好的模板快速产出状态汇报、领导更新和 FAQ,既省去反复改稿,也让内部沟通更统一、更专业。
相关 MCP Server
by nirholas
免费的加密新闻聚合 MCP,汇集 Bitcoin、Ethereum、DeFi、Solana 与 altcoins 资讯源。
by ProfessionalWiki
让 Large Language Model 客户端无缝连接任意 MediaWiki 站点,可创建、更新、搜索页面,并通过 OAuth 2.0 安全管理内容。
by transloadit
借助 86+ 个云端 media processing robots,处理视频、音频、图像和文档。