Installation
Quick Start with npx
The fastest way to get started is usingnpx:
Client Configuration
For most MCP clients, you’ll need to add configuration to their settings. Here’s a typical configuration:Cursor Setup
VS Code Setup
Open the Command Palette and select “MCP: Open User Configuration”, then add the server configuration.Claude Code Setup
Run this command in your terminal:Tool Exposure Modes
The MCP server supports three different modes for exposing API functionality:1. Explicit Tools (Default)
Exposes one tool per API endpoint. This provides the most accurate schema information but can be overwhelming for large APIs.2. Dynamic Tools
Exposes three meta-tools that allow the AI to discover and invoke endpoints dynamically:list_api_endpoints- Discovers available endpoints with optional filteringget_api_endpoint_schema- Gets detailed schema for a specific endpointinvoke_api_endpoint- Executes any endpoint with the appropriate parameters
3. Code Execution Mode
Exposes two tools for more complex workflows:search_docs- Searches the API documentationexecute- Runs TypeScript code against the Dedalus client
Filtering Tools
For large APIs, you can filter which tools are exposed:By Resource
By Operation Type
By Tool Name
List Available Tools
Client Compatibility
Different MCP clients have varying capabilities. Configure for your client:claude- Claude Desktop and Claude Codecursor- Cursor IDEopenai-agents- OpenAI Agents APIclaude-code- Claude Code specifically
Custom Capabilities
Override specific capabilities:top-level-unions- Support for top-level unions in schemasvalid-json- Enable JSON string parsing for argumentsrefs- Support for $ref pointers in schemasunions- Support for union types (anyOf)formats- Support for format validations (e.g., date-time, email)tool-name-length=N- Maximum tool name length
Remote MCP Server
Run the MCP server as a remote HTTP service:Authorization
Provide authorization via headers:Authorization: Bearer <token>x-dedalus-api-key: <key>x-api-key: <key>
Query Parameters
Filtering options can be passed as URL query parameters:Unix Socket
Programmatic Usage
Import and customize the server in your own code:Custom Endpoints
Custom Client Options
Available Tools
The MCP server exposes the following API resources:Models
retrieve_models- Get details about a specific modellist_models- List all available models
Chat Completions
create_chat_completions- Create a chat completion with support for streaming, tools, and multi-model handoffs
Embeddings
create_embeddings- Generate embeddings for text
Audio
create_audio_speech- Generate speech from textcreate_audio_transcriptions- Transcribe audio to textcreate_audio_translations- Translate audio to English text
Images
generate_images- Generate images from text promptsedit_images- Edit images using inpaintingcreate_variation_images- Create variations of an image
Environment Variables
Required:DEDALUS_API_KEY- Your Dedalus API key
DEDALUS_ENVIRONMENT- Environment (production, development)DEDALUS_BASE_URL- Custom API base URLDEDALUS_X_API_KEY- Alternative API key headerDEDALUS_ORG_ID- Organization IDDEDALUS_PROVIDER- Provider nameDEDALUS_PROVIDER_KEY- Provider-specific keyDEDALUS_PROVIDER_MODEL- Default provider modelDEDALUS_LOG- Log level (debug, info, warn, error, off)
Troubleshooting
Server Not Starting
- Verify your API key is set:
- Check the server logs:
No Tools Available
If your filters are too restrictive:Client Connection Issues
Ensure your client configuration matches the transport:- For stdio: Use
commandandargs - For HTTP: Use
urlandheaders