# Prompt2db

## Quick Start

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

# Browse available tools
npx -y @smithery/cli@latest tool list Prompt2db/prompt2db

# Get full schema for a tool
npx -y @smithery/cli@latest tool get Prompt2db/prompt2db list_projects

# Call a tool
npx -y @smithery/cli@latest tool call Prompt2db/prompt2db list_projects '{}'
```

## Direct MCP Connection

Endpoint: `https://prompt2db--prompt2db.run.tools`

## Tools (2)

- `list_projects` — Retrieves a list of all database projects owned by the authenticated user. Use this tool when you need to discover what…
- `get_project` — Retrieves complete details of a specific database project by its unique identifier, including the full schema definitio…

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

## Prompts (3)

- `analyze_schema` (schema_json, database_type, focus_areas) — A prompt template for analyzing database schemas. Use this when you need to guide an AI agent to review a schema for no…
- `build_ui_from_schema` (project_id, target_framework, output_format, focus) — A prompt template for building user interfaces (UI) from database schema. Use this when you need to guide an AI agent t…
- `build_api_from_schema` (project_id, target_framework, output_format, focus) — A prompt template for building REST APIs or backend services from database schema. Use this when you need to guide an A…
