# Contratos

Your mifactory API key. Get one at https://mifactory-portal.vercel.app

## Quick Start

```bash
# Connect this server (installs CLI if needed)
npx -y @smithery/cli@latest mcp add mifactory-bot/contratos

# Browse available tools
npx -y @smithery/cli@latest tool list mifactory-bot/contratos

# Get full schema for a tool
npx -y @smithery/cli@latest tool get mifactory-bot/contratos generate_contract

# Call a tool
npx -y @smithery/cli@latest tool call mifactory-bot/contratos generate_contract '{}'
```

## Direct MCP Connection

Endpoint: `https://contratos--mifactory-bot.run.tools`

**Required config:**
- `apikey` (query) — Your mifactory API key. Get one at https://mifactory-portal.vercel.app

## Tools (2)

- `generate_contract` — Generate a freelance contract
- `purchase_contract` — Generate and purchase a contract PDF

```bash
# Get full input/output schema for a tool
npx -y @smithery/cli@latest tool get mifactory-bot/contratos <tool-name>
```
