marketplace-mcp
Build and deploy MCP servers to FastMCP Cloud marketplace. Use this skill when creating Python MCP servers with FastMCP 2 for deployment to fastmcp.cloud. Provides patterns, examples, and deployment guidance.
Best use case
marketplace-mcp is best used when you need a repeatable AI agent workflow instead of a one-off prompt.
Build and deploy MCP servers to FastMCP Cloud marketplace. Use this skill when creating Python MCP servers with FastMCP 2 for deployment to fastmcp.cloud. Provides patterns, examples, and deployment guidance.
Teams using marketplace-mcp should expect a more consistent output, faster repeated execution, less prompt rewriting.
When to use this skill
- You want a reusable workflow that can be run more than once with consistent structure.
When not to use this skill
- You only need a quick one-off answer and do not need a reusable workflow.
- You cannot install or maintain the underlying files, dependencies, or repository context.
Installation
Claude Code / Cursor / Codex
Manual Installation
- Download SKILL.md from GitHub
- Place it in
.claude/skills/marketplace-mcp/SKILL.mdinside your project - Restart your AI agent — it will auto-discover the skill
How marketplace-mcp Compares
| Feature / Agent | marketplace-mcp | Standard Approach |
|---|---|---|
| Platform Support | Not specified | Limited / Varies |
| Context Awareness | High | Baseline |
| Installation Complexity | Unknown | N/A |
Frequently Asked Questions
What does this skill do?
Build and deploy MCP servers to FastMCP Cloud marketplace. Use this skill when creating Python MCP servers with FastMCP 2 for deployment to fastmcp.cloud. Provides patterns, examples, and deployment guidance.
Where can I find the source code?
You can find the source code on GitHub using the link provided at the top of the page.
SKILL.md Source
# FastMCP Cloud MCP Server Builder
Build production-ready MCP servers with FastMCP 2 and deploy them to fastmcp.cloud.
---
## Quick Start Workflow
### 1. Create Project Structure
```
my-mcp-server/
├── server.py # FastMCP server (single file)
├── pyproject.toml # Dependencies
├── .env # Local secrets (never commit)
├── .gitignore # Exclude .env and venv
└── README.md # Usage documentation
```
### 2. Minimal Server Template
```python
"""MCP Server for [Service Name]."""
import os
from fastmcp import FastMCP
mcp = FastMCP(
"my-service-mcp",
instructions="Description of what this server does and how to use it.",
)
@mcp.tool()
async def my_tool(param: str) -> str:
"""Tool description for LLM discovery."""
return f"Result: {param}"
if __name__ == "__main__":
host = os.getenv("MCP_HOST", "0.0.0.0")
port = int(os.getenv("MCP_PORT", "8000"))
mcp.run(transport="http", host=host, port=port)
```
### 3. Deploy to fastmcp.cloud
1. Push to GitHub (public or private repo)
2. Visit [fastmcp.cloud](https://fastmcp.cloud) and authenticate with GitHub
3. Create project, set entrypoint to `server.py`
4. Server deploys to `https://your-project.fastmcp.app/mcp`
---
## Development Process
### Phase 1: Setup
**Install dependencies with uv:**
```bash
uv venv
uv pip install "fastmcp>=2.0.0,<3" httpx pydantic python-dotenv
```
**Create pyproject.toml:**
```toml
[project]
name = "my-mcp-server"
version = "0.1.0"
description = "MCP server for [service]"
requires-python = ">=3.11"
dependencies = [
"fastmcp>=2.0.0,<3",
"httpx>=0.27.0",
"pydantic>=2.0.0",
]
```
**Create .gitignore:**
```
.env
.venv/
venv/
__pycache__/
*.pyc
```
### Phase 2: Implement Tools
Load the [FastMCP Patterns Guide](./reference/fastmcp_patterns.md) for detailed implementation patterns.
**Key patterns:**
- Use `@mcp.tool()` decorator for all tools
- Use Pydantic models or type hints for validation
- Support both JSON and Markdown response formats
- Implement pagination for list operations
- Use async/await for all I/O operations
### Phase 3: Test Locally
```bash
# Activate virtual environment
source .venv/bin/activate
# Load environment variables
export $(cat .env | xargs)
# Run server locally
python server.py
# Or test with MCP Inspector
fastmcp inspect server.py
```
### Phase 4: Deploy
See [Deployment Guide](./reference/deployment.md) for complete deployment instructions.
---
## Reference Documentation
### FastMCP Patterns
- [FastMCP Patterns Guide](./reference/fastmcp_patterns.md) - Tool registration, Pydantic models, response formats
### Deployment
- [Deployment Guide](./reference/deployment.md) - fastmcp.cloud deployment, secrets, CI/CD
### External Resources
- **FastMCP Documentation MCP Server**: Connect to `https://gofastmcp.com/mcp` for live documentation access
- **FastMCP Docs**: [gofastmcp.com](https://gofastmcp.com)
- **MCP Protocol**: [modelcontextprotocol.io](https://modelcontextprotocol.io)
---
## Example Server
See [example/server.py](./example/server.py) for a complete, deployable MCP server template that demonstrates all best practices.
---
## Tool Naming Convention
Use the pattern `{service}_{action}_{resource}`:
- `github_list_repos`
- `slack_send_message`
- `db_query_users`
**Always include service prefix** to avoid conflicts when multiple MCP servers are used together.
---
## Response Format Pattern
Support both JSON (for programmatic use) and Markdown (for human readability):
```python
from enum import Enum
class ResponseFormat(str, Enum):
MARKDOWN = "markdown"
JSON = "json"
@mcp.tool()
async def list_items(
limit: int = 20,
response_format: str = "json"
) -> str:
items = await fetch_items(limit)
if response_format == "markdown":
lines = ["# Items", ""]
for item in items:
lines.append(f"- **{item['name']}**: {item['description']}")
return "\n".join(lines)
return json.dumps({"count": len(items), "items": items}, indent=2)
```
---
## Error Handling Pattern
```python
def handle_api_error(e: Exception) -> str:
"""Consistent error formatting."""
if isinstance(e, httpx.HTTPStatusError):
status = e.response.status_code
if status == 401:
return "Error: Authentication failed. Check API credentials."
elif status == 404:
return "Error: Resource not found."
elif status == 429:
return "Error: Rate limit exceeded. Wait before retrying."
return f"Error: API request failed with status {status}"
return f"Error: {type(e).__name__}: {e}"
```
---
## Secrets Management
**Local development:**
- Store secrets in `.env` file
- Load with `python-dotenv` or export manually
- Never commit `.env` to git
**fastmcp.cloud:**
- Use project settings to configure environment variables
- Secrets are encrypted and injected at runtime
- Access via `os.environ.get("SECRET_NAME")`
See [Deployment Guide](./reference/deployment.md) for detailed secrets management instructions.Related Skills
plugin-marketplace
Plugin marketplace — add, remove, list, and search skills from GitHub repositories
skill-marketplace
自動從 Skills Marketplace (skillsmp.com) 搜尋、安裝並使用適合當前任務的技能。當面對複雜任務或需要專業工具時自動觸發。
marketplace-liquidity
Help users build and manage marketplace liquidity. Use when someone is working on a marketplace business, struggling with supply/demand balance, trying to improve match rates, or asking how to reach critical mass in a two-sided market.
jetbrains-marketplace-reviews
Fetch and visualize reviews for any JetBrains Marketplace plugin. Use when (1) analyzing plugin review trends, (2) getting review statistics for a time period, (3) visualizing rating distributions, (4) monitoring user feedback. Triggers on requests like "get JetBrains reviews", "copilot plugin feedback", "JetBrains marketplace reviews", "visualize plugin ratings", "analyze JetBrains plugin reviews".
bgo
Automated Blender build-go workflow. Automatically builds, removes old version, installs, enables, and launches Blender with your extension/add-on. Use when you want to quickly test changes, execute complete build-to-launch cycle, or run custom packaging scripts with automatic Blender launch.
maintenance
Cleans up and organizes project files. Use when user mentions '整理', 'cleanup', 'アーカイブ', 'archive', '肥大化', 'Plans.md', 'session-log', or asks to clean up old tasks, archive completed items, or organize files. Do NOT load for: 実装作業, レビュー, 新機能開発, デプロイ.
hello-skill
每次对话开始时,声明"[Skills✏️已加载]"
zylvie-automation
Automate Zylvie tasks via Rube MCP (Composio). Always search tools first for current schemas.
zoominfo-automation
Automate Zoominfo tasks via Rube MCP (Composio). Always search tools first for current schemas.
zoho-invoice-automation
Automate Zoho Invoice tasks via Rube MCP (Composio): invoices, estimates, expenses, clients, and payment tracking. Always search tools first for current schemas.
zoho-inventory-automation
Automate Zoho Inventory tasks via Rube MCP (Composio): items, orders, warehouses, shipments, and stock management. Always search tools first for current schemas.
zoho-bigin-automation
Automate Zoho Bigin tasks via Rube MCP (Composio): pipelines, contacts, companies, products, and small business CRM. Always search tools first for current schemas.