Skip to main content
Glama
pedra-ai

Pedra MCP Server

Official

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
PEDRA_API_KEYYesYour Pedra API key from https://app.pedra.ai

Capabilities

Features and capabilities supported by this server

CapabilityDetails
tools
{
  "listChanged": true
}

Tools

Functions exposed to the LLM to take actions

NameDescription
pedra_enhanceA

Enhance a real-estate photo: improve lighting, color, and sharpness. Returns the enhanced image URL.

pedra_enhance_and_correct_perspectiveA

Enhance a photo and correct vertical/horizontal perspective (straighten walls and lines). Returns the corrected image URL.

pedra_empty_roomA

Remove all furniture and objects from a room, leaving an empty space. Returns the emptied image URL.

pedra_furnishB

Virtually stage (furnish) a room with AI-generated furniture. Returns the staged image URL.

pedra_renovationA

Renovate a space (walls, floors, finishes), optionally furnished. Returns the renovated image URL.

pedra_edit_via_promptA

Edit an image from a natural-language instruction (e.g. "paint the walls sage green"). Returns the edited image URL.

pedra_sky_blueA

Replace a dull or overcast sky with a clear blue one. Returns the image URL with the new sky.

pedra_remove_objectA

Remove an object from an image using a mask. Returns the cleaned image URL.

pedra_blurB

Blur objects in an image (e.g. faces, license plates) for privacy. Returns the blurred image URL.

pedra_create_videoA

Create a property video from a list of images. Blocks server-side until the video is rendered (up to ~10 min) and returns the finished video URL inline.

pedra_update_videoA

Edit an existing video (by videoId) without re-rendering unchanged clips — only new/changed photos re-animate and cost credits; reordering, music, voice, branding and text re-stitch for free. Omit images to change only audio/text/branding while keeping the current timeline. Omit music/voice/branding/ending text to leave them unchanged. Blocks until rendered and returns the new video URL.

pedra_generate_voice_scriptA

Write a short voiceover script from property photos (and optional facts). GPT-4o vision reads the images so the script reflects what's actually shown. Returns the script text — pass it to pedra_generate_voice.

pedra_generate_voiceA

Render a voiceover from a script via text-to-speech. Returns an audioId — pass it to pedra_create_video / pedra_update_video as voice.audioId to attach the narration (with synced subtitles).

pedra_music_libraryA

List the background-music catalog: valid music.track values (genre keys) and the voice languages accepted by the voiceover tools. Read-only.

pedra_list_propertiesA

List the user's Pedra properties (id, name, photo count, and an appUrl to open each in Pedra). Use this to find photos already in the account — e.g. to build a video from a listing's photos.

pedra_list_property_imagesA

List a property's photos as img.pedra.ai URLs, ready to pass straight to pedra_create_video or the image-editing tools. Get the propertyId from pedra_list_properties.

pedra_create_propertyA

Create a new Pedra property. Returns its propertyId and an appUrl. To add brand-new local photos (which can't be uploaded through chat), give the user the appUrl to open the property in Pedra and drop their photos in, then use pedra_list_property_images.

pedra_add_images_to_propertyA

Add photos to a property BY URL — the server fetches each URL and stores it, so any public https image URL (or a small data: URI) works. Returns the stored img.pedra.ai URLs. For local files on the user's device, direct them to the property's appUrl instead (chat can't transfer large local files).

pedra_creditsA

Read the account's plan and remaining credits. Never deducts credits.

pedra_feedbackA

Submit thumbs up/down feedback on a generated image, with an optional credit-back on a thumbs-down (subject to the API's eligibility rules).

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/pedra-ai/pedra-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server