Use Your Backend

Build MCP Servers with Avora and reShapr

Turn your deployed Avora API into tools that MCP-compatible clients can discover and call. Choose setup directly in Avora, through the reShapr CLI, or in your own reShapr web interface.

Choose Your Setup

MethodWhere reShapr runsWhat you need
Directly in AvoraAvora's shared serviceWorkspace ownership and an MCP allowance in your plan or invitation
reShapr CLIYour own local or hosted instanceThe CLI, a running control plane, and a gateway
reShapr Web UIYour own local or hosted instanceAccess to its web interface and a running gateway

The CLI and Web UI options work independently of Avora's managed MCP allowance. All three use reShapr's existing interfaces; no reShapr source-code patch is required.

Watch the complete three-video playlist.

Before You Start

Create your API in Avora, open Deploy, and wait for the preview to show Ready. Keep that preview running while you use its MCP tools.

Avora provides two URLs in Share → Use in reShapr:

  • OpenAPI URL: describes the API operations, parameters, and schemas.
  • Backend URL: points to the running API that reShapr calls.

MCP tools use your existing API handlers. They can create, update, or delete data when the API supports those operations. Test with sample data and share access only with clients you trust.

1. Create MCP Directly in Avora

This option uses Avora's shared reShapr service, currently offered as a limited trial. You do not need a separate reShapr account or installation.

Watch this demo on YouTube.

  1. Open your own workspace and select Deploy.
  2. Once the preview is Ready, expand Turn it into MCP.
  3. Keep Require API key checked for a protected endpoint, or uncheck it for a public link.
  4. Select Create MCP and wait for setup to finish.
  5. Copy the MCP URL. For a protected endpoint, also copy the API key.

You can also open the reShapr section in your workspace's Integration tab. Avora imports the supported public API operations, sets the backend endpoint, and publishes the MCP service.

Only the workspace owner can manage this endpoint or view its key. Availability depends on the workspace owner's plan or invitation allowance. A public endpoint lets anyone with its URL call the exposed tools, including write operations.

2. Create MCP with the reShapr CLI

Use this option when you want to manage the MCP service in your own reShapr instance from a terminal. Your Avora backend stays hosted by Avora.

Watch this demo on YouTube.

  1. Install the CLI and start your reShapr instance using the reShapr setup guide. Its control plane and gateway must both be running.
  2. In Avora, open Share → Use in reShapr → reShapr CLI.
  3. Sign in with reshapr login --server YOUR_CONTROL_PLANE_URL, replacing the placeholder with your instance's administration API address. Use the credentials configured for that instance.
  4. Copy the import command from Avora and run it. The command already contains your OpenAPI and backend URLs.
  5. Copy the MCP URL and API key printed by the CLI.

The following example shows the command structure. Replace the illustrative addresses with your own, or use the command copied from Avora:

reshapr login --server 'https://control.example.com'

reshapr import \
  --url 'https://your-api.example.com/openapi.json' \
  --backendEndpoint 'https://your-api.example.com' \
  --apiKey

The control-plane URL is used to administer reShapr; it is different from the gateway URL your MCP client calls. For a local installation, use the control-plane port published by your installation. Plain reshapr login defaults to public Try Online, which is intended for evaluation and is not the target of this own-instance workflow.

The --apiKey option requests a protected MCP endpoint. If you import an existing Service again, reShapr may reuse its current Configuration Plan and security settings. Review those settings when changing the backend or access mode. See the CLI reference.

3. Create MCP with Your Own reShapr Instance

Use reShapr's Web UI to import the API and review the MCP configuration visually. The video demonstrates a local instance; the same steps apply to your own hosted instance.

Watch this demo on YouTube.

  1. Start your reShapr instance and gateway, then sign in to its Web UI. Follow the setup guide if needed.
  2. In Avora, open Share → Use in reShapr → reShapr UI.
  3. Copy the OpenAPI URL. In reShapr, open Quick Start → Import → Remote URL and paste it.
  4. Continue through Artifacts; no extra artifacts are needed for this basic setup.
  5. In Plan, paste Avora's Backend URL and review the operations to expose.
  6. In Expose, choose the endpoint's security and finish setup.
  7. Open MCP Servers and copy the generated MCP URL and any required connection credentials.

You can return to your reShapr instance to adjust the Configuration Plan and exposed tools. For APIs requiring backend credentials, configure them using the backend authentication guide.

The MCP URL must use the address and published port of your instance's gateway, not its Web UI or control plane. A localhost address works only for a client that can reach that local service. See the Web UI Quickstart.

Connect and Test Your MCP Client

An MCP endpoint is not a normal web page. Test it using MCP Inspector or another compatible client, rather than opening the URL in a browser.

SettingValue
TransportStreamable HTTP
Server URLThe MCP URL generated by Avora or your reShapr instance
Header name, if API-key protection is enabledx-reshapr-key
Header valueThe generated API key

For a public endpoint, no API-key header is needed. If you chose a different security mode in your own reShapr instance, use that mode's client configuration.

Connect, list the tools, and call an operation that reads data. Then, if your API supports it, create a sample record, read it back, update it, and delete it. This checks tool discovery and the underlying backend together. See reShapr's MCP endpoint testing guide.

An API key protects access to the MCP tools. It does not add authentication to the original backend API or limit an authorized client to read-only operations. Send it as a header and keep it out of URLs.

Update or Disable Your Endpoint

For an Avora-managed endpoint:

  • API or preview changed: finish updating the preview, then select Update MCP when prompted.
  • Preview stopped or expired: MCP access is blocked. Start a preview and refresh the MCP setup before reconnecting.
  • Disable access: select Disable in the MCP section. An already-running request may finish.
  • Change public/protected access: disable the endpoint, choose the new setting, and create it again. Recreating a protected endpoint generates a new key; update your client.

For your own reShapr instance, manage the Service, Configuration Plan, and Exposition there. Reimport an updated OpenAPI definition and review the backend URL when your API changes. The Avora preview must still be running for backend calls to work.

Managed MCP Access and Limits

These limits apply to the Avora-hosted option. They do not restrict the Share instructions for your own reShapr CLI or Web UI.

  • Your allowance counts active MCP endpoints across your workspaces, with one endpoint per workspace. Updates and retries reuse that workspace's slot.
  • Disabling an endpoint or letting its preview expire frees capacity. Active capacity does not reset monthly.
  • Administrators set Active MCP endpoints in Admin → Plans or on an invitation link. A value of 0 disables managed MCP access. Assigned plans use their current allowance; otherwise, an invitation package retains its saved allowance. Administrator accounts retain unrestricted access.
  • The trial exposes up to 30 public API operations, including supported write operations. Routes requiring backend authentication are excluded because this option does not configure backend credentials.
  • Request and concurrency limits protect the shared service. If your client receives HTTP 429, wait before retrying.

Troubleshooting

ProblemWhat to check
The managed MCP section is missingOpen your own workspace and wait for its preview to be Ready.
Your plan does not include MCP, or the limit is reachedCheck the plan or invitation allowance; disable an unused endpoint to free capacity.
Managed MCP is temporarily unavailableThe shared service may be disabled or being configured. Retry later, or use your own instance.
No public operations are availableAdd a public API operation and redeploy, or configure backend authentication in your own instance.
Access is deniedCheck endpoint security, the API-key header, preview status, and whether access was disabled.
Tools are outdatedUpdate the preview and MCP setup; in your own instance, review the imported definition and Plan.
Opening the MCP URL in a browser failsTest with Streamable HTTP in an MCP client. If it also fails, check the gateway address and Exposition.
A client reports Exposition not foundCheck that the Exposition exists and is available on the intended gateway. For Avora-managed MCP, contact support if refreshing setup does not resolve it.
CLI import succeeds but Plan creation returns HTTP 500Check the selected control-plane URL. Import succeeded; the reShapr operator needs the server logs to diagnose plan creation.

© 2026 Avora. All rights reserved.