# Delete MCP Configuration div strong 🔨 In Development — This section is still being developed and may change. Permanently delete an MCP configuration. This action cannot be undone. Deletes an MCP configuration and removes all sharing permissions. Active API requests using this configuration will continue to work until completion, but new requests cannot reference the deleted configuration. **Warning:** This action is irreversible. Consider archiving or making the configuration private instead of deleting if you may need it later. #### Path Parameters **`id`** string required The ID of the MCP configuration to delete. Example: `mcp_config_abc123`. Request ```bash curl -X DELETE https://api.freddy.aitronos.com/v1/mcp/configurations/mcp_config_abc123 \ -H "Authorization: Bearer $FREDDY_API_KEY" ``` ```python import requests response = requests.delete( "https://api.freddy.aitronos.com/v1/mcp/configurations/mcp_config_abc123", headers={"Authorization": f"Bearer {api_key}"} ) if response.status_code == 200: result = response.json() print(f"Deleted: {result['deleted']}") ``` ```javascript const response = await fetch( 'https://api.freddy.aitronos.com/v1/mcp/configurations/mcp_config_abc123', { method: 'DELETE', headers: { 'Authorization': `Bearer ${apiKey}` } } ); const result = await response.json(); console.log(`Deleted: ${result.deleted}`); ``` ## Response 200 OK ```json { "id": "mcp_config_abc123", "object": "mcp.configuration", "deleted": true } ``` Errors ```json { "error": { "type": "not_found_error", "message": "MCP configuration not found", "code": "resource_not_found", "param": "id" } } ``` ```json { "error": { "type": "permission_error", "message": "You don't have permission to delete this configuration", "code": "insufficient_permissions" } } ``` ```json { "error": { "type": "conflict_error", "message": "Configuration is currently in use by 3 active requests", "code": "resource_in_use", "details": { "activeRequests": 3, "requestIds": ["req_123", "req_456", "req_789"] } } } ```