MCP Tools Reference

Complete reference for all 15 tools available in the Strayl MCP Server.

All tools that target a specific project accept a single project parameter in "owner/slug" format — for example "alice/my-app". Use list_projects first if you don't know the project identifier.

Projects

list_projects

List all Strayl projects you are a member of. Returns the project identifier, name, visibility, production URL, your role, and a link to the project in the dashboard.

Inputs: none


get_project

Get details of a specific project.


Changes

list_changes

List change proposals (updates) for a project.

Returns up to 50 most recent changes ordered by creation date.


Databases

list_databases

List all databases for a project.


create_database

Create a new database for a project.


delete_database

Delete a database from a project.


run_database_query

Execute a SQL query against a project database.


get_database_connection

Get the connection string for a project database.


list_regions

List available database regions. No inputs required.


Database Migrations

Migrations use a two-step prepare/apply pattern — the agent reviews the current schema and the SQL before applying any changes.

prepare_database_migration

Prepare a SQL migration. Fetches the current schema for review and returns a migrationId. Auto-detects the development database if databaseId is omitted.

Returns: migrationId, migrationSql, databaseId, and currentSchema.


complete_database_migration

Apply a previously prepared migration.


promote_schema

Promote the database schema from development to production.


Environment Variables

list_env_vars

List environment variables for a project.


update_env_var

Create or update an environment variable.


delete_env_var

Delete an environment variable.

StraylSTRAYL

The place where your code product lives

© 2026 Strayl. All rights reserved.