# Prem AI MCP Server

Integrate seamlessly with Prem AI's powerful features for chat completions and document management. Enhance your AI assistants with Retrieval-Augmented Generation capabilities and real-time streaming…

## Quick Start

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

# Browse available tools
npx -y @smithery/cli@latest tool list ucalyptus/prem-mcp-server

# Get full schema for a tool
npx -y @smithery/cli@latest tool get ucalyptus/prem-mcp-server chat

# Call a tool
npx -y @smithery/cli@latest tool call ucalyptus/prem-mcp-server chat '{}'
```

## Tools (3)

- `chat` — Chat with Prem AI - supports chat completions with optional RAG capabilities.
- `prem_upload_document` — Upload a document to a Prem AI repository
- `prem_chat_with_template` — Chat using a predefined Prem AI prompt template

```bash
# Get full input/output schema for a tool
npx -y @smithery/cli@latest tool get ucalyptus/prem-mcp-server <tool-name>
```

---

Source: https://github.com/ucalyptus/prem-mcp-server
