Skip to main content
Sevalla’s Model Context Protocol (MCP) server enables AI agents to interact with the Sevalla platform programmatically through natural language. Instead of relying on traditional SDKs or pre-built integrations, AI agents can dynamically discover and call the Sevalla API endpoints as needed. The MCP server provides a secure execution environment where AI-generated JavaScript runs inside a sandboxed V8 isolate, ensuring that API calls can be performed safely without exposing your infrastructure or credentials. At its core, the MCP server exposes two tools:
  • search – Allows the AI agent to query the Sevalla OpenAPI specification to discover available endpoints, parameters, and schemas.
  • execute – Runs JavaScript inside the secure V8 sandbox, enabling the agent to construct and execute API requests dynamically.
This architecture follows the Code Mode MCP pattern, inspired by Cloudflare’s solution. Rather than registering a separate tool for every API endpoint, the pattern provides just two general-purpose tools: one for exploring the API specification and another for executing code against it. This dramatically reduces complexity while giving AI agents full flexibility to work with large APIs. With this setup, any MCP-compatible client can manage the Sevalla infrastructure through conversation. The AI agent automatically discovers available API endpoints and generates the necessary calls in real time—without requiring SDKs, boilerplate code, or hundreds of predefined tools. Sevalla’s hosted MCP server can be connected directly to popular MCP-enabled development environments, including: Authentication is handled through OAuth, so you don’t need to embed API keys in configuration files. Once connected, your AI agent can safely explore the API and perform actions on your behalf, allowing you to manage applications, services, and infrastructure through a conversational interface.

Quick start

1

Connect your MCP client to the Sevalla MCP server

Connect your MCP client to the hosted server at https://mcp.sevalla.com/mcp.
2

Authenticate

Authentication is handled automatically via OAuth. When your client connects, a browser window opens so you can sign in to your Sevalla account and authorize the connection. No API keys or credentials need to be added to your configuration.
For details on how to connect using a specific AI client, refer to one of the following:

Uninstall the Sevalla MCP server

To fully remove the Sevalla MCP server, delete the server configuration and clear stored OAuth credentials in your AI client. Removing the MCP server does not delete your API key on Sevalla. To revoke it, go to app.sevalla.com/api-keys. For details on how to uninstall for a specific AI client, refer to one of the following: